Changed static to self calls

This commit is contained in:
Deon George
2013-12-26 21:39:49 +11:00
parent a7fcddc48c
commit a23a19b581
9 changed files with 37 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ abstract class lnApp_Block extends HTMLRender {
* Render this Block
*/
protected function render() {
$record = static::$_data[$this->_x];
$record = self::$_data[$this->_x];
$output = '';
$output .= sprintf('<div class="span%s %s">',empty($record['span']) ? '12' : $record['span'],empty($record['scrollable']) ? '' : 'scrollable');