From 732065bf13af96f680bc9874afee71c07f74e40a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 31 Jan 2017 15:28:25 -0800 Subject: channel export - use a selected list of functional data categories to export; this allows one to export single data sets instead of always exporting everything we know about --- Zotlabs/Render/Comanche.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Zotlabs/Render') 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); -- cgit v1.2.3