示例#1
0
 public function init()
 {
     parent::init();
     $this->getLayout()->addMenuAction(array('name' => 'menuDownloadsBack', 'icon' => 'fa fa-arrow-left', 'url' => $this->getLayout()->getUrl(array('controller' => 'downloads', 'action' => 'treatdownloads', 'id' => $this->getRequest()->getParam('downloads')))));
 }
示例#2
0
 public function init()
 {
     parent::init();
     $this->getLayout()->addMenuAction(array('name' => 'menuActionDownloadsInsertFile', 'icon' => 'fa fa-plus-circle', 'url' => 'javascript:media();'));
 }