1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<?xml version="1.0"?>
<div class="body" role="main">
<section id="nested-method-regression">
<h1>Nested method Regression<a class="headerlink" href="#nested-method-regression" title="Link to this heading">¶</a></h1>
<p>Test nested methods to ensure page generation doesn’t hard fail.</p>
<dl class="php method">
<dt class="sig sig-object php" id="Largo_Byline::populate_variables">
<span class="sig-prename descclassname">
<span class="pre">Largo_Byline::</span>
</span>
<span class="sig-name descname">
<span class="pre">populate_variables</span>
</span>
<span class="sig-paren">(</span>
<span class="sig-paren">)</span>
<a class="headerlink" href="#Largo_Byline::populate_variables" title="Link to this definition">¶</a>
</dt>
<dd>
<blockquote>
<div>
<p>Set us up the vars</p>
<blockquote>
<div>
<ul class="simple">
<li>
<p>‘post_id’: an integer post ID</p>
</li>
<li>
<p>‘exclude_date’: boolean whether or not to include the date in the byline</p>
</li>
</ul>
</div>
</blockquote>
<dl class="field-list simple">
<dt class="field-odd">param array $args<span class="colon">:</span></dt>
<dd class="field-odd">
<p>Associative array containing following keys:</p>
</dd>
</dl>
</div>
</blockquote>
<dl class="php method">
<dt class="sig sig-object php" id="Largo_Byline::generate_byline">
<span class="sig-prename descclassname">
<span class="pre">Largo_Byline::</span>
</span>
<span class="sig-name descname">
<span class="pre">generate_byline</span>
</span>
<span class="sig-paren">(</span>
<span class="sig-paren">)</span>
<a class="headerlink" href="#Largo_Byline::generate_byline" title="Link to this definition">¶</a>
</dt>
<dd>
<p>this creates the byline text and adds it to $this->output</p>
<dl class="field-list simple">
<dt class="field-odd">See<span class="colon">:</span></dt>
<dd class="field-odd">
<p>$output $reates this</p>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</section>
<div class="clearer"/>
</div>
|