Ejemplo n.º 1
0
 /**
  * Writes sites for each tag.
  */
 private function writeTags()
 {
     foreach ($this->glossary->getTaggedDefinitions() as $tag => $definitions) {
         $this->writeTag($tag, $definitions);
     }
 }
Ejemplo n.º 2
0
 /**
  * @param string $string
  * @return null|string
  */
 public function getMeta($string)
 {
     if (!isset($this->meta[$string])) {
         Glossary::warn("No meta entry for {$string}.");
         return null;
     }
     return $this->meta[$string];
 }