Ejemplo n.º 1
0
 /**
  * TemplatePower::prepare()
  *
  * @return
  *
  * @access public
  */
 public function prepare()
 {
     if (!$this->serialized) {
         parent::__prepare();
     }
     $this->prepared = true;
     $this->index[TP_ROOTBLOCK] = 0;
     $this->__makeContentRoot();
 }
 /**
  * TemplatePower::prepare()
  *
  * @return
  *
  * @access public
  */
 function prepare()
 {
     if (!$this->serialized) {
         TemplatePowerParser::__prepare();
     }
     $this->prepared = true;
     $this->index[TP_ROOTBLOCK] = 0;
     $this->__makeContentRoot();
 }
Ejemplo n.º 3
0
 function doSerialize()
 {
     TemplatePowerParser::__prepare();
     $this->__serializeTPL();
 }