public function render($src, $class = '', $id = '', array $attrs = array())
    {
        $attrs = array_merge(array(
            'frameborder' => 0,
            'content'     => null,
            'tag'         => 'iframe',
            'src'         => Str::trim($src)
        ), $attrs);

        $attrs   = $this->_cleanAttrs($attrs);
        $content = $attrs['content'];
        unset($attrs['content']);

        return Html::_('tag')->render($content, Str::trim($class), Str::trim($id), $attrs);
    }
public function render($src, $class = '', $id = '', array $attrs = array())
    {
        $attrs = array_merge(array(
            'frameborder' => 0,
            'content'     => null,
            'tag'         => 'iframe',
            'src'         => Str::trim($src)
        ), $attrs);

        $attrs   = $this->_cleanAttrs($attrs);
        $content = $attrs['content'];
        unset($attrs['content']);

        return Html::_('tag')->render($content, Str::trim($class), Str::trim($id), $attrs);
    }
public function render ( $ src , $ class = '' , $ id = '' , array $ attrs = array ( ) ) { $ attrs = array_merge ( array ( 'frameborder' => 0 , 'content' => null , 'tag' => 'iframe' , 'src' => Str :: trim ( $ src ) ) , $ attrs ) ; $ attrs = $ this -> _cleanAttrs ( $ attrs ) ; $ content = $ attrs [ 'content' ] ; unset ( $ attrs [ 'content' ] ) ; return Html :: _ ( 'tag' ) -> render ( $ content , Str :: trim ( $ class ) , Str :: trim ( $ id ) , $ attrs ) ; }
Create iframe.

@param string $src
@param string $class
@param string $id
@param array $attrs
@return string
Create iframe .