Lines Matching refs:flags
25 private $flags;
40 * @param flags MIT_* flags
42 public function __construct($flags = self::MIT_NEED_ALL|self::MIT_KEYS_NUMERIC)
45 $this->flags = $flags;
48 /** @return current flags MIT_* */
51 return $this->flags;
54 /** @param $flags new flags. */
55 public function setFlags($flags)
57 $this->flags = $flags;
116 * @return whether all or one sub iterator is valid depending on flags.
128 // valid() calls as necessary and that only checks the flags once.
129 $expect = $this->flags & self::MIT_NEED_ALL ? true : false;
168 if ($this->flags & self::MIT_KEYS_ASSOC)
182 else if ($this->flags & self::MIT_NEED_ALL)
212 else if ($this->flags & self::MIT_NEED_ALL)