mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Upgrade old style constructors that were missed
This commit is contained in:
parent
becb769167
commit
a52ed03b49
@ -32,7 +32,7 @@ class Profiler {
|
|||||||
/**
|
/**
|
||||||
* Initialise the timer. with the current micro time
|
* Initialise the timer. with the current micro time
|
||||||
*/
|
*/
|
||||||
public function Profiler( $output_enabled=false, $trace_enabled=false)
|
public function __construct( $output_enabled=false, $trace_enabled=false)
|
||||||
{
|
{
|
||||||
$this->description = array();
|
$this->description = array();
|
||||||
$this->startTime = array();
|
$this->startTime = array();
|
||||||
|
@ -136,7 +136,7 @@ class SSHTMLBBCodeParser
|
|||||||
* @access public
|
* @access public
|
||||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||||
*/
|
*/
|
||||||
public function SSHTMLBBCodeParser($options = array())
|
public function __construct($options = array())
|
||||||
{
|
{
|
||||||
// set the already set options
|
// set the already set options
|
||||||
$baseoptions = &SSHTMLBBCodeParser::getStaticProperty('SSHTMLBBCodeParser', '_options');
|
$baseoptions = &SSHTMLBBCodeParser::getStaticProperty('SSHTMLBBCodeParser', '_options');
|
||||||
|
@ -13,7 +13,7 @@ class SpellChecker {
|
|||||||
*
|
*
|
||||||
* @param $config Configuration name/value array.
|
* @param $config Configuration name/value array.
|
||||||
*/
|
*/
|
||||||
function SpellChecker(&$config) {
|
function __construct(&$config) {
|
||||||
$this->_config = $config;
|
$this->_config = $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class Moxiecode_JSONReader {
|
|||||||
var $_location, $_lastLocations;
|
var $_location, $_lastLocations;
|
||||||
var $_needProp;
|
var $_needProp;
|
||||||
|
|
||||||
function Moxiecode_JSONReader($data) {
|
function __construct($data) {
|
||||||
$this->_data = $data;
|
$this->_data = $data;
|
||||||
$this->_len = strlen($data);
|
$this->_len = strlen($data);
|
||||||
$this->_pos = -1;
|
$this->_pos = -1;
|
||||||
@ -360,7 +360,7 @@ class Moxiecode_JSONReader {
|
|||||||
* @package MCManager.utils
|
* @package MCManager.utils
|
||||||
*/
|
*/
|
||||||
class Moxiecode_JSON {
|
class Moxiecode_JSON {
|
||||||
function Moxiecode_JSON() {
|
function __construct() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function decode($input) {
|
function decode($input) {
|
||||||
|
@ -31,7 +31,7 @@ class Moxiecode_Logger {
|
|||||||
/**
|
/**
|
||||||
* Constructs a new logger instance.
|
* Constructs a new logger instance.
|
||||||
*/
|
*/
|
||||||
function Moxiecode_Logger() {
|
function __construct() {
|
||||||
$this->_path = "";
|
$this->_path = "";
|
||||||
$this->_filename = "{level}.log";
|
$this->_filename = "{level}.log";
|
||||||
$this->setMaxSize("100k");
|
$this->setMaxSize("100k");
|
||||||
|
Loading…
Reference in New Issue
Block a user