diff options
author | Andrew Manning <tamanning@zoho.com> | 2017-02-01 17:08:46 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2017-02-01 17:08:46 -0500 |
commit | 61407ad6c833b67398736e04742f8e6ca0c17a2a (patch) | |
tree | c0290a76fea464e1e1bcf5aea1e3a99d82518420 /Zotlabs/Render/Comanche.php | |
parent | d3d540a28b2dd0b4958d129cceeba162c271302b (diff) | |
parent | ec037abf92be6ac6495cabcd5d64821655f39e37 (diff) | |
download | volse-hubzilla-61407ad6c833b67398736e04742f8e6ca0c17a2a.tar.gz volse-hubzilla-61407ad6c833b67398736e04742f8e6ca0c17a2a.tar.bz2 volse-hubzilla-61407ad6c833b67398736e04742f8e6ca0c17a2a.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs/Render/Comanche.php')
-rw-r--r-- | Zotlabs/Render/Comanche.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php index 048921670..5826063fd 100644 --- a/Zotlabs/Render/Comanche.php +++ b/Zotlabs/Render/Comanche.php @@ -99,6 +99,17 @@ class Comanche { } } + /** + * Currently supported condition variables: + * + * $config.xxx.yyy - get_config with cat = xxx and k = yyy + * $request - request uri for this page + * $observer.language - viewer's preferred language (closest match) + * $observer.address - xchan_addr or false + * $observer.name - xchan_name or false + * $observer - xchan_hash of observer or empty string + */ + function get_condition_var($v) { if($v) { $x = explode('.',$v); |