Lines Matching refs:this

96         if (isset ($this->message[$type]))
97 $this->message[$type] .= '<br/>'.NL;
98 $this->message[$type] .= $text;
101 if (isset ($this->message[$type]))
102 $this->message[$type] = '<br/>'.NL.$this->message[$type];
103 $this->message[$type] = $text.$this->message[$type];
110 $this->message ('notify', '<pre>'.$text.'</pre>');
116 …$this->message ('error', $dt_date["Y"]."-".$dt_date["d"]."-".$dt_date["m"]." : ".$this->plugin->ge…
135 elseif (preg_match ("#".$this->currentDateFormat ["longScan"]."#", $df_date, $dt_date))
137 elseif (preg_match ("#".$this->currentDateFormat ["shortScan"]."#", $df_date, $dt_date))
148 $dt_date[$this->currentDateFormat["fieldName"][0]],
149 $dt_date[$this->currentDateFormat["fieldName"][1]],
150 $dt_date[$this->currentDateFormat["fieldName"][2]]);
161 $dt_date[$this->currentDateFormat["fieldName"][1]],
162 $dt_date[$this->currentDateFormat["fieldName"][0]],
163 $dt_date[$this->currentDateFormat["fieldName"][2]]));
215 $this->scheduleDir.":".
216 ($schedule->shared ? $this->sharedDir : $schedule->member).":".
217 $this->removeSep ($schedule->title);
221 $this->oddEven = 0;
224 $this->oddEven = 1 - $this->oddEven;
228 return $this->oddEvenValues [$this->oddEven];
240 $this->plugin = $plugin;
241 …$this->scheduleSaveAttributsName = array_merge ($this->scheduleRequestAttributsName, array ("weekD…
244 $this->cacheRootDir = $savedir."cache/schedule/";
245 $this->dataRootDir = $savedir.trim ($this->plugin->getConf ('dataDir').'/');
246 scheduleRoot::createDirIsNeeded ($this->cacheRootDir);
247 scheduleRoot::createDirIsNeeded ($this->dataRootDir);
248 $this->scheduleGroup = trim ($this->plugin->getConf ('scheduleGroup'));
249 $this->groupsDir = trim ($this->plugin->getConf ('groupsDir'));
250 $this->scheduleDir = trim ($this->plugin->getConf ('scheduleDir'));
251 $this->sharedDir = trim ($this->plugin->getConf ('sharedDir'));
253 foreach (explode ('|', $this->plugin->getConf ('scheduleWhat')) as $tmpCatDef) {
258 $this->scheduleWhat[$tmpWhat] = $tmpCat;
261 $this->scheduleAudience [""] = $this->plugin->getLang ('audienceChoice');
262 foreach (explode (',', $this->plugin->getConf ('scheduleAudience')) as $tmpAudience)
263 $this->scheduleAudience[trim ($tmpAudience)] = trim ($tmpAudience);
264 $this->iconName = $this->plugin->getConf ('iconName');
265 $this->iconWidth = $this->plugin->getConf ('iconWidth');
267 $tmp = $this->plugin->getLang ('shared');
268 $this->scheduleShared[] = trim ($tmp[$sharedVal]);
270 $this->currentDateFormat = $this->dateFormat [$this->plugin->getLang ('dateFormat')];
273 $this->isAdmin =
276 … in_array (trim ($this->plugin->getConf ('adminGroup')), $INFO ['userinfo']['grps']);
284 $oldFileName = $dir.$this->oldConfigFile;
285 $fileName = $dir.$this->configFile;
291 $exclude = ".|..|".$this->scheduleRoot->configFile;
301 rename ($pathFile, $pathDir.$this->mbrPrefix.$file);
313 foreach ($this->configAttributsName as $field) {
322 $fileName = $schedules->dataDir.$this->configFile;
329 foreach ($this->configAttributsName as $field)
338 if (!$this->isAdmin)
343 $schedules = new schedules ($this, $request[$md5]['ns']);
348 $date = $this->df2ds ($request[$md5]['date']);
352 $src = new schedules ($this, $request[$md5]['ns']);
354 $dst = new schedules ($this, $request[$md5bis]['ns']);
376 if (!$this->isAdmin)
378 $list = $this->readAllSchedules ();
387 $this->resetOddEven ();
392 ' <tr class="'.$this->getOddEven ().'">'.NL.
396 ' <tr class="'.$this->getOddEven ().'">'.NL.
400 ' <tr class="'.$this->getOddEven ().'">'.NL.
404 ' <tr class="'.$this->getOddEven ().'">'.NL.
408 ' <tr class="'.$this->getOddEven ().'">'.NL.
412 ' <tr class="'.$this->getOddEven ().'">'.NL.
414 …nput type="text" name="schd['.$md5.'][date]" value="'.'" placeholder="'.$this->plugin->getLang ('…
416 ' <tr class="'.$this->getOddEven ().'">'.NL.
426 ' <tr class="'.$this->getOddEven ().'">'.NL.
430 $this->switchOddEven ();
441 if (!is_dir($this->dataRootDir))
443 $pathDirObj = opendir ($this->dataRootDir);
445 $subDir = $this->dataRootDir.$file.'/';
448 $list [$file] = $this->readConfig ($subDir);
449 $list [$file]["schedules"] = new schedules ($this, $list [$file]["nameSpace"]);
457 $list = $this->readAllSchedules ();