예제 #1
0
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }
예제 #2
0
 /**
  * @covers wishlist\classes\BaseWishlist::_deinstall
  */
 public function test_deinstall()
 {
     $this->assertNull($this->object->_deinstall());
 }
예제 #3
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'Visible':
             return $this->getVisible();
         case 'Sharable':
             return $this->getSharable();
         case 'IsMine':
             return $this->getIsMine();
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }