All pastes #742314 Raw Edit

Miscellany

public php v1 · immutable
·published 2007-10-19 12:27 UTC
rendered paste body
    /**     *     * Layout specification. Keys are...     *     * `tpl`     * : (string) Layout template file.     *     * `type`     * : (string) An ID to apply to the main container, which can specify its     *   size and other attributes.     *     * `cols`     * : (array) Up to two layout columns definitions. One should be     *   'layout_content', to include the $layout_view template, and the other     *   a template file to be rendered. They are included in the defined order.     *     * `cols_type`     * : (string) A class to apply to the main container, which can specify its     *   column sizes and other attributes.     *     * `top`     * : (string) Top content, placed above the main container.     *     * `header`     * : (string) Header content, placed in the start of the main container.     *     * `footer`     * : (string) Footer content, placed in the end of the main container.     *     * `bottom`     * : (string) Bottom content, placed below the main container.     *     * `body_attribs`     * : (array) Optional attributes for the <body> tag.     *     */    public $layout_body = array(        // Layout structure.        'tpl'            => 'yui-grids',        'type'           => 'doc3',        'cols'           => array('layout_content', 'sidebar.php'),        'cols_type'      => 'yui-t3',        // Main content structure.        'main_tpl'       => 'content',        'main_cols'      => null,        'main_cols_type' => null,        // Other layout parts.        'top'            => null,        'header'         => null,        'footer'         => null,        'bottom'         => null,        // Body tag.        'body_attribs'   => null,    );