Overview

Namespaces

  • None
  • swag

Classes

  • H5pSwagifact
  • H5pUtil
  • SettingsPageController
  • ShortcodeUtil
  • SwagMapController
  • SwagPageController
  • Swagpath
  • SwagpathController
  • SwagpathSyncer
  • SwagPlugin
  • SwagPostItem
  • SwagTgmpaController
  • SwagTrack
  • SwagTrackController
  • SwagUser
  • Template
  • Xapi
  • Overview
  • Namespace
  • Class

Class SwagTrack

Represents a SwagTrack

Located at model/SwagTrack.php
Methods summary
public
# getId( )

Get id.

Get id.

public
# getTerm( )

Get underlying taxonomy term.

Get underlying taxonomy term.

public
# getDisplayColor( )

Get display color.

Get display color.

public
# getColor( )

Get color.

Get color.

public
# getParent( )

Get parent.

Get parent.

public static
# getByParentId( $parentTrackId )

Get children for a specified parent.

Get children for a specified parent.

public static
# getBySlug( $trackSlug )

Get by slug. Should we use term_id or term_taxonomy_id? What is term_taxonomy_id and where is it used?

Get by slug. Should we use term_id or term_taxonomy_id? What is term_taxonomy_id and where is it used?

public static
# getById( $trackId )

Get by id.

Get by id.

Constants summary
string DEFAULT_COLOR
# "#339933"
Swag API documentation generated by ApiGen