示例#1
0
 /**
  * Set ZBlockView instance by name
  * @param string $a_name
  * @param ZViewBlock $a_block
  * @return ZController
  */
 public function &setBlock($a_name, ZViewBlock &$a_block)
 {
     $this->m_block[trim((string) $a_name)] = $a_block->setThis($this);
     return $this;
 }