Lines Matching refs:allowed_types
542 function __construct($allowed_types) argument
544 $this->allowed_types = [];
545 $this->setAllowedTypes($allowed_types);
553 * @param array $allowed_types
556 function setAllowedTypes($allowed_types) argument
558 foreach ($allowed_types as $pair) {
565 $this->allowed_types = $allowed_types;
581 if ($this->allowed_types === null) {
582 $this->allowed_types = [];
597 $this->allowed_types[] = [$assoc_type, $session_type];
610 $this->allowed_types);
624 if (!$this->allowed_types) {
628 return $this->allowed_types[0];