Horde_Core_Ui_Tabs::getTitleFromAction PHP Method

getTitleFromAction() public method

Returns the title of the tab with the specified name.
public getTitleFromAction ( string $tabname ) : string
$tabname string The name of the tab.
return string The tab's title.
    public function getTitleFromAction($tabname)
    {
        foreach ($this->_tabs as $tab) {
            if ($tab['tabname'] == $tabname) {
                return $tab['title'];
            }
        }
        return null;
    }