Exemple #1
0
 /**
  * Constructor.
  *
  * @param   array    $params	Associative array of values.
  * 
  * @since   11.1
  * 
  * @deprecated
  */
 function __construct($params = array())
 {
     static $loaded = false;
     parent::__construct($params);
     if (!$loaded) {
         $this->_loadBehavior($params);
         $loaded = true;
     }
 }
Exemple #2
0
 /**
  * Constructor.
  *
  * @param   array  $params  Associative array of values.
  *
  * @since   11.1
  *
  * @deprecated    12.1
  */
 function __construct($params = array())
 {
     // Deprecation warning.
     JLog::add('JPanelSliders::__construct is deprecated.', JLog::WARNING, 'deprecated');
     static $loaded = false;
     parent::__construct($params);
     if (!$loaded) {
         $this->_loadBehavior($params);
         $loaded = true;
     }
 }