11 Yii::import(
'system.test.CTestCase');
49 protected $fixtures=
false;
59 if(is_array($this->fixtures) && ($rows=$this->
getFixtureManager()->getRows($name))!==
false)
62 throw new Exception(
"Unknown property '$name' for class '".get_class($this).
"'.");
72 public function __call($name,$params)
74 if(is_array($this->fixtures) && isset($params[0]) && ($record=$this->
getFixtureManager()->getRecord($name,$params[0]))!==
false)
77 throw new Exception(
"Unknown method '$name' for class '".get_class($this).
"'.");
85 return Yii::app()->getComponent(
'fixture');
116 if(is_array($this->fixtures))