Lines Matching refs:flags
22 const USE_KEY = 0x00000001; /**< If present in $flags the key is
34 private $flags; /**< special flags (self::USE_KEY) */
35 private $preg_flags;/**< PREG_* flags, see preg_match(), preg_match_all(),
48 * @param flags special flags (self::USE_KEY)
49 * @param preg_flags global PREG_* flags, see preg_match(),
52 function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) {
55 $this->flags = $flags;
61 * Match current or key against regular expression using mode, flags and
74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current;
95 if ($this->flags & self::USE_KEY)
134 /** @return current operation flags
138 return $this->flags;
141 /** @param flags new operaion flags
143 function setFlags($flags)
145 $this->flags = $flags;
148 /** @return current PREG flags
155 /** @param preg_flags new PREG flags