public static function &getInstance()
 {
     if (self::$_instance === null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #2
0
 public function getPropRemarkNum($userId, $propId)
 {
     $count = Model_Fyk_UserPropsRemark::getInstance()->getPropRemarkNum($userId, $propId);
     return $count;
 }