Example #1
0
	/**
	 * Очищает очередь страниц
	 */
	public function clear()
	{
		parent::clear();

		$this->content = null;
		$this->structure = array();
	}
Example #2
0
 /**
  * It adds parameters of passed object to the current list.
  * Identical params in the current object would be overwritten 
  * by the new.
  *
  * @param TemplateParams object to be merged
  * @return null
  */
 function merge(TemplateParams $t)
 {
     foreach ($t->attr() as $k => $v) {
         if ($v instanceof TemplateParam) {
             $this->properties[$k] = $v;
         }
     }
 }