public function __construct($id, $label, $description, $rank, $is_hidden) { parent::__construct($id, $is_hidden); $this->label = $label; $this->description = $description; $this->rank = $rank; }
/** * @see Tracker_FormElement_Field_List_Value::fetchFormattedForJson */ public function fetchFormattedForJson() { $json = parent::fetchFormattedForJson(); $json['username'] = $this->getUsername(); $json['realname'] = $this->getUser()->getRealName(); return $json; }
public function __construct($id, ProjectUGroup $ugroup, $is_hidden) { parent::__construct($id, $is_hidden); $this->ugroup = $ugroup; }
public function __construct($id, $user_name = null, $display_name = null) { parent::__construct($id); $this->user_name = $user_name; $this->display_name = $display_name; }