Beispiel #1
0
 public function __construct()
 {
     parent::__construct();
     // This requires the FOF framework
     // Load the Joomla! RAD layer
     if (!defined('FOF_INCLUDED')) {
         include_once JPATH_LIBRARIES . '/fof/include.php';
     }
 }
Beispiel #2
0
 /**
  * Class constructor.
  *
  * @since	1.0
  * @access	public
  */
 public function __construct($options)
 {
     parent::__construct($options);
 }
Beispiel #3
0
 /**
  * Class constructor.
  *
  * @since	1.0
  * @access	public
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
 }
 /**
  * Class constructor.
  *
  * @since	1.0
  */
 public function __construct()
 {
     // Initialize our timezones.
     $this->initTimeZones();
     parent::__construct();
 }
Beispiel #5
0
 /**
  * Class constructor
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
 }
Beispiel #6
0
 /**
  * Handler for onFieldCheck trigger.
  *
  * @author Jason Rey <*****@*****.**>
  * @since  1.2
  * @access public
  * @param  SocialFieldItem	$class	Field class item
  * @param  Array			$data	Arguments to pass when triggering event
  * @param  Array			$result Result of the returned value by triggered event
  */
 public function onFieldCheck(&$class, &$data, &$result)
 {
     if (is_callable(array($class, __FUNCTION__))) {
         call_user_func_array(array($class, __FUNCTION__), $data);
         if ($class->hasError()) {
             return $result[$class->inputName] = $class->getError();
         }
     }
     return $result[$class->inputName] = $class->isRequired();
 }