SimplePhpPageBuilder::addContentToAllOpenTags PHP Method

addContentToAllOpenTags() protected method

Any content fills all currently open tags unless it is part of an option tag.
protected addContentToAllOpenTags ( string $text )
$text string May include unparsed tags.
    protected function addContentToAllOpenTags($text)
    {
        foreach (array_keys($this->tags) as $name) {
            for ($i = 0, $count = count($this->tags[$name]); $i < $count; $i++) {
                $this->tags[$name][$i]->addContent($text);
            }
        }
    }