Lines Matching defs:key

1444      * Set element/attribute key/value pairs of HTML attributes
1452 * @param array|null $element_attribute Element/attribute key/value pairs, null for default
2352 * @param int $key The category that you want to return. Remember that arrays begin with 0, not 1
2355 public function get_category($key = 0)
2358 if (isset($categories[$key])) {
2359 return $categories[$key];
2421 * @param int $key The author that you want to return. Remember that arrays begin with 0, not 1
2424 public function get_author($key = 0)
2427 if (isset($authors[$key])) {
2428 return $authors[$key];
2500 * @param int $key The contrbutor that you want to return. Remember that arrays begin with 0, not 1
2503 public function get_contributor($key = 0)
2506 if (isset($contributors[$key])) {
2507 return $contributors[$key];
2570 * @param int $key The link that you want to return. Remember that arrays begin with 0, not 1
2574 public function get_link($key = 0, $rel = 'alternate')
2577 if (isset($links[$key])) {
2578 return $links[$key];
2588 * Identical to {@see get_link()} with key 0
2640 foreach ($keys as $key) {
2641 if ($this->registry->call(Misc::class, 'is_isegment_nz_nc', [$key])) {
2642 if (isset($this->data['links'][self::IANA_LINK_RELATIONS_REGISTRY . $key])) {
2643 $this->data['links'][self::IANA_LINK_RELATIONS_REGISTRY . $key] = array_merge($this->data['links'][$key], $this->data['links'][self::IANA_LINK_RELATIONS_REGISTRY . $key]);
2644 $this->data['links'][$key] =& $this->data['links'][self::IANA_LINK_RELATIONS_REGISTRY . $key];
2646 $this->data['links'][self::IANA_LINK_RELATIONS_REGISTRY . $key] =& $this->data['links'][$key];
2648 } elseif (substr($key, 0, 41) === self::IANA_LINK_RELATIONS_REGISTRY) {
2649 $this->data['links'][substr($key, 41)] =& $this->data['links'][$key];
2651 $this->data['links'][$key] = array_unique($this->data['links'][$key]);
2967 * @param int $key The item that you want to return. Remember that arrays begin with 0, not 1
2970 public function get_item($key = 0)
2973 if (isset($items[$key])) {
2974 return $items[$key];
3006 foreach ($keys as $key) {
3007 $this->data['items'][] = $this->registry->create(Item::class, [$this, $items[$key]]);
3012 foreach ($keys as $key) {
3013 $this->data['items'][] = $this->registry->create(Item::class, [$this, $items[$key]]);
3018 foreach ($keys as $key) {
3019 $this->data['items'][] = $this->registry->create(Item::class, [$this, $items[$key]]);
3024 foreach ($keys as $key) {
3025 $this->data['items'][] = $this->registry->create(Item::class, [$this, $items[$key]]);
3030 foreach ($keys as $key) {
3031 $this->data['items'][] = $this->registry->create(Item::class, [$this, $items[$key]]);