public function setBodyAttributes($layout, $data = array()){

        $data = Arr::merge($data, array('body' => array(
            'attributes' => array('class' => static::$tplPrefixClass.str_replace(array('::', '.'), '-', $layout))
        )));

        $data = $this->getCommonVars($data);

        view()->share('body', $data['body']);

        return $data;
    }
public function setBodyAttributes($layout, $data = array()){

        $data = Arr::merge($data, array('body' => array(
            'attributes' => array('class' => static::$tplPrefixClass.str_replace(array('::', '.'), '-', $layout))
        )));

        $data = $this->getCommonVars($data);

        view()->share('body', $data['body']);

        return $data;
    }
public function setBodyAttributes ( $ layout , $ data = array ( ) ) { $ data = Arr :: merge ( $ data , array ( 'body' => array ( 'attributes' => array ( 'class' => static :: $ tplPrefixClass . str_replace ( array ( '::' , '.' ) , '-' , $ layout ) ) ) ) ) ; $ data = $ this -> getCommonVars ( $ data ) ; view ( ) -> share ( 'body' , $ data [ 'body' ] ) ; return $ data ; }
Set body attributes
Set body attributes