diff options
| author | spider@app1 <spiderr@bitweaver.org> | 2016-06-21 22:07:06 -0400 |
|---|---|---|
| committer | spider@app1 <spiderr@bitweaver.org> | 2016-06-21 22:07:06 -0400 |
| commit | 74d25631291e710537e6c56981eefa48204e23e3 (patch) | |
| tree | 06783bfd503c5796da774a82cfdfc909c088599f | |
| parent | 1ad8a97e099cada49e7026a07707bfd90b16d749 (diff) | |
| download | wiki-74d25631291e710537e6c56981eefa48204e23e3.tar.gz wiki-74d25631291e710537e6c56981eefa48204e23e3.tar.bz2 wiki-74d25631291e710537e6c56981eefa48204e23e3.zip | |
change-class-var-to-public
| -rw-r--r-- | BitBook.php | 4 | ||||
| -rw-r--r-- | BitPage.php | 4 | ||||
| -rw-r--r-- | plugins_lib.php | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/BitBook.php b/BitBook.php index 19933fb..3845e2e 100644 --- a/BitBook.php +++ b/BitBook.php @@ -38,8 +38,8 @@ define('BITBOOK_CONTENT_TYPE_GUID', 'bitbook' ); * @package wiki */ class BitBook extends BitPage { - var $mPageId; - var $mPageName; + public $mPageId; + public $mPageName; function __construct( $pPageId=NULL, $pContentId=NULL ) { parent::__construct( $pPageId, $pContentId ); $this->registerContentType( BITBOOK_CONTENT_TYPE_GUID, array( diff --git a/BitPage.php b/BitPage.php index c8584b4..3e8eacf 100644 --- a/BitPage.php +++ b/BitPage.php @@ -19,8 +19,8 @@ require_once( LIBERTY_PKG_PATH.'LibertyMime.php' ); * @package wiki */ class BitPage extends LibertyMime implements BitCacheable { - var $mPageId; - var $mPageName; + public $mPageId; + public $mPageName; function __construct( $pPageId=NULL, $pContentId=NULL ) { parent::__construct(); diff --git a/plugins_lib.php b/plugins_lib.php index b704dfb..61ffe41 100644 --- a/plugins_lib.php +++ b/plugins_lib.php @@ -28,25 +28,25 @@ * @version $Revision$ */ class PluginsLib extends BitBase { - var $_errors; - var $_data; - var $_params; + public $_errors; + public $_data; + public $_params; /** * Array of params to be expanded as arrays. Explode the string with {@link $separator} * @var array */ - var $expanded_params = array(); + public $expanded_params = array(); /** * Separator used to explote params listed on {@link $expanded_params} * @var string */ - var $separator = "|"; + public $separator = "|"; /** * List of fields retrieved from {@link BitBase::list_pages()} * Keys are the name of the fields and values the names for tra(); * @var array */ - var $aInfoPresetNames = array( + public $aInfoPresetNames = array( "hits" => "Hits", "last_modified" => "Last mod", "user" => "Last author", "len" => "Size", "comment" => "Com", "creator" => "Creator", "version" => "Last ver", "flag" => "Status", "versions" => "Vers", "links" => "Links", "backlinks" => "Backlinks"); /** |
