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