コード例 #1
0
 public function getValue()
 {
     return parent::getValue() !== null ? parent::getValue() : $this->getVendor();
 }
コード例 #2
0
 function Setting($object = null)
 {
     parent::__construct($object);
 }
コード例 #3
0
ファイル: BaseSetting.php プロジェクト: royalterra/pdns-gui
 public function getPeer()
 {
     if (self::$peer === null) {
         self::$peer = new SettingPeer();
     }
     return self::$peer;
 }
コード例 #4
0
ファイル: Setting.php プロジェクト: GatuZa/test-app
 /**
  * @param string $className
  *
  * @return CActiveRecord
  */
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }