PHP 클래스 Habari\Tag

상속: extends Term
파일 보기 프로젝트 열기: habari/system

공개 메소드들

메소드 설명
__call ( string $name, array $args ) : mixed Handle calls to this Tag object that are implemented by plugins
__construct ( $params = [] )
create ( array $paramarray ) : Tag Create a tag and save it.
rewrite_tag_exists ( $rule, $slug, $parameters ) : boolean Check if a tag exists on a published post, to see if we should match this rewrite rule.

메소드 상세

__call() 공개 메소드

Handle calls to this Tag object that are implemented by plugins
public __call ( string $name, array $args ) : mixed
$name string The name of the function called
$args array Arguments passed to the function call
리턴 mixed The value returned from any plugin filters, null if no value is returned

__construct() 공개 메소드

public __construct ( $params = [] )

create() 공개 정적인 메소드

Create a tag and save it.
public static create ( array $paramarray ) : Tag
$paramarray array An associative array of tag fields
리턴 Tag The new Tag object

rewrite_tag_exists() 공개 정적인 메소드

Check if a tag exists on a published post, to see if we should match this rewrite rule.
public static rewrite_tag_exists ( $rule, $slug, $parameters ) : boolean
리턴 boolean Whether the tag exists on a published post.