3ev Core Wordpress library API
  • Namespace
  • Class

Namespaces

  • Tev
    • Application
      • Bootstrap
    • Author
      • Model
    • Contracts
    • Database
      • CustomTables
    • Field
      • Model
      • Util
    • Plugin
      • Action
      • Shortcode
    • Post
      • Model
      • Repository
    • Taxonomy
      • Model
      • Repository
    • Term
      • Model
      • Repository
    • Util
    • View
      • Exception
  • None

Classes

  • TermRepository

Class TermRepository

Term repository class.

Provides methods for retrieving terms from the database.

Namespace: Tev\Term\Repository
Located at Tev/Term/Repository/TermRepository.php

Methods summary

public
# __construct( Tev\Taxonomy\Factory $taxonomyFactory, Tev\Term\Factory $termFactory )

Constructor.

Constructor.

Inject dependencies.

Parameters

$taxonomyFactory
Taxonomy factory
$termFactory
Term factory
public Tev\Term\Model\Term[]
# getByTaxonomy( string|Tev\Taxonomy\Model\Taxonomy $taxonomy )

Get all terms in the given taxonomy.

Get all terms in the given taxonomy.

Parameters

$taxonomy
Taxonomy object or name

Returns

Tev\Term\Model\Term[]
3ev Core Wordpress library API API documentation generated by ApiGen