Esempio n. 1
0
 protected function _commandBack(KControllerToolbarCommand $command)
 {
     if (version_compare(JVERSION, '3.0', '>=')) {
         $command->icon = 'icon-32-arrow-left';
     }
     if (!isset($command->href)) {
         $command->append(array('attribs' => array('data-action' => $command->getName())));
     }
 }