Your IP : 216.73.216.240


Current Path : /home/j/u/v/juvelize/www/administrator/components/com_elioallvideos2/dom/html/fly/
Upload File :
Current File : /home/j/u/v/juvelize/www/administrator/components/com_elioallvideos2/dom/html/fly/default.php

<?php
/**                               ______________________________________________
*                          o O   |                                              |
*                 (((((  o      <     JDom Class - Cook Self Service library    |
*                ( o o )         |______________________________________________|
* --------oOOO-----(_)-----OOOo---------------------------------- www.j-cook.pro --- +
* @version		1.0.0
* @package		Cook Self Service
* @subpackage	JDom
* @license		GNU General Public License
* @author		100% Vitamin - Jocelyn HUARD
*
*	-> You can reuse this framework for all purposes. Keep this signature. <-
*
* /!\  Joomla! is free software.
* This version may have been modified pursuant to the GNU General Public License,
* and as distributed it includes or is derivative of works licensed under the
* GNU General Public License or other free or open source software licenses.
*
*             .oooO  Oooo.     See COPYRIGHT.php for copyright notices and details.
*             (   )  (   )
* -------------\ (----) /----------------------------------------------------------- +
*               \_)  (_/
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );


class JDomHtmlFlyDefault extends JDomHtmlFly
{
	var $level = 3;			//Namespace position
	var $last = true;

	private $text;
	private $images;

	/*
	 * Constuctor
	 * 	@namespace 	: requested class
	 *  @options	: Configuration
	 * 	@dataKey	: database field name
	 * 	@dataObject	: complete object row (stdClass or Array)
	 * 	@dataValue	: value  default = dataObject->dataKey
	 *
	 *
	 */
	function __construct($args)
	{
		parent::__construct($args);
	}

	function build()
	{
		$html = "";

		if (isset($this->dataValue))
			$html = $this->dataValue;

		$encapsulate = false;
		if (count($this->styles) || count($this->classes) || count($this->selectors))
			$encapsulate = true;


		if ($encapsulate)
			$html = '<span<%CLASS%><%STYLE%><%SELECTORS%>>' . $html . '</span>';

		return $html;
	}

}