示例#1
0
 public function getValue()
 {
     return parent::getValue() !== null ? parent::getValue() : $this->getVendor();
 }
示例#2
0
 function Setting($object = null)
 {
     parent::__construct($object);
 }
示例#3
0
 public function getPeer()
 {
     if (self::$peer === null) {
         self::$peer = new SettingPeer();
     }
     return self::$peer;
 }
示例#4
0
 /**
  * @param string $className
  *
  * @return CActiveRecord
  */
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }