Lines Matching refs:usergroup
79 public function addName($name, $usergroup = '') argument
81 $this->name->setValue($name, $usergroup);
94 public function addSummary($summary, $usergroup = '') argument
96 $this->summary->setValue($summary, $usergroup);
109 public function addDescription($description, $usergroup = '') argument
111 $this->description->setValue($description, $usergroup);
124 public function addPrice($price, $usergroup = '') argument
130 $this->price->setValue($price, $usergroup);
143 public function addUrl($url, $usergroup = '') argument
145 $this->url->setValue($url, $usergroup);
158 public function addBonus($bonus, $usergroup = '') argument
160 $this->bonus->setValue($bonus, $usergroup);
173 public function addSalesFrequency($salesFrequency, $usergroup = '') argument
175 $this->salesFrequency->setValue($salesFrequency, $usergroup);
188 public function addDateAdded(DateTime $dateAdded, $usergroup = '') argument
190 $this->dateAdded->setDateValue($dateAdded, $usergroup);
203 public function addSort($sort, $usergroup = '') argument
205 $this->sort->setValue($sort, $usergroup);
210 foreach ($property->getAllValues() as $usergroup => $value) {
211 if (!array_key_exists($usergroup, $this->properties)) {
212 $this->properties[$usergroup] = [];
217 $this->properties[$usergroup][$property->getKey()] = $value;
262 public function addUsergroup(Usergroup $usergroup) argument
264 array_push($this->usergroups, $usergroup);