protected function _include($template, $data = NULL)
    {
        // Merge local data with global data
        $data = isset($data) ? array_merge($this->_data, $data) : $this->_data;
        // Compile and run template
        $compiled = $this->_compile($template);

        return $this->_run($compiled, $data);
    }
protected function _include($template, $data = NULL)
    {
        // Merge local data with global data
        $data = isset($data) ? array_merge($this->_data, $data) : $this->_data;
        // Compile and run template
        $compiled = $this->_compile($template);

        return $this->_run($compiled, $data);
    }
protected function _include ( $ template , $ data = NULL ) { // Merge local data with global data $ data = isset ( $ data ) ? array_merge ( $ this -> _data , $ data ) : $ this -> _data ; // Compile and run template $ compiled = $ this -> _compile ( $ template ) ; return $ this -> _run ( $ compiled , $ data ) ; }
Get a template content for use inside the current template. Inherits
all global data, combined with local data passed as second argument.

@param string $template
@param array  $data

@return string
Get a template content for use inside the current template . Inherits all global data combined with local data passed as second argument .