Ejemplo n.º 1
0
 public function __construct($parent, $id, $name, $url, $icon = null)
 {
     $this->parent = $parent;
     $this->id = $id;
     $this->name = $name;
     $this->url = URLHelper::admin_url($url);
     $this->icon = $icon;
     $this->children = array();
 }
Ejemplo n.º 2
0
 protected function admin_users_url()
 {
     return URLHelper::admin_users_url();
 }
Ejemplo n.º 3
0
 protected function redirect_to_admin_dashboard()
 {
     $this->redirect_to(URLHelper::admin_dashboard_url());
 }
Ejemplo n.º 4
0
 public function url_for_action($action = null, $id = null)
 {
     return URLHelper::admin_editable_action_url($this->type_id(), $action, $id);
 }