Exemplo n.º 1
0
 public function __construct($table)
 {
     parent::__construct($table, Config::FORMAT_DATE);
 }
Exemplo n.º 2
0
 public static function getAllOnIDsFields($ids, $field)
 {
     $class = get_called_class();
     $select = new Select();
     $select->from($class::$table, "*")->whereIn($field, $ids);
     $data = self::$db->select($select);
     return AbstractObjectDb::buildMultiple($class, $data);
 }