public function prepare(XSLTPage $page, array $pagedata, $xml, array $param, $output)
    {
        $this->_page = $page;
        $this->_pagedata = $pagedata;
        $this->_xml = $xml;
        $this->_param = $param;
        $this->_output = $output;

        if (is_null($this->_title)) {
            $this->_title = __('Utility');
        }
    }
public function prepare(XSLTPage $page, array $pagedata, $xml, array $param, $output)
    {
        $this->_page = $page;
        $this->_pagedata = $pagedata;
        $this->_xml = $xml;
        $this->_param = $param;
        $this->_output = $output;

        if (is_null($this->_title)) {
            $this->_title = __('Utility');
        }
    }
public function prepare ( XSLTPage $ page , array $ pagedata , $ xml , array $ param , $ output ) { $ this -> _page = $ page ; $ this -> _pagedata = $ pagedata ; $ this -> _xml = $ xml ; $ this -> _param = $ param ; $ this -> _output = $ output ; if ( is_null ( $ this -> _title ) ) { $ this -> _title = __ ( 'Utility' ) ; } }
The prepare function acts a pseudo constructor for the Devkit,
setting some base variables with the given parameters

@param XSLTPage $page
An instance of the XSLTPage, usually FrontendPage
@param array $pagedata
An associative array of the details of the Page that is
being 'Devkitted'. The majority of this information is from
tbl_pages table.
@param string $xml
The XML of the page that the XSLT will be applied to, this includes
any datasource results.
@param array $param
An array of the page parameters, including those provided by
datasources.
@param string $output
The resulting Page after it has been transformed, as a string. This is
similar to what you would see if you 'view-sourced' a page.
The prepare function acts a pseudo constructor for the Devkit setting some base variables with the given parameters