コード例 #1
0
ファイル: RecordWrapper.php プロジェクト: ntentan/nibii
 public function __construct(DriverAdapter $adapter)
 {
     $this->table = Nibii::getModelTable($this);
     $this->adapter = $adapter;
     foreach ($this->behaviours as $behaviour) {
         $behaviourInstance = $this->getComponentInstance($behaviour);
         $behaviourInstance->setModel($this);
     }
 }