Your IP : 216.73.216.68


Current Path : /home/sunflowe/www2/vacancesfloride/libraries/gantry/html/layouts/
Upload File :
Current File : /home/sunflowe/www2/vacancesfloride/libraries/gantry/html/layouts/doc_body.php

<?php
/**
 * @version   $Id: doc_body.php 27460 2015-03-08 07:58:34Z matias $
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2016 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 *
 * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
 *
 */
defined('GANTRY_VERSION') or die();

gantry_import('core.gantrylayout');

/**
 *
 * @package    gantry
 * @subpackage html.layouts
 */
class GantryLayoutDoc_Body extends GantryLayout {
    var $render_params = array(
        'classes'       =>  null,
        'id'            =>  null
    );
    function render($params = array()){
        /** @var $gantry Gantry */
		global $gantry;

        $fparams = $this-> _getParams($params);

    ob_start();
	//XHTML LAYOUT
?><?php if(null != $fparams->id):?>id="<?php echo $this->escape($fparams->id);?>"<?php endif;?> <?php if(strlen($fparams->classes) > 0):?>class="<?php echo $this->escape($fparams->classes); ?>"<?php endif;?><?php
	return ob_get_clean();
    }
}