PHP 클래스 OpenGraph\Meta

파일 보기 프로젝트 열기: benjamminf/craft-embedded-assets

보호된 프로퍼티들

프로퍼티 타입 설명
$_content Mixed
$_property String

공개 메소드들

메소드 설명
__construct ( String $property, String $content ) : Meta
getContent ( ) : String Get content
getProperty ( ) : String Get property name
render ( ) : String Render meta tag
setContent ( String $content ) : Meta Set content
setProperty ( String $property ) : Meta Set property

메소드 상세

__construct() 공개 메소드

public __construct ( String $property, String $content ) : Meta
$property String
$content String
리턴 Meta

getContent() 공개 메소드

Get content
public getContent ( ) : String
리턴 String

getProperty() 공개 메소드

Get property name
public getProperty ( ) : String
리턴 String

render() 공개 메소드

Render meta tag
public render ( ) : String
리턴 String

setContent() 공개 메소드

Set content
public setContent ( String $content ) : Meta
$content String
리턴 Meta

setProperty() 공개 메소드

Set property
public setProperty ( String $property ) : Meta
$property String
리턴 Meta

프로퍼티 상세

$_content 보호되어 있는 프로퍼티

protected Mixed $_content
리턴 Mixed

$_property 보호되어 있는 프로퍼티

protected String $_property
리턴 String