AdminCTTopMenuItemController::initOptionFields PHP Метод

initOptionFields() защищенный Метод

protected initOptionFields ( )
    protected function initOptionFields()
    {
        $this->fields_options = array('general' => array('title' => $this->l('Top menu options'), 'fields' => array('CT_TOP_MENU_SEARCH' => array('title' => $this->l('Show search form in menu'), 'desc' => $this->l('Puts a search input form in the menu.'), 'cast' => 'intval', 'type' => 'bool'), 'CT_TOP_MENU_ITEM_HOVER' => array('title' => $this->l('Open menu item dropdown on mouse hover'), 'desc' => $this->l('If you disable this, customers will have to click the menu item for the dropdown menu to appear.'), 'cast' => 'intval', 'type' => 'bool')), 'submit' => array('title' => $this->l('Save'))));
    }