Lines Matching defs:options
64 protected $options;
145 * Gets the name (AttributeType) portion of the AttributeDescription, which excludes the options.
151 $this->options();
157 * Gets the full AttributeDescription (RFC 4512, 2.5), which contains the attribute type (name) and options.
163 return $this->getName() . ($this->options()->count() > 0 ? ';' . $this->options()->toString() : '');
200 * Gets the options within the AttributeDescription (semi-colon separated list of options).
206 return $this->options();
214 return ($this->options()->count() > 0);
235 * @param bool $strict If set to true, then options must also match.
240 $this->options();
241 $attribute->options();
251 # If strict is selected, or the attribute to be checked has explicit options, then the opposing attribute must too
284 * A one time check and load of any attribute options.
286 protected function options(): Options
288 if ($this->options !== null) {
289 return $this->options;
292 $this->options = new Options();
294 return $this->options;
296 $options = explode(';', $this->attribute);
297 $this->attribute = (string) array_shift($options);
298 $this->options = new Options(...$options);
300 return $this->options;