コード例 #1
0
 function startCase()
 {
     $this->Enum =& new EnumerableBehavior();
     $this->Job =& new EnumerableJob();
     $this->Enum->setup($this->Job, array());
     parent::startCase();
 }
コード例 #2
0
 /**
  * startCase method
  *
  * @access public
  * @return void
  */
 function startCase()
 {
     $this->Enum =& new EnumerableBehavior();
     $this->Job =& new EnumerableCacheJob();
     $this->Enum->setup($this->Job, array('cache' => true, 'cacheName' => 'enumerable_test'));
     parent::startCase();
 }
コード例 #3
0
 function startCase()
 {
     parent::startCase();
     $this->Play = ClassRegistry::init('Play');
     $this->PlayTranslation = ClassRegistry::init('PlayTranslation');
     $this->Author = ClassRegistry::init('Author');
     $this->AuthorTranslation = ClassRegistry::init('AuthorTranslation');
     $this->Image = ClassRegistry::init('Image');
     $this->Video = ClassRegistry::init('Video');
     $this->Bioinfo = ClassRegistry::init('Bioinfo');
     $this->BioinfoTranslation = ClassRegistry::init('BioinfoTranslation');
     $this->Advertisement = ClassRegistry::init('Advertisement');
     $this->AdvertisementTranslation = ClassRegistry::init('AdvertisementTranslation');
     $this->Scenario = ClassRegistry::init('Scenario');
     $this->ScenarioTranslation = ClassRegistry::init('ScenarioTranslation');
     $this->Tag = ClassRegistry::init('Tag');
     $this->TagTranslation = ClassRegistry::init('TagTranslation');
     $this->PlaysTag = ClassRegistry::init('PlaysTag');
 }
コード例 #4
0
 public function startCase()
 {
     $this->Auth = new MockModularAuthComponent();
     $this->Controller = new MockController();
     parent::startCase();
 }
コード例 #5
0
 function startCase()
 {
     parent::startCase();
     $this->_reset();
 }
 public function startCase()
 {
     parent::startCase();
     $this->logMethodCall(__FUNCTION__);
 }