Пример #1
0
 /**
  * @return \UserModel
  */
 public function __construct()
 {
     parent::__construct('User', 'users');
     $this->Id = 0;
     $this->Role = '';
 }
 /**
  * @return \CommentModel
  */
 public function __construct()
 {
     parent::__construct('Comment', 'comments');
     $this->Id = 0;
 }
Пример #3
0
 /**
  * @return \RoleModel
  */
 public function __construct()
 {
     parent::__construct('Role', 'user_role');
 }
 /**
  * @return \CategoryModel
  */
 public function __construct()
 {
     parent::__construct('Category', 'categories');
     $this->Id = 0;
 }
Пример #5
0
 /**
  * @return \LOCModel
  */
 public function __construct()
 {
     parent::__construct('LOC', 'list_of_categories');
     $this->Id = 0;
 }
Пример #6
0
 /**
  * @return \NewsModel
  */
 public function __construct()
 {
     parent::__construct('News', 'news');
     $this->Id = 0;
 }