Ejemplo n.º 1
0
 /**
  * Add the link "backup all systems" actionLinks
  * @param Zend_Controller_Action $this
  * @return X_Page_ItemList_ActionLink
  */
 public function getIndexActionLinks(Zend_Controller_Action $controller)
 {
     $link = new X_Page_Item_ActionLink($this->getId(), X_Env::_('p_backupper_actionbackupall'));
     $link->setIcon('/images/backupper/backupall.png')->setLink(array('controller' => 'backupper', 'action' => 'backup', 'a' => 'all'), 'default', true);
     return new X_Page_ItemList_ActionLink(array($link));
 }
 /**
  * Add the link add video link to actionLinks
  * @param Zend_Controller_Action $this
  * @return X_Page_ItemList_ActionLink
  */
 public function getIndexActionLinks(Zend_Controller_Action $controller)
 {
     $link = new X_Page_Item_ActionLink($this->getId(), X_Env::_('p_onlinelibrary_actionaddvideo'));
     $link->setIcon('/images/plus.png')->setLink(array('controller' => 'onlinelibrary', 'action' => 'add'), 'default', true);
     return new X_Page_ItemList_ActionLink(array($link));
 }
Ejemplo n.º 3
0
 /**
  * Add the link Add new shared folder link to actionLinks
  * @param Zend_Controller_Action $this
  * @return X_Page_ItemList_ActionLink
  */
 public function getIndexActionLinks(Zend_Controller_Action $controller)
 {
     $urlHelper = $controller->getHelper('url');
     $link = new X_Page_Item_ActionLink($this->getId(), X_Env::_('p_filesystem_actionadddirectory'));
     $link->setIcon('/images/plus.png')->setLink(array('controller' => 'filesystem', 'action' => 'add'), 'default', true);
     return new X_Page_ItemList_ActionLink(array($link));
 }