src/Template.php
public function initiate($template = null, $data = null, $templateRootFolder = ERDIKO_APP)
    {
        $template = ($template === null) ? $this->getDefaultTemplate() : $template;
        $this->setTemplate($template);
        $this->setData($data);
        $this->setTemplateRootFolder($templateRootFolder);
    }
public function initiate($template = null, $data = null, $templateRootFolder = ERDIKO_APP)
    {
        $template = ($template === null) ? $this->getDefaultTemplate() : $template;
        $this->setTemplate($template);
        $this->setData($data);
        $this->setTemplateRootFolder($templateRootFolder);
    }
public function initiate ( $ template = null , $ data = null , $ templateRootFolder = ERDIKO_APP ) { $ template = ( $ template === null ) ? $ this -> getDefaultTemplate ( ) : $ template ; $ this -> setTemplate ( $ template ) ; $ this -> setData ( $ data ) ; $ this -> setTemplateRootFolder ( $ templateRootFolder ) ; }
Constructor like initiation
@param string $template , Theme Object (Contaier)
@param mixed $data
Constructor like initiation