AdminPageFramework_PostType_Model::_registerTaxonomy PHP Method

_registerTaxonomy() public method

public _registerTaxonomy ( $sTaxonomySlug, array $aObjectTypes, array $aArguments )
$aObjectTypes array
$aArguments array
    public function _registerTaxonomy($sTaxonomySlug, array $aObjectTypes, array $aArguments)
    {
        if (!in_array($this->oProp->sPostType, $aObjectTypes)) {
            $aObjectTypes[] = $this->oProp->sPostType;
        }
        register_taxonomy($sTaxonomySlug, array_unique($aObjectTypes), $aArguments);
        $this->_setCustomMenuOrderForTaxonomy($this->oUtil->getElement($aArguments, 'submenu_order', 15), $sTaxonomySlug);
    }