aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-03 19:30:52 -0700
committerfriendica <info@friendica.com>2013-07-03 19:30:52 -0700
commit8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6 (patch)
tree137ec95ddb45124ef619c2a3068db4518ddad09e /include/taxonomy.php
parent1af5ecf1af7111020d99a7f274e7fed2bbc663f1 (diff)
downloadvolse-hubzilla-8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6.tar.gz
volse-hubzilla-8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6.tar.bz2
volse-hubzilla-8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6.zip
$yoursite/thing?f=&verb=has&term=big+balls
These will eventually be listed by category in your profile and you will be able to have different lists in different profiles (which is why the multi-profile feature needed to get finished before I could get any further along on this...) have fun
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 6b7987ba6..1ccb18b47 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -171,3 +171,18 @@ function tagblock($link,$uid,$count = 0,$authors = '',$flags = 0,$type = TERM_HA
}
return $o;
}
+
+
+function obj_verbs() {
+ $verbs = array(
+ 'has' => array( t('have'), t('has')),
+ 'wants' => array( t('want'), t('wants')),
+ 'likes' => array( t('like'), t('likes')),
+ 'dislikes' => array( t('dislike'), t('dislikes')),
+ );
+
+ $arr = array('verbs' => $verbs);
+ call_hooks('obj_verbs', $arr);
+ return $arr['verbs'];
+}
+