PHP Class APF_TaxonomyField

Demonstrates the usage of Admin Page Framework. http://en.michaeluno.jp/admin-page-framework/ Copyright (c) 2013-2016 Michael Uno; Licensed GPLv2
Inheritance: extends AdminPageFramework_TaxonomyField
Show file Open project: michaeluno/admin-page-framework

Public Methods

Method Description
_replyToSortByCustomOptionValue ( $oTermA, $oTermB )
cell_APF_TaxonomyField ( $sCellHTML, $sColumnSlug, $iTermID ) * ( optional ) output the stored option to the custom column
cell_APF_TaxonomyField_custom ( $sCellHTML, $iTermID )
columns_APF_TaxonomyField ( $aColumn )
do_APF_TaxonomyField ( ) * ( optional ) Use this method to insert your custom text.
replyToSortCustomColumn ( $aTerms, $aTaxonomies, $aArgs ) Customizes the sorting algorithm of a custom column.
setUp ( ) * ( optional ) Use the setUp() method to define settings of this taxonomy fields.
sortable_columns_APF_TaxonomyField ( $aColumn ) * ( optional ) modify the columns of the term listing table
validation_APF_TaxonomyField ( $aNewOptions, $aOldOptions ) * ( optional ) Use this method to validate submitted option values.

Method Details

_replyToSortByCustomOptionValue() public method

public _replyToSortByCustomOptionValue ( $oTermA, $oTermB )

cell_APF_TaxonomyField() public method

* ( optional ) output the stored option to the custom column
public cell_APF_TaxonomyField ( $sCellHTML, $sColumnSlug, $iTermID )

cell_APF_TaxonomyField_custom() public method

public cell_APF_TaxonomyField_custom ( $sCellHTML, $iTermID )

columns_APF_TaxonomyField() public method

public columns_APF_TaxonomyField ( $aColumn )

do_APF_TaxonomyField() public method

* ( optional ) Use this method to insert your custom text.

replyToSortCustomColumn() public method

Customizes the sorting algorithm of a custom column.
public replyToSortCustomColumn ( $aTerms, $aTaxonomies, $aArgs )

setUp() public method

* ( optional ) Use the setUp() method to define settings of this taxonomy fields.
public setUp ( )

sortable_columns_APF_TaxonomyField() public method

* ( optional ) modify the columns of the term listing table

validation_APF_TaxonomyField() public method

* ( optional ) Use this method to validate submitted option values.
public validation_APF_TaxonomyField ( $aNewOptions, $aOldOptions )