>-&gt;</span><span class="na">generate</span><span class="p">();</span>
</pre></div>
</div>
<p>Using the array method, you will pass <cite>key =&gt; value</cite> pairs. You can pass as
many or as few values as you&#8217;d like. Omitted keys will use the default values
inherited in the calendar class.</p>
<p>Example:</p>
<div class="highlight-ci"><div class="highlight"><pre><span class="nv">$prefs</span><span class="p">[</span><span class="s1">&#39;template&#39;</span><span class="p">]</span> <span class="o"