summaryrefslogtreecommitdiff
path: root/classes/Related_group.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-26 09:25:39 -0800
committerBrion Vibber <brion@pobox.com>2010-01-26 10:33:20 -0800
commitad6f0501ff24cb287dedd21271d58c91e64b6b43 (patch)
tree5201d56655f81ed35e0a4dc6fd6fd1cfcd68f7ea /classes/Related_group.php
parente05c32572234dc0b4adb19be7bbe9879f49ec7ee (diff)
Site metadata tags in status_network: single 'tags' field, pipe-separated.
$sn->tags() returns tag list as array; $sn->hasTag('blah') to check for a particular tag only Could be used to control things in config file: $sn = Status_network::setupSite($_server, $_path, $_wildcard); if (!$sn) { die("No such site"); } if ($sn->hasTag('individual')) { /* blah */ } Note memcached keys are unchanged; if tags are changed from an external tool clear: statusnet:<dbname>:status_network:<key>:<val> for <key>s 'nickname', 'hostname', and 'pathname'
Diffstat (limited to 'classes/Related_group.php')
0 files changed, 0 insertions, 0 deletions