コード例 #1
1
ファイル: contactsdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("name", "ValidateTitle");
     $this->add("ind", "ValidateMD");
     $this->add("address", "ValidateMK");
     $this->add("phone", "ValidateIMG");
     $this->add("email", "ValidateEmail");
     $this->add("inn", "ValidateText");
     $this->add("kpp", "ValidateText");
     $this->add("bik", "ValidateText");
     $this->add("rs", "ValidateText");
     $this->add("bank", "ValidateText");
     $this->add("ks", "ValidateText");
     $this->add("okpo", "ValidateText");
     $this->add("okato", "ValidateText");
     $this->add("ogrn", "ValidateText");
 }
コード例 #2
0
ファイル: groupdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("number", "ValidateText");
     $this->add("teacher_id", "ValidateID");
     $this->add("date_reg", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
 }
コード例 #3
0
ファイル: admindb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("login", "ValidateLogin");
     $this->add("email", "ValidateEmail");
     $this->add("password", "ValidatePassword");
 }
コード例 #4
0
ファイル: sliderdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("product_id", "ValidateID");
     $this->add("title", "ValidateText");
     $this->add("description", "ValidateText");
 }
コード例 #5
0
ファイル: collectivedb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("name`", "ValidateTitle");
     $this->add("post`", "ValidateTitle");
     $this->add("img", "ValidateIMG");
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("poll_data_id", "ValidateID");
     $this->add("ip", "ValidateIP", self::TYPE_IP, $this->getIP());
     $this->add("date", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
 }
コード例 #7
0
ファイル: purchasedb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("order_id", "ValidateID");
     $this->add("product_id", "ValidateID");
     $this->add("count", "ValidatePhone");
 }
コード例 #8
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("author", "ValidateTitle");
     //автор
     $this->add("text", "ValidateSmallText");
     //текст
 }
コード例 #9
0
ファイル: sectiondb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("title", "ValidateTitle");
     $this->add("meta_desc", "ValidateMD");
     $this->add("meta_key", "ValidateMK");
     $this->add("full_text", "ValidateText");
 }
コード例 #10
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("article_id", "ValidateID");
     $this->add("user_id", "ValidateID");
     $this->add("parent_id", "ValidateID");
     $this->add("text", "ValidateSmallText");
     $this->add("date", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
 }
コード例 #11
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("type", "ValidateID");
     $this->add("title", "ValidateTitle");
     $this->add("link", "ValidateURL");
     $this->add("parent_id", "ValidateID");
     $this->add("external", "ValidateBoolean");
 }
コード例 #12
0
ファイル: gallerydb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("view_id", "ValidateID");
     $this->add("title", "ValidateTitle");
     $this->add("img", "ValidateIMG");
     $this->add("meta_desc", "ValidateMD");
     $this->add("meta_key", "ValidateMK");
 }
コード例 #13
0
ファイル: admindb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("login", "ValidateLogin");
     $this->add("email", "ValidateEmail");
     $this->add("password", "ValidatePassword");
     $this->add("name", "ValidateName");
     $this->add("date_reg", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
     $this->add("activation", "ValidateActivation", null, $this->getKey());
 }
コード例 #14
0
ファイル: categorydb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("section_id", "ValidateID");
     $this->add("number", "ValidateID");
     $this->add("parent_number", "ValidateID");
     $this->add("title", "ValidateTitle");
     $this->add("meta_desc", "ValidateMD");
     $this->add("meta_key", "ValidateMK");
     $this->add("show", "ValidateBoolean");
 }
コード例 #15
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("title", "ValidateTitle");
     $this->add("img", "ValidateIMG");
     $this->add("intro", "ValidateText");
     $this->add("full", "ValidateText");
     $this->add("section_id", "ValidateID");
     $this->add("cat_id", "ValidateID");
     $this->add("date", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
     $this->add("meta_desc", "ValidateMD");
     $this->add("meta_key", "ValidateMK");
 }
コード例 #16
0
ファイル: coursedb_class.php プロジェクト: trukfit/htdocs
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("type", "ValidateCourseType");
     $this->add("header", "ValidateTitle");
     $this->add("sub_header", "ValidateTitle");
     $this->add("img", "ValidateIMG");
     $this->add("link", "ValidateURL");
     $this->add("text", "ValidateText");
     $this->add("did", "ValidateID");
     $this->add("latest", "ValidateBoolean");
     $this->add("section_ids", "ValidateIDs");
 }
コード例 #17
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("title", "ValidateTitle");
     //заголовок
     $this->add("img", "ValidateIMG");
     //картинка
     $this->add("description", "ValidateText");
     //текст
     $this->add("meta_desc", "ValidateMD");
     //описание в метатегах
     $this->add("meta_key", "ValidateMK");
     //ключевые слова
 }
コード例 #18
0
ファイル: productdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("category_id", "ValidateID");
     $this->add("img", "ValidateIMG");
     $this->add("video", "ValidateURL");
     $this->add("brand_id", "ValidateID");
     $this->add("price", "ValidatePrice");
     $this->add("title", "ValidateTitle");
     $this->add("full_text", "ValidateText");
     $this->add("meta_desc", "ValidateMD");
     $this->add("meta_key", "ValidateMK");
     $this->add("available", "ValidateBoolean");
 }
コード例 #19
0
ファイル: menudb_class.php プロジェクト: andreiBall/main-site
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("type", "ValidateID");
     //тип -аналог ID
     $this->add("title", "ValidateTitle");
     //заголовок
     $this->add("link", "ValidateURL");
     //ссылка
     $this->add("parent_id", "ValidateID");
     //
     $this->add("external", "ValidateBoolean");
     //
 }
コード例 #20
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("article_id", "ValidateID");
     //Id статьи
     $this->add("user_id", "ValidateID");
     //id пользователя
     $this->add("parent_id", "ValidateID");
     //id
     $this->add("text", "ValidateSmallText");
     //текст
     $this->add("date", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
     //дата
 }
コード例 #21
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("type", "ValidateCourseType");
     //тип курсов
     $this->add("header", "ValidateTitle");
     //заголовок
     $this->add("sub_header", "ValidateTitle");
     //заголовок
     $this->add("img", "ValidateIMG");
     //картинка
     $this->add("link", "ValidateURL");
     //ссылка
     $this->add("text", "ValidateText");
     //текст
     $this->add("did", "ValidateID");
     //идентификатор рассылки
     $this->add("latest", "ValidateBoolean");
     //новинка не новинка
     $this->add("section_ids", "ValidateIDs");
     //
 }
コード例 #22
0
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("title", "ValidateTitle");
     //заголовок
     $this->add("img", "ValidateIMG");
     //картинка
     $this->add("intro", "ValidateText");
     //введение
     $this->add("full", "ValidateText");
     //полный текст
     $this->add("section_id", "ValidateID");
     //ID секции
     $this->add("cat_id", "ValidateID");
     //ID категории
     $this->add("date", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
     //дата
     $this->add("meta_desc", "ValidateMD");
     //описание в метатегах
     $this->add("meta_key", "ValidateMK");
     //ключевые слова
 }
コード例 #23
0
ファイル: sefdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("link", "ValidateURI");
     $this->add("alias", "ValidateTitle");
 }
コード例 #24
0
ファイル: polldb_class.php プロジェクト: trukfit/htdocs
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("title", "ValidateTitle");
     $this->add("state", "ValidateBoolean", null, 0);
 }
コード例 #25
0
ファイル: studentdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("name", "ValidateName");
     $this->add("group_id", "ValidateID");
 }
コード例 #26
0
ファイル: imgdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("product_id", "ValidateID");
     $this->add("url", "ValidateIMG");
 }
コード例 #27
0
ファイル: deliverydb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("title", "ValidateTitle");
     $this->add("checked", "ValidateBoolean");
 }
コード例 #28
0
ファイル: polldatadb_class.php プロジェクト: trukfit/htdocs
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("poll_id", "ValidateID");
     $this->add("title", "ValidateTitle");
 }
コード例 #29
-1
ファイル: userdb_class.php プロジェクト: andreiBall/main-site
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("login", "ValidateLogin");
     //логин
     $this->add("email", "ValidateEmail");
     //почта
     $this->add("password", "ValidatePassword");
     //пароль
     $this->add("name", "ValidateName");
     //ФИО
     $this->add("avatar", "ValidateIMG");
     //аватарка
     $this->add("date_reg", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
     //дата регистрации
     $this->add("activation", "ValidateActivation", null, $this->getKey());
     //активироан ли пользователь
 }
コード例 #30
-3
ファイル: orderdb_class.php プロジェクト: kuaa59/www
 public function __construct()
 {
     parent::__construct(self::$table);
     $this->add("name", "ValidateTitle");
     $this->add("phone", "ValidatePhone");
     $this->add("email", "ValidateEmail");
     $this->add("address", "ValidateSmallText");
     $this->add("pay_id", "ValidateID");
     $this->add("delivery_id", "ValidateID");
     $this->add("summ", "ValidatePrice");
     $this->add("notice");
     $this->add("date_order", "ValidateDate", self::TYPE_TIMESTAMP, $this->getDate());
     $this->add("date_pay", "ValidateDate", self::TYPE_TIMESTAMP);
     $this->add("date_send", "ValidateDate", self::TYPE_TIMESTAMP);
 }