Permalink
Browse files

Appropriate PHP4 and PHP5 constructor methods.

git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@369 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent 982c613 commit 7a9980c7d8598d65c3fe8ea12d3683167b97783f greenshady committed Oct 13, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 classes/hybrid.php
View
@@ -18,21 +18,21 @@ class Hybrid {
var $prefix;
/**
- * Constructor method for the Hybrid class. Just calls the init() method.
+ * PHP4 constructor method.
*
* @since 0.9
*/
function Hybrid() {
- $this->init();
+ $this->__construct();
}
/**
- * Initializes the theme framework, loads the required files, and calls the
- * functions needed to run the theme.
+ * Constructor method for the Hybrid class. Initializes the theme framework, loads the
+ * required files, and calls the functions needed to run the framework.
*
- * @since 0.7
+ * @since 0.9.1
*/
- function init() {
+ function __construct() {
/* Define theme constants. */
$this->constants();

0 comments on commit 7a9980c

Please sign in to comment.