src/phpDocumentor/Plugin/Scrybe/Converter/Metadata/Glossary.php
public function addTerm($term, $filename, $line_number)
    {
        if (!isset($this[$term])) {
            $this[$term] = array();
        }
        if (!isset($this[$term][$filename])) {
            $this[$term][$filename] = array();
        }

        $this[$term][$filename][] = $line_number;
    }
public function addTerm($term, $filename, $line_number)
    {
        if (!isset($this[$term])) {
            $this[$term] = array();
        }
        if (!isset($this[$term][$filename])) {
            $this[$term][$filename] = array();
        }

        $this[$term][$filename][] = $line_number;
    }
public function addTerm ( $ term , $ filename , $ line_number ) { if ( ! isset ( $ this [ $ term ] ) ) { $ this [ $ term ] = array ( ) ; } if ( ! isset ( $ this [ $ term ] [ $ filename ] ) ) { $ this [ $ term ] [ $ filename ] = array ( ) ; } $ this [ $ term ] [ $ filename ] [ ] = $ line_number ; }
Adds a glossary term to the collection.

@param string $term
@param string $filename
@param int    $line_number

@return void
Adds a glossary term to the collection .