SimplePhpPageBuilder::acceptFrame PHP Method

acceptFrame() protected method

Takes a single frame tag and stashes it in the current frame set.
protected acceptFrame ( SimpleFrameTag $tag )
$tag SimpleFrameTag Tag to accept.
    protected function acceptFrame($tag)
    {
        if ($this->isLoadingFrames()) {
            if ($tag->getAttribute('src')) {
                $this->loading_frames[] = $tag;
            }
        }
    }