*/
public function __construct($type)
{
+ // call constructor of superclass first
+ parent::__construct();
+
global $catid;
- // call constructor of superclass first
- $this->initialize();
$this->skintype = $type;
if ( $catid )
*/
public function __construct()
{
- $this->initialize();
+ parent::__construct();
return;
}
private $aHighlight;
/**
- * BaseActions::BaseActions()
+ * BaseActions::__construct()
* Constructor for a new BaseAction object
*/
- protected function initialize()
+ protected function __construct()
{
$this->level = 0;
public function __construct(&$comments)
{
// call constructor of superclass first
- $this->initialize();
+ parent::__construct();
// reference to the comments object
$this->setCommentsObj($comments);
*/
public function __construct(&$blog)
{
- global $catid, $member;
// call constructor of superclass first
- $this->initialize();
+ parent::__construct();
+ global $catid, $member;
// extra parameters for created links
if ( $catid )
{
*/
public function __construct($blog_id)
{
- global $manager;
+ parent::__construct();
- parent::initialize();
+ global $manager;
$this->blog =& $manager->getBlog($blog_id);