PHP Class Corcel\TermTaxonomyBuilder

Inheritance: extends Illuminate\Database\Eloquent\Builder
ファイルを表示 Open project: jgrossi/corcel Class Usage Examples

Public Methods

Method Description
category ( ) : Corcel\TermTaxonomyBuilder Set taxonomy type to category
menu ( ) : Corcel\TermTaxonomyBuilder Set taxonomy type to nav_menu
posts ( ) : Corcel\TermTaxonomyBuilder Add posts to the relationship builder
slug ( $slug = null ) : TermTaxonomyBuilder Get a term taxonomy by specific slug

Method Details

category() public method

Set taxonomy type to category
public category ( ) : Corcel\TermTaxonomyBuilder
return Corcel\TermTaxonomyBuilder

menu() public method

Set taxonomy type to nav_menu
public menu ( ) : Corcel\TermTaxonomyBuilder
return Corcel\TermTaxonomyBuilder

posts() public method

Add posts to the relationship builder
public posts ( ) : Corcel\TermTaxonomyBuilder
return Corcel\TermTaxonomyBuilder

slug() public method

Get a term taxonomy by specific slug
public slug ( $slug = null ) : TermTaxonomyBuilder
return TermTaxonomyBuilder