Esempio n. 1
0
 /**
  *    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;
         }
     }
 }
Esempio n. 2
0
 /**
  *    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;
         }
     }
 }