| Current Path : /var/www/libraries/jdom/html/grid/ |
| Current File : /var/www/libraries/jdom/html/grid/bool.php |
<?php
/** ______________________________________________
* o O | |
* ((((( o < JDom Class - Cook Self Service library |
* ( o o ) |______________________________________________|
* --------oOOO-----(_)-----OOOo---------------------------------- www.j-cook.pro --- +
* @version 2.5
* @package Cook Self Service
* @subpackage JDom
* @license GNU General Public License
* @author Jocelyn HUARD
*
* .oooO Oooo.
* ( ) ( )
* -------------\ (----) /----------------------------------------------------------- +
* \_) (_/
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
class JDomHtmlGridBool extends JDomHtmlGrid
{
/*
* Constuctor
* @namespace : requested class
* @options : Configuration
* @dataKey : database field name
* @dataObject : complete object row (stdClass or Array)
* @dataValue : value default = dataObject->dataKey
* @num : Num position in list
*
*
*/
function __construct($args)
{
parent::__construct($args);
}
function build()
{
//PROXY
if (isset($this->options['togglable']) && $this->options['togglable'])
return JDom::_('html.grid.task.state.bool', $this->options);
return JDom::_('html.fly.bool', $this->options);
}
}