예제 #1
0
 public function __construct($field, $error_message, PDO $pdo, $table, $primary_key = 'id')
 {
     parent::__construct($field, $error_message);
     $this->pdo = $pdo;
     $this->primary_key = $primary_key;
     $this->table = $table;
 }
예제 #2
0
파일: Exists.php 프로젝트: cs-team/miniflux
 public function __construct($field, $error_message, PDO $pdo, $table, $key = '')
 {
     parent::__construct($field, $error_message);
     $this->pdo = $pdo;
     $this->table = $table;
     $this->key = $key;
 }
예제 #3
0
파일: Date.php 프로젝트: cs-team/miniflux
 public function __construct($field, $error_message, array $formats)
 {
     parent::__construct($field, $error_message);
     $this->formats = $formats;
 }