コード例 #1
0
 /**
  * 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);
 }
コード例 #2
0
 /**
  * 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;
 }
コード例 #3
0
 /**
  * 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);
 }
コード例 #4
0
 /**
  * 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);
 }