コード例 #1
0
ファイル: ContentSet.php プロジェクト: ReissClothing/BackBee
 /**
  * {@inheritdoc}
  */
 protected function defineParam($var, $options = null)
 {
     parent::defineParam($var, $options);
     if ('accept' === $var) {
         if (null !== $options) {
             $this->_addAcceptedType($this->getParamValue('accept'));
             $this->setParam('accept', null);
         }
     }
     return $this;
 }