예제 #1
0
파일: File.php 프로젝트: nabble/ajde
 public function getOverwrite()
 {
     if (!$this->hasOverwrite()) {
         $this->setOverwrite(false);
     }
     return parent::getOverwrite();
 }
예제 #2
0
파일: Icon.php 프로젝트: nabble/ajde
 public function getIconPackage()
 {
     if (parent::hasIconPackage()) {
         return $this->iconPackage(parent::getIconPackage());
     } else {
         return $this->iconPackage($this->defaultPackage);
     }
 }
예제 #3
0
 public function getExtensions()
 {
     if (!$this->hasSaveDir()) {
         // TODO:
         throw new Ajde_Exception('extensions not set for Ajde_Crud_Field_File');
     }
     return parent::getExtensions();
 }