summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2015-12-08 12:45:40 +0000
committerlsces <lester@lsces.co.uk>2015-12-08 12:45:40 +0000
commit1d7716a2e6fc0980d151e6c849a985d9e5400a2b (patch)
tree641bda35e182bf35138c82be5456b5428c370d52
parentc8bf9217884c10f8d1ef9dad62a092537b1da8db (diff)
downloadarticles-1d7716a2e6fc0980d151e6c849a985d9e5400a2b.tar.gz
articles-1d7716a2e6fc0980d151e6c849a985d9e5400a2b.tar.bz2
articles-1d7716a2e6fc0980d151e6c849a985d9e5400a2b.zip
Rename constructor for PHP7 compliance
-rw-r--r--BitArticle.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/BitArticle.php b/BitArticle.php
index e12367a..98ae73a 100644
--- a/BitArticle.php
+++ b/BitArticle.php
@@ -1,9 +1,12 @@
<?php
/**
+ * Article class is used when accessing BitArticles. It is based on TikiSample
+ * and builds on core bitweaver functionality, such as the Liberty CMS engine.
+ *
* @version $Header$
* @package articles
*
- * Copyright( c )2004 bitweaver.org
+ * @copyright 2004-15 bitweaver.org
* Copyright( c )2003 tikwiki.org
* Copyright( c )2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
* All Rights Reserved. See below for details and a complete list of authors.
@@ -11,10 +14,6 @@
*
* $Id$
*
- * Article class is used when accessing BitArticles. It is based on TikiSample
- * and builds on core bitweaver functionality, such as the Liberty CMS engine.
- *
- * created 2004/8/15
* @author wolffy <wolff_borg@yahoo.com.au>
* @version $Revision$
*/
@@ -47,7 +46,7 @@ class BitArticle extends LibertyMime
* @param $pContentId content id of the article we want to view
* @access private
**/
- public function BitArticle($pArticleId=NULL, $pContentId=NULL)
+ function __construct($pArticleId=NULL, $pContentId=NULL)
{
parent::__construct();
$this->registerContentType(