function __construct($version = 1.1) { $version = $version ? $version : 1.1; if (is_float($version)) { $version = (string) $version; $version .= '.0'; } $this->depends['jQuery'] = 'jQuery'; parent::__construct($version); }
function __construct($version = 1) { $version = $version ? $version : 1; parent::__construct($version); }
function __construct($version = '1.0.1') { $version = $version ? $version : '1.0.1'; parent::__construct($version); }