PHP 클래스 WPSEO_Admin_Banner, wordpress-seo

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

공개 메소드들

메소드 설명
__construct ( string $url, string $image, integer $width, integer $height, string $alt = '' ) Sets the attributes for this object.
get_alt ( ) : string Returns the alt-text.
get_height ( ) : string Returns the height.
get_image ( ) : string Returns the image.
get_url ( ) : string Returns the set url.
get_width ( ) : string Returns the width.

메소드 상세

__construct() 공개 메소드

Sets the attributes for this object.
public __construct ( string $url, string $image, integer $width, integer $height, string $alt = '' )
$url string The URL where the banner links to.
$image string The image filename.
$width integer The width of the image.
$height integer The height of the image.
$alt string The alt text for the image.

get_alt() 공개 메소드

Returns the alt-text.
public get_alt ( ) : string
리턴 string

get_height() 공개 메소드

Returns the height.
public get_height ( ) : string
리턴 string

get_image() 공개 메소드

Returns the image.
public get_image ( ) : string
리턴 string

get_url() 공개 메소드

Returns the set url.
public get_url ( ) : string
리턴 string

get_width() 공개 메소드

Returns the width.
public get_width ( ) : string
리턴 string