/** * Set title of this page. * * @param string $title Page title. * @param string $icons Title icon. * * @return void */ protected function setTitle($title = null, $icons = 'pencil-2 article') { if (!$title) { $title = \JText::_(sprintf('COM_%s_%s_TITLE_ITEM_EDIT', strtoupper($this->prefix), strtoupper($this->viewItem))); } parent::setTitle($title, $icons); }