code/libraries/joomlatools/component/koowa/template/filter/chrome.php
public function filter(&$text)
    {
        $name = $this->getIdentifier()->package . '_' . $this->getIdentifier()->name;

        //Create a module object
        $module   	       = new KObject(new KObjectConfig());
        $module->id        = uniqid();
        $module->module    = 'mod_'.$name;
        $module->content   = $text;
        $module->position  = $name;
        $module->params    = 'moduleclass_sfx='.$this->_class;
        $module->showtitle = (bool) $this->_title;
        $module->title     = $this->_title;
        $module->user      = 0;

        $text = $this->getObject('mod://admin/koowa.html')->module($module)->attribs($this->_attribs)->styles($this->_styles)->render();

        return $this;
    }
public function filter(&$text)
    {
        $name = $this->getIdentifier()->package . '_' . $this->getIdentifier()->name;

        //Create a module object
        $module   	       = new KObject(new KObjectConfig());
        $module->id        = uniqid();
        $module->module    = 'mod_'.$name;
        $module->content   = $text;
        $module->position  = $name;
        $module->params    = 'moduleclass_sfx='.$this->_class;
        $module->showtitle = (bool) $this->_title;
        $module->title     = $this->_title;
        $module->user      = 0;

        $text = $this->getObject('mod://admin/koowa.html')->module($module)->attribs($this->_attribs)->styles($this->_styles)->render();

        return $this;
    }
public function filter ( & $ text ) { $ name = $ this -> getIdentifier ( ) -> package . '_' . $ this -> getIdentifier ( ) -> name ; //Create a module object $ module = new KObject ( new KObjectConfig ( ) ) ; $ module -> id = uniqid ( ) ; $ module -> module = 'mod_' . $ name ; $ module -> content = $ text ; $ module -> position = $ name ; $ module -> params = 'moduleclass_sfx=' . $ this -> _class ; $ module -> showtitle = ( bool ) $ this -> _title ; $ module -> title = $ this -> _title ; $ module -> user = 0 ; $ text = $ this -> getObject ( 'mod://admin/koowa.html' ) -> module ( $ module ) -> attribs ( $ this -> _attribs ) -> styles ( $ this -> _styles ) -> render ( ) ; return $ this ; }
Apply module chrome to the template output

@param string $text Block of text to parse
@return ComKoowaTemplateFilterChrome
Apply module chrome to the template output