Lines Matching refs:key
125 public function get_category($key = 0)
128 if (isset($categories[$key])) {
129 return $categories[$key];
179 public function get_author($key = 0)
182 if (isset($authors[$key])) {
183 return $authors[$key];
243 public function get_contributor($key = 0)
246 if (isset($contributors[$key])) {
247 return $contributors[$key];
298 public function get_link($key = 0, $rel = 'alternate')
301 if (isset($links[$key])) {
302 return $links[$key];
347 foreach ($keys as $key) {
348 if ($this->registry->call(Misc::class, 'is_isegment_nz_nc', [$key])) {
349 if (isset($this->data['links'][\SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY . $key])) {
350 $this->data['links'][\SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY . $key] = array_merge($this->data['links'][$key], $this->data['links'][\SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY . $key]);
351 $this->data['links'][$key] =& $this->data['links'][\SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY . $key];
353 $this->data['links'][\SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY . $key] =& $this->data['links'][$key];
355 } elseif (substr($key, 0, 41) === \SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY) {
356 $this->data['links'][substr($key, 41)] =& $this->data['links'][$key];
358 $this->data['links'][$key] = array_unique($this->data['links'][$key]);