Lines Matching refs:scheduleRoot

28     var $scheduleRoot;					// commun data for all schedules  variable in schedules
70 return $this->scheduleRoot->plugin->getConf ($name);
73 return $this->scheduleRoot->plugin->getLang ($name);
76 return $this->scheduleRoot->isAdmin;
79 return $this->scheduleRoot->message ($type, $text);
82 return $this->scheduleRoot->startMessage ($type, $text);
85 return $this->scheduleRoot->debug ($text);
88 return isset ($this->scheduleRoot->message[$type]);
92 function __construct ($scheduleRoot, $ns) { argument
93 $this->scheduleRoot = $scheduleRoot;
97 $this->cacheDir = $this->scheduleRoot->cacheRootDir.$this->md5ns.'/';
98 $this->dataDir = $this->scheduleRoot->dataRootDir.$this->md5ns.'/';
108 $config = $this->scheduleRoot->readConfig ($this->dataDir);
110 $this->scheduleRoot->writeConfig ($this);
112 foreach ($this->scheduleRoot->configAttributsName as $field)
120 $pathDir = $conf['savedir'].'/pages/'.trim ($this->scheduleRoot->groupsDir, '/') . '/';
140 if ($this->scheduleRoot->scheduleGroup == $tmpMember)
189 scheduleRoot::createDirIsNeeded ($this->cacheDir);
197 $exclude = '.|..|'.$this->scheduleRoot->configFile;
215 $this->before = $this->scheduleRoot->df2ds ($before);
216 $this->after = $this->scheduleRoot->df2ds ($after);
217 $this->date = $this->scheduleRoot->df2ds ($date);
232 if ($this->scheduleRoot->scheduleGroup == $tmpMember) {
272 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
277 $fileName = $this->dataDir.$this->scheduleRoot->mbrPrefix.$member.'.xml';
283 $this->readSchedule ($this->dataDir.$this->scheduleRoot->propFile, true);
295 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
301 $fileName = $this->dataDir.$this->scheduleRoot->propFile;
346 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field) {
378 $exclude = '.|..|'.$this->scheduleRoot->configFile;
389 preg_match ('#'.$this->scheduleRoot->mbrPrefix.'.*\.xml$#i', $file, $b))
402 @unlink ($this->dataDir.$this->scheduleRoot->mbrPrefix.$member.'.xml');
448 … $this->before = $this->after = $this->date = $this->scheduleRoot->df2ds ($request['date']);
498 foreach ($this->scheduleRoot->scheduleRequestAttributsName as $field)
508 $schedule->weekDays = scheduleRoot::array2string ($request ['weekDays']);
509 $schedule->from = $this->scheduleRoot->df2ds ($request ['from']);
510 $schedule->to = $this->scheduleRoot->df2ds ($request ['to']);
538 if (!$this->scheduleRoot->checkDS ($schedule->from))
540 if ($schedule->to && !$this->scheduleRoot->checkDS ($schedule->to))
587 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
602 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
610 $pageId = $this->scheduleRoot->getPageId ($schedule);
649 '[[:'.$this->scheduleRoot->groupsDir.':'.$member.':|'.
650 … '{{ :'.$this->scheduleRoot->groupsDir.':'.$member.':'.$this->scheduleRoot->iconName.'?100}}]]'.NL;
661 ('Le '. $this->scheduleRoot->ds2ln ($schedule->from, true))).
759 $df_prev = date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_prev);
760 $df_next = date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_next);
769 ' '.date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_showDay).NL.
801 $dn_from = $this->scheduleRoot->dt2dn ($dt_from);
806 $dn_to = $this->scheduleRoot->dt2dn ($dt_to);
887 $df_day = date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_day);
901 …Class [preg_replace ("/\s/", '', htmlspecialchars (strtolower ($this->scheduleRoot->scheduleWhat […
963 $pageId = $this->scheduleRoot->getPageId ($event);
965 … $logoId = $this->scheduleRoot->groupsDir.':'.$event->member.':'.$this->scheduleRoot->iconName;
992 $this->scheduleRoot->resetOddEven ();
1006 $content .= '<div class="'.$this->scheduleRoot->getOddEven ().'">'.$line.'</div>'.NL;
1007 $this->scheduleRoot->switchOddEven ();
1011 …return '<div class="date">'.date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_day).…
1016 $this->scheduleRoot->resetOddEven ();
1102 $day = $this->scheduleRoot->ds2df ($event->syncStart ? $event->syncStart : $event->from);
1106 …ptln (' <tr class="'.$this->scheduleRoot->getOddEven ().' '.$lineVals ['class'].$propClass.'" '…
1110 …ptln ($day.(($event->syncStart || ('' == $event->to)) ? '' : '<br/>'.NL.$this->scheduleRoot->ds2df…
1115 …' <tr class="'.$this->scheduleRoot->getOddEven ().' '.$lineVals ['class'].$propClass.'" '.$over…
1119 ptln ($this->scheduleRoot->scheduleShared[$event->shared]);
1124 ' <img src="'.$this->scheduleRoot->wizardIconUrl.'"/></a>');
1133 '<img src="'.$this->scheduleRoot->editIconUrl.'"/></a>');
1135 $logoId = $this->scheduleRoot->groupsDir.':'.$member.':'.$this->scheduleRoot->iconName;
1138scheduleRoot->groupsDir.':'.$member.'/"><img src="'.ml ($logoId, array ('cache'=>$_REQUEST['cache'…
1143 …ptln ('<img src="'.$this->scheduleRoot->repeatIconUrl.'" /> '.$this->makeRepeatString ($event, fal…
1200 …s->getLang ('from').' '.$this->scheduleRoot->ds2ln ($event->from, $bold).' '.$this->getLang ('to')…
1221 $dn_from = $this->scheduleRoot->dt2dn ($dt_from);
1222 $result .= date ($this->scheduleRoot->currentDateFormat ['dayMonth'], $dn_from).' ';
1251 $dn_start = $this->scheduleRoot->dt2dn ($dt_start);
1269 … if (in_array ($name, $this->scheduleRoot->filterNames) && !in_array ($event->$name, $values)) {
1272 } elseif (in_array ($name, array_keys ($this->scheduleRoot->filterNames))) {
1273 $trueName = $this->scheduleRoot->filterNames[$name];
1282 $pageId = $this->scheduleRoot->getPageId ($event);
1285 …'cat_'.preg_replace ("/\s/", '', htmlspecialchars (strtolower ($this->scheduleRoot->scheduleWhat […
1294 $dn_day = $dn_from = $this->scheduleRoot->dt2dn ($dt_from);
1371 $this->scheduleRoot->switchOddEven ();
1378 $this->scheduleRoot->switchOddEven ();
1384 …<tr class="'.$this->scheduleRoot->getOddEven ().'"><td colspan="6">'.$this->getLang ('noEvent').'<…
1477 $this->scheduleRoot->ds2df ($this->defaultSchedule->from);
1493 foreach ($this->scheduleRoot->scheduleAudience as $audience => $label) {
1501 …ptln (' <option value="'.$sharedVal.'"'.$selected.'>'.$this->scheduleRoot->scheduleShared[$s…
1521 foreach (array_keys ($this->scheduleRoot->scheduleWhat) as $what) {
1568 $this->scheduleRoot->emptyIconUrl.'" onclick="scheduleRemoveCity (this)"/>'.
1593 …o').' <input class="date" name="schd[to]" type="text" value="'.$this->scheduleRoot->ds2df ($this->…
1641 $this->scheduleRoot->writeConfig ($this);
1659 $this->scheduleRoot->writeConfig ($this);