Yoast\WP\Lib

ORM::offsetExists()publicYoast 1.0ReturnTypeWillChange

Checks whether the data has the key.

Метод класса: ORM{}

Хуков нет.

Возвращает

true|false. Whether the data has the key.

Использование

$ORM = new ORM();
$ORM->offsetExists( $offset );
$offset(разное) (обязательный)
Key.

Код ORM::offsetExists() Yoast 22.4

public function offsetExists( $offset ) {
	return \array_key_exists( $offset, $this->data );
}