Example #1
0
 /**
  * Renders a component a returns it HTML code.
  *
  * @param bool $force TRUE to re-render a already rendered component,
  *                    otherwise FALSE to use cached result if exist
  *
  * @author Benjamin Carl <*****@*****.**>
  *
  * @return string|null A string containing the resulting HTML code,
  *                     NULL on error
  */
 public function render($force = false)
 {
     // Do custom sort and stuff like this and proxy forward the call to render to renderer->render(...)
     $this->setChildren($this->sort($this->order));
     // Return the rendered result
     return parent::render($force);
 }