<?php
/***************************************************************************
- * Copyright (C) 2003-2011 Polytechnique.org *
+ * Copyright (C) 2003-2014 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
private $fieldtype;
private $exact;
- public function __construct($val, $fieldtype, $exact = true, $type = null, $flags = self::FLAG_ANY)
+ public function __construct($val, $fieldtype, $type = null, $flags = self::FLAG_ANY)
{
if (!in_array($fieldtype, self::$components)) {
Platal::page()->killError('Invalid address field type: ' . $this->fieldtype);
}
- $flags = 0x20;
parent::__construct($type, $flags);
if (!is_array($val)) {
$val = array($val);
}
$this->val = $val;
$this->fieldtype = $fieldtype;
- $this->exact = $exact;
}
public function buildCondition(PlFilter $uf)
}
// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>