Lines Matching refs:md5id

63   var $md5id;			// the wiki id  variable in glossary
154 if (isset ($all[$this->md5id])) {
243 function readGlossary ($md5id, $status, $lock) { argument
244 $fileName = $this->dataDir.$status.$md5id.".xml";
264 function writeGlossary ($md5id, &$values, $status) { argument
273 $fileName = $this->dataDir.$status.$md5id.".xml";
279 function removeGlossary ($md5id, $status) { argument
280 $fileName = $this->dataDir.$status.$md5id.".xml";
307 $this->md5id = md5 (trim ($request['ticket']));
308 $oldValues = $this->readGlossary ($this->md5id, $status, LOCK_SH);
337 function printPollAjax ($md5id) { argument
338 $filename = $this->cacheDir."poll-".md5($md5id).".cache";
343 $poll = $this->readGlossary ($md5id, $this->poll, LOCK_SH);
346 '<a onClick="glossaryPoll(this,\''.$md5id.'\',\'down\',\''.$this->NS.'\');">'.NL.
350 '<a onClick="glossaryPoll(this,\''.$md5id.'\',\'up\',\''.$this->NS.'\');">'.NL.
375 $md5id = $request['ticket'];
378 if (! isset ($all[$md5id]) || !in_array ($opinion, $this->statusFields [$this->poll])) {
382 $poll = $this->readGlossary ($md5id, $this->poll, LOCK_EX);
384 $poll = array ("word" => $all[$md5id]['word'], "up" => 0, "down" => 0);
387 $this->writeGlossary ($md5id, $poll, $this->poll);
389 @unlink ($this->cacheDir."poll-".md5($md5id).".cache");
390 $this->printPollAjax ($md5id);
394 function incView ($md5id, $word) { argument
395 $poll = $this->readGlossary ($md5id, $this->poll, LOCK_EX);
399 $this->writeGlossary ($md5id, $poll, $this->poll);
448 $this->md5id = md5 (trim ($request ['ticket']));
475 $this->writeGlossary ($this->md5id, $request, $status);
616 foreach ($all as $md5id => $record)
637 $poll [$md5id] = $this->incView ($md5id, $word);
641 list ($scoreVal, $scoreImg) = $this->getScore ($poll [$md5id]);
645 ' date="'.$record['date'].'" view="'.$poll [$md5id]['view'].'" score="'.$scoreVal.'">'.NL.
771 $this->md5id = md5 ($pageId);
772 $values = $this->readGlossary ($this->md5id, $this->def, LOCK_SH);