Home
last modified time | relevance | path

Searched refs:usergroup (Results 1 – 17 of 17) sorted by last modified time

/plugin/findologicxmlexport/vendor/findologic/libflexport/src/FINDOLOGIC/Export/Data/
H A DKeyword.php9 public function __construct($value, $usergroup = '') argument
11 parent::__construct('keyword', $value, $usergroup);
H A DOrdernumber.php9 public function __construct($value, $usergroup = '') argument
11 parent::__construct('ordernumber', $value, $usergroup);
H A DDateAdded.php15 public function setValue($value, $usergroup = '') argument
20 public function setDateValue(DateTime $value, $usergroup = '') argument
24 parent::setValue($formatted, $usergroup);
H A DImage.php40 private $usergroup; variable in FINDOLOGIC\\Export\\Data\\Image
45 public function __construct($url, $type = self::TYPE_DEFAULT, $usergroup = '') argument
49 $this->usergroup = $usergroup;
73 return $this->usergroup;
H A DItem.php79 public function addName($name, $usergroup = '') argument
81 $this->name->setValue($name, $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);
160 $this->bonus->setValue($bonus, $usergroup);
203 public function addSort($sort, $usergroup = '') argument
205 $this->sort->setValue($sort, $usergroup);
212 $this->properties[$usergroup] = [];
[all …]
H A DProperty.php9 public function __construct($key, $usergroup) argument
11 …t::__construct(sprintf('Property "%s" already has a value for usergroup "%s".', $key, $usergroup));
64 public function addValue($value, $usergroup = null) argument
66 if (array_key_exists($usergroup, $this->values)) {
67 throw new DuplicateValueForUsergroupException($this->key, $usergroup);
70 $this->values[$usergroup] = DataHelper::checkForEmptyValue($value);
77 foreach ($values as $usergroup => $value) {
78 $this->addValue($value, $usergroup);
/plugin/findologicxmlexport/vendor/findologic/libflexport/tests/FINDOLOGIC/Export/Tests/
H A DXmlSerializationTest.php148 new Image('http://example.org/ug_default.png', Image::TYPE_DEFAULT, 'usergroup'),
208 new Image('http://example.org/ug_default.png', Image::TYPE_DEFAULT, 'usergroup'),
220 new Ordernumber('137-42-23.7-A', 'usergroup'),
234 new Keyword('restricted', 'usergroup'),
284 '' => 'No usergroup',
285 'foo' => 'One usergroup',
286 'bar' => 'Another usergroup'
325 foreach ($values as $usergroup => $value) {
326 $item->{'add' . $valueType}($value, $usergroup);
347 foreach ($values as $usergroup => $value) {
[all …]
/plugin/findologicxmlexport/vendor/findologic/libflexport/src/FINDOLOGIC/Export/Helpers/
H A DUsergroupAwareMultiValue.php47 foreach ($this->values as $usergroup => $usergroupValues) {
49 if ($usergroup) {
50 $usergroupCollectionElem->setAttribute('usergroup', $usergroup);
H A DUsergroupAwareSimpleValue.php31 public function setValue($value, $usergroup = '') argument
33 $this->values[$usergroup] = $this->validate($value);
67 foreach ($this->values as $usergroup => $value) {
71 if ($usergroup !== '') {
72 $itemElem->setAttribute('usergroup', $usergroup);
H A DUsergroupAwareMultiValueItem.php18 private $usergroup; variable in FINDOLOGIC\\Export\\Helpers\\UsergroupAwareMultiValueItem
23 public function __construct($itemName, $value, $usergroup) argument
27 $this->usergroup = $usergroup;
32 return $this->usergroup;
/plugin/findologicxmlexport/vendor/findologic/libflexport/src/FINDOLOGIC/Export/XML/
H A DXMLItem.php59 foreach ($this->properties as $usergroup => $usergroupSpecificProperties) {
61 if ($usergroup) {
62 $usergroupPropsElem->setAttribute('usergroup', $usergroup);
111 foreach ($this->images as $usergroup => $images) {
113 if ($usergroup) {
114 $usergroupImagesElem->setAttribute('usergroup', $usergroup);
142 foreach ($this->usergroups as $usergroup) {
143 $usergroups->appendChild($usergroup->getDomSubtree($document));
/plugin/findologicxmlexport/vendor/findologic/libflexport/examples/
H A DXmlExample.php114 foreach ($ordernumbersData as $usergroup => $ordernumbers) {
116 $item->addOrdernumber(new Ordernumber($ordernumber, $usergroup));
134 foreach ($imagesData as $usergroup => $images) {
136 $item->addImage(new Image($image, $type, $usergroup));
153 foreach ($keywordsData as $usergroup => $keywords) {
155 $item->addKeyword(new Keyword($keyword, $usergroup));
238 foreach ($usergroups as $usergroup) {
239 $item->addUsergroup(new Usergroup($usergroup));
/plugin/autologoff/
H A Dadmin.php70 foreach($config as $usergroup => $time){
75 'remove' => $usergroup,
80 echo '<td>'.hsc($usergroup).'</td>';
H A Dhelper.php27 foreach((array) confToHash($this->configfile) as $usergroup => $time) {
28 $conf[rawurldecode($usergroup)] = (int) $time;
40 public function add_entry($usergroup, $time) { argument
46 $usergroup = auth_nameencode($usergroup, true);
48 io_saveFile($this->configfile, "$usergroup\t$time\n", true);
56 public function remove_entry($usergroup){ argument
57 $grep = preg_quote(auth_nameencode($usergroup, true), '/');
83 foreach($config as $usergroup => $time) {
84 if(!auth_isMember($usergroup, $_SERVER['REMOTE_USER'], (array) $groups)) continue;
/plugin/authsqlite/
H A Dauth.sql17 CREATE TABLE usergroup ( table
H A DREADME.md19 'SELECT pass FROM usergroup AS ug
29 usergroup ug WHERE u.uid = ug.uid
34 LEFT JOIN usergroup AS ug ON u.uid=ug.uid AND ug.animal=\'%{animal}\'
47 'INSERT INTO usergroup (uid, gid, animal) VALUES (%{uid}, %{gid}, \'%{animal}\')';
52 $conf['plugin']['authsqlite']['delUserRefs'] = 'DELETE FROM usergroup WHERE uid=%{uid}';
60 'DELETE from usergroup WHERE uid=%{uid} AND gid=%{gid} AND animal=\'%{animal}\'';
/plugin/farm/install/animaltemplate/conf/
H A Dmysql.conf.php.example15 * TABLE usergroup
48 …blesToLock']= array("users", "users AS u","groups", "groups AS g", "usergroup", "usergroup AS ug");
67 FROM usergroup AS ug
98 FROM groups g, users u, usergroup ug
123 LEFT JOIN usergroup AS ug ON u.uid=ug.uid
165 $conf['auth']['mysql']['addUserGroup']= "INSERT INTO usergroup (uid, gid)
203 $conf['auth']['mysql']['delUserRefs'] = "DELETE FROM usergroup
238 $conf['auth']['mysql']['delUserGroup']= "DELETE FROM usergroup