Yoast\WP\Lib
Abstract_Main::__isset()
Checks if the given property exists as a surface.
Метод класса: Abstract_Main{}
Хуков нет.
Возвращает
true|false
. True when property is set.
Использование
$Abstract_Main = new Abstract_Main(); $Abstract_Main->__isset( $property );
- $property(строка) (обязательный)
- The property to retrieve.
Код Abstract_Main::__isset() Abstract Main:: isset Yoast 24.1
public function __isset( $property ) { if ( \array_key_exists( $property, $this->cached_surfaces ) ) { return true; } $surfaces = $this->get_surfaces(); if ( ! isset( $surfaces[ $property ] ) ) { return false; } return $this->container->has( $surfaces[ $property ] ); }