/** * Create a new X_Page_Item_StatusLink * @param string $key item key in the list * @param string $label item label * @param array|string $link an array of Route params */ function __construct($key, $label, $type = self::TYPE_LABEL, $link = array(), $route = 'default', $reset = false) { parent::__construct($key, $label, $link, $route, $reset); $this->setType($type); }
/** * Create a new X_Page_Item * @param string $key item key in the list * @param string $label item label * @param array|string $link an array of Route params */ function __construct($key, $label, $link = array(), $route = 'default', $reset = false) { parent::__construct($key, $label, $link, $route, $reset); $this->type = self::TYPE_CONTAINER; }
/** * Create a new X_Page_Item_Statistic * @param string $key item key in the list * @param string $label item label * @param array|string $link an array of Route params */ function __construct($key, $label) { parent::__construct($key, $label); }
/** * Create a new X_Page_Item_ActionLink * @param string $key item key in the list * @param string $label item label * @param array|string $link an array of Route params */ function __construct($key, $label, $link = array(), $route = 'default', $reset = false) { parent::__construct($key, $label, $link, $route, $reset); }