예제 #1
0
 public function testGetPageDataReturnsCompleteDataSetViaSetPageData()
 {
     $this->fixture->setPageData(array('foo' => 'bar'));
     self::assertEquals(array('foo' => 'bar'), $this->fixture->getPageData());
 }
예제 #2
0
파일: index.php 프로젝트: Konafets/seminars
 /**
  * Initializes some variables and also starts the initialization of the parent class.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->id = (int) $this->id;
 }