diff options
| author | spiderr <spider@viovio.com> | 2012-05-06 12:42:10 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-06 12:42:10 -0400 |
| commit | b0fc0ccca2225263557d11fe14495749b4a06594 (patch) | |
| tree | 95e5ae300e938a98b2326f9bf52a8b92ce77f5f3 | |
| parent | 5a4f2a7dbe3c87a397842d9749c045a85f52045a (diff) | |
| download | languages-b0fc0ccca2225263557d11fe14495749b4a06594.tar.gz languages-b0fc0ccca2225263557d11fe14495749b4a06594.tar.bz2 languages-b0fc0ccca2225263557d11fe14495749b4a06594.zip | |
replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct()
| -rw-r--r-- | Bablotron.php | 2 | ||||
| -rw-r--r-- | BitLanguage.php | 2 | ||||
| -rw-r--r-- | LibertyTranslations.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Bablotron.php b/Bablotron.php index d0ecd5f..5325e78 100644 --- a/Bablotron.php +++ b/Bablotron.php @@ -46,7 +46,7 @@ class Bablotron extends BitBase /** * Spellchecking and finding of alternative words */ - function Bablotron( $lan ) + function __construct( $lan ) { parent::__construct(); $this->lan = $lan; diff --git a/BitLanguage.php b/BitLanguage.php index 124c35d..3644896 100644 --- a/BitLanguage.php +++ b/BitLanguage.php @@ -22,7 +22,7 @@ class BitLanguage extends BitBase { /** * initiate BitLanguage */ - function BitLanguage () { + function __construct() { parent::__construct(); global $gBitSystem; diff --git a/LibertyTranslations.php b/LibertyTranslations.php index ba6cb90..d0e0c1a 100644 --- a/LibertyTranslations.php +++ b/LibertyTranslations.php @@ -10,9 +10,9 @@ * @package languages */ class LibertyTranslations extends LibertyBase { - function LibertyTranslations( $pContentId = NULL ) { + function __construct( $pContentId = NULL ) { $this->mContentId = $pContentId; - LibertyBase::LibertyBase(); + parent::__construct(); } function getContentTranslations() { |
