public function __construct() { parent::__construct(); // Set translatable titles for the tab options foreach ($this->adminToolbarSettings as $tab => &$tabData) { if (isset($tabData['title'])) { continue; } switch ($tab) { case 'home': $tabData['title'] = __('Home', 'gummfw'); break; case 'typography': $tabData['title'] = __('Typography', 'gummfw'); break; case 'background': $tabData['title'] = __('Backgrounds', 'gummfw'); break; case 'color': $tabData['title'] = __('Colors', 'gummfw'); break; case 'layout': $tabData['title'] = __('Layout', 'gummfw'); break; case 'single_layout': $tabData['title'] = __('Single Layout', 'gummfw'); break; case 'effects': $tabData['title'] = __('Effect', 'gummfw'); break; } } }
public function __construct() { parent::__construct(); $this->SidebarModel = GummRegistry::get('Model', 'Sidebar'); }
public function __construct($options = array()) { parent::__construct(); $this->options = array_merge(array('class' => 'bluebox-pagination', 'pages_text' => '', 'current_text' => '%PAGE_NUMBER%', 'page_text' => '%PAGE_NUMBER%', 'first_text' => '« ' . __('First', 'gummfw'), 'last_text' => __('Last', 'gummfw') . ' »', 'next_text' => __('Next', 'gummfw') . ' <i class="icon-angle-right"></i>', 'prev_text' => '<i class="icon-angle-left"></i> ' . __('Prev', 'gummfw'), 'dotright_text' => '...', 'dotleft_text' => '...', 'style' => 1, 'num_pages' => 5, 'always_show' => 0, 'num_larger_page_numbers' => 3, 'larger_page_numbers_multiple' => 10), $options); }