The Red Matrix
 All Classes Namespaces Files Functions Variables Pages
taxonomy.php File Reference

Functions

 file_tag_encode ($s)
 
 file_tag_decode ($s)
 
 file_tag_file_query ($table, $s, $type= 'file')
 
 term_query ($table, $s, $type=TERM_UNKNOWN)
 
 store_item_tag ($uid, $iid, $otype, $type, $term, $url= '')
 
 get_terms_oftype ($arr, $type)
 
 format_term_for_display ($term)
 
 tagadelic ($uid, $count=0, $authors= '', $flags=0, $restrict=0, $type=TERM_HASHTAG)
 
 tags_sort ($a, $b)
 
 dir_tagadelic ($count=0)
 
 tagblock ($link, $uid, $count=0, $authors= '', $flags=0, $restrict=0, $type=TERM_HASHTAG)
 
 dir_tagblock ($link, $r)
 
 obj_verbs ()
 
 obj_verb_selector ()
 

Function Documentation

dir_tagadelic (   $count = 0)

Referenced by dirsearch_content().

dir_tagblock (   $link,
  $r 
)

Referenced by directory_content().

file_tag_decode (   $s)
file_tag_encode (   $s)
file_tag_file_query (   $table,
  $s,
  $type = 'file' 
)

Referenced by lastpost_content().

format_term_for_display (   $term)

Referenced by conversation().

obj_verb_selector ( )

Referenced by thing_content().

obj_verbs ( )

verbs: [0] = first person singular, e.g. "I want", [1] = 3rd person singular, e.g. "Bill wants" We use the first person form when creating an activity, but the third person for use in activities FIXME: There is no accounting for verb gender for languages where this is significant. We may eventually require obj_verbs() to provide full conjugations and specify which form to use in the $_REQUEST params to this module.

Referenced by advanced_profile(), obj_verb_selector(), and thing_init().

store_item_tag (   $uid,
  $iid,
  $otype,
  $type,
  $term,
  $url = '' 
)
tagadelic (   $uid,
  $count = 0,
  $authors = '',
  $flags = 0,
  $restrict = 0,
  $type = TERM_HASHTAG 
)

Referenced by tagblock(), and widget_tagcloud().

tagblock (   $link,
  $uid,
  $count = 0,
  $authors = '',
  $flags = 0,
  $restrict = 0,
  $type = TERM_HASHTAG 
)

Referenced by channel_aside(), and lastpost_aside().

tags_sort (   $a,
  $b 
)
term_query (   $table,
  $s,
  $type = TERM_UNKNOWN 
)