Commit b4eb7a72 by Scott

Make theme class properties public

Allows access from widgets, which get passed the theme object.
Fixes #207.
parent 4aed5abe
......@@ -39,16 +39,16 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
class qa_html_theme_base
{
public $template;
public $content;
public $rooturl;
public $request;
public $isRTL; // (boolean) whether text direction is Right-To-Left
protected $indent = 0;
protected $lines = 0;
protected $context = array();
protected $template;
protected $content;
protected $rooturl;
protected $request;
protected $isRTL; // (boolean) whether text direction is Right-To-Left
// whether to use new block layout in rankings (true) or fall back to tables (false)
protected $ranking_block_layout = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment