TeamSpeak3/Viewer/Text.php
public function fetchObject(AbstractNode $node, array $siblings = array())
    {
        $this->currObj = $node;
        $this->currSib = $siblings;

        $args = array(
            $this->getPrefix(),
            $this->getCorpusIcon(),
            $this->getCorpusName(),
        );

        return StringHelper::factory($this->pattern)->arg($args);
    }
public function fetchObject(AbstractNode $node, array $siblings = array())
    {
        $this->currObj = $node;
        $this->currSib = $siblings;

        $args = array(
            $this->getPrefix(),
            $this->getCorpusIcon(),
            $this->getCorpusName(),
        );

        return StringHelper::factory($this->pattern)->arg($args);
    }
Returns the code needed to display a node in a TeamSpeak 3 viewer.

@param  AbstractNode $node
@param  array $siblings
@return StringHelper