public function __construct($field, $value_function, $default_values, $decorators) { parent::__construct($field, $default_values, $decorators); if (!empty($value_function)) { $this->value_function = explode(',', $value_function); } $this->userManager = UserManager::instance(); }
public function __construct($field, $values, $default_values, $decorators, UGroupManager $ugroup_manager, Tracker_FormElement_Field_List_Bind_Ugroups_ValueDao $value_dao) { parent::__construct($field, $default_values, $decorators); $this->values = $values; $this->ugroup_manager = $ugroup_manager; $this->value_dao = $value_dao; $this->values_indexed_by_ugroup_id = array(); foreach ($values as $value) { $this->values_indexed_by_ugroup_id[$value->getUGroupId()] = $value; } }
public function __construct($field, $is_rank_alpha, $values, $default_values, $decorators) { parent::__construct($field, $default_values, $decorators); $this->is_rank_alpha = $is_rank_alpha; $this->values = $values; }
public function __construct($field) { parent::__construct($field, array(), array()); }