Fixes for render AJAX HTMLRender objects

This commit is contained in:
Deon George
2013-06-17 18:00:27 +10:00
parent 640e8a53ee
commit 5064f08999
19 changed files with 13 additions and 16884 deletions

View File

@@ -77,14 +77,14 @@ abstract class lnApp_HTMLRender {
/**
* Render all of these items
*/
public static function render_all() {
public function render_all() {
$output = '';
$o = static::factory();
for ($x=0; $x<static::$_c; $x++)
if (isset(static::$_data[$x]))
$output .= (string)$o->record($x);
if (isset(static::$_data[$x])) {
$output .= (string)$this->record($x);
unset(static::$_data[$x]);
}
return $output;
}