Example #1
0
 public function process()
 {
     $argList = func_get_args();
     $section = $argList[0];
     $this->_section = $section;
     parent::process();
 }
Example #2
0
 /**
  *
  * @dataProvider providerTestFetch
  *
  * @param Miao_Office_ViewBlock $viewBlock
  * @param array $templates
  * @param unknown_type $expected
  * @param unknown_type $exception
  */
 public function testFetch($viewBlock, $templates, $expected, $exception = '')
 {
     $viewBlock->process();
     $actual = $viewBlock->fetch($templates);
     $this->assertEquals($expected, $actual);
 }