Requests_Utility_CaseInsensitiveDictionary::offsetGet() public WP 1.0
Get the value for the item
{} Это метод класса: Requests_Utility_CaseInsensitiveDictionary{}
Хуков нет.
Возвращает
Строку. Item value
Использование
$Requests_Utility_CaseInsensitiveDictionary = new Requests_Utility_CaseInsensitiveDictionary(); $Requests_Utility_CaseInsensitiveDictionary->offsetGet( $key );
- $key(строка) (обязательный)
- Item key
Код Requests_Utility_CaseInsensitiveDictionary::offsetGet() Requests Utility CaseInsensitiveDictionary::offsetGet WP 5.6.2
public function offsetGet($key) {
$key = strtolower($key);
if (!isset($this->data[$key])) {
return null;
}
return $this->data[$key];
}