PHP 클래스 WPSEO_Admin_Banner_Renderer, wordpress-seo

파일 보기 프로젝트 열기: yoast/wordpress-seo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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