MINOR: removed incorrect getter/setter statements.

This commit is contained in:
Will Rossiter 2011-09-07 13:08:54 +12:00
parent 79f3d02186
commit dc84665ec2

View File

@ -74,22 +74,6 @@ Static variables should be `self::$lowercase_with_underscores`
:::php
self::$my_static_variable = 'foo';
Wherever possible, set up static variables like this:
:::php
protected static $simple_setting = 50;
static function set_simple_setting($v) {self::$simple_setting = $v;}
static function get_simple_setting() {return self::$simple_setting;}
protected static $more_complex_variable = "default value";
static function set_more_complex_variable($v) {self::$more_complex_variable = $v;}
static function get_more_complex_variable() {
//complex code here;
//complex code here;
}
....
Object variables should be `$this->lowerCamelCase`
:::php