コード例 #1
0
ファイル: FeatureSet.php プロジェクト: liuxuezhan/my_tool
 public function addFeature(AbstractFeature $feature)
 {
     if ($this->tableGateway instanceof TableGatewayInterface) {
         $feature->setTableGateway($this->tableGateway);
     }
     $this->features[] = $feature;
     return $this;
 }
コード例 #2
0
ファイル: FeatureSet.php プロジェクト: Baft/Zend-Form
 public function addFeature(AbstractFeature $feature)
 {
     $this->features[] = $feature;
     $feature->setTableGateway($feature);
     return $this;
 }