summaryrefslogtreecommitdiff
path: root/LibertyStructure.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-06 12:42:24 -0400
committerspiderr <spider@viovio.com>2012-05-06 12:42:24 -0400
commitb4dfb3dc3cb30744fe9aad92db8249df15042c53 (patch)
tree932d87ccd8a817de43851920cc0077f46faeb076 /LibertyStructure.php
parent21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b (diff)
downloadliberty-b4dfb3dc3cb30744fe9aad92db8249df15042c53.tar.gz
liberty-b4dfb3dc3cb30744fe9aad92db8249df15042c53.tar.bz2
liberty-b4dfb3dc3cb30744fe9aad92db8249df15042c53.zip
replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct()
Diffstat (limited to 'LibertyStructure.php')
-rw-r--r--LibertyStructure.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyStructure.php b/LibertyStructure.php
index b9c8889..053729f 100644
--- a/LibertyStructure.php
+++ b/LibertyStructure.php
@@ -19,9 +19,9 @@ require_once( LIBERTY_PKG_PATH.'LibertyBase.php' );
class LibertyStructure extends LibertyBase {
var $mStructureId;
- function LibertyStructure ( $pStructureId=NULL, $pContentId=NULL ) {
+ function __construct( $pStructureId=NULL, $pContentId=NULL ) {
// we need to init our database connection early
- LibertyBase::LibertyBase();
+ parent::__construct();
$this->mStructureId = $pStructureId;
$this->mContentId = $pContentId;
}