PHP Класс WPSEO_Admin_Banner_Renderer, wordpress-seo

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$base_path string

Открытые методы

Метод Описание
render ( WPSEO_Admin_Banner $banner ) : string Renders the admin banner.
set_base_path ( string $base_path ) Sets the base path, where the images are located.

Защищенные методы

Метод Описание
get_image_path ( string $image ) : string Returns the full path for the image.

Описание методов

get_image_path() защищенный Метод

Returns the full path for the image.
protected get_image_path ( string $image ) : string
$image string The image path.
Результат string

render() публичный Метод

Renders the admin banner.
public render ( WPSEO_Admin_Banner $banner ) : string
$banner WPSEO_Admin_Banner The banner to render.
Результат string

set_base_path() публичный Метод

Sets the base path, where the images are located.
public set_base_path ( string $base_path )
$base_path string The image location.

Описание свойств

$base_path защищенное свойство

protected string $base_path
Результат string