Lines Matching refs:this

94         $this->namespace = $namespace;
97 $access_file = $this->get_access_file(HTMLOK_ACCESS_DIR, $namespace);
102 $INFO['htmlOK_access_scope'] = $this->get_access_scope($access_file);
103 $this->saved_inf =file_get_contents ($access_file);
105 if (!$this->saved_inf)
109 $this->saved_inf = unserialize($this->saved_inf);
110 $this->files = $this->saved_inf['filespecs'];
111 $this->users = $this->saved_inf['user'];
112 $this->groups = $this->saved_inf['group'];
114 $this->curent_file = basename($INFO['filepath']);
117 $this->curent_file = noNS($ID) . '.txt';
120 $this->access_file = $access_file;
125 return $this->saved_inf;
129 return $this->namespace;
138 $this->get_info();
144 $INFO['htmlOK_displayOnly'] = $this->saved_inf['display'];
148 if (!$this->saved_inf)
150 $this->set_DokuWikiDefault_perm(); // Not HTML
155 $this->set_dbg_msg("permissions exist");
156 foreach($this->files as $file)
158 if ($file == $this->curent_file || $file == 'all')
167 $this->set_DokuWikiDefault_perm(); // Not HTML
179 if (isset($this->groups) && !empty($this->groups))
181 $groups = array_keys($this->groups);
183 $groups_found = $this->in_groups($INF0_groups, $groups);
191 if (isset($this->users) && !empty($this->users))
193 $users = array_keys($this->users);
200 if ($in_users) $this->set_dbg_msg("User found: " . $INFO['client']);
201 else $this->set_dbg_msg("User " . $INFO['client'] . ' not found');
206 $this->set_dbg_msg("Group(s) found: $str");
213 if (isset($this->saved_inf['display']))
215 … $INFO['hmtlOK_access_level'] = $this->get_permission_level('display', $this->saved_inf);
216 $this->set_dbg_msg("Display: " . $INFO['hmtlOK_access_level']);
225 $this->set_dbg_msg("Permission denied");
235 $group_level = $this->get_permission_level($groups_found, $this->groups);
239 $user_level = $this->get_permission_level($INFO['client'], $this->users);
245 $this->set_DokuWikiDefault_perm();
273 $this->set_dbg_msg("Original access file: $file");
276 $this->set_dbg_msg("Tried Original access file: $file");
286 $this->set_dbg_msg("Tried access file: $file");
290 $this->set_dbg_msg("File exists: $file");
330 $this->access_level = $levels[$htmlok[$info]];
345 $this->access_level = $level;
355 return $this->get_permission_level('display', $this->saved_inf);
359 if(!$msg) return $this->db_msg;
360 $this->db_msg .= $msg . '<br />';