00001 <?php 00002 00009 class SSurvey extends SModel { 00010 00011 protected $reviewId; 00012 00021 public function __construct($id = "") { 00022 // if (parent::__construct($id) === false) return false; 00023 parent::__construct($id); 00024 $this->setEntity('review'); 00025 } 00026 00034 public function getAttributes() { 00035 return array('reviewId'); 00036 } 00037 00045 public function getUniqueAttributes() { 00046 return array('reviewId'); 00047 } 00048 00056 public function getEntity() { 00057 return 'review'; 00058 } 00059 } 00060 00061 ?>
1.5.6