Michael Harris wrote: > >> Vocabulary::feature_mask($hierarchical, $required, $multiple, $free) >> Produce a BitMask for use with Vocabulary::add(). Convenience method. > > You don't have a Vocabulary::add() function. I assume you mean "for > use with new Vocabulary()" ?
Yes. >> ->get_term($term) >> Gets the term object for that string. No parameter returns the root Term >> object. (?) > > You have a ?. This seems reasonable behaviour to me. Ok, good. Sometimes I wonder about things like this. >> ->term >> The term text. Gets converted to slug. >> ->term_display >> The term text, unconverted. > > Why not ->slug and ->term respectively ? > Because "slug" is a meaningless word. But the thing most often done should be the easiest thing to do (shortest thing to type). But I guess slug is consistent. Before you think this entirely me screwing around: If I had used ->slug and ->term instead, would you have known what was going on faster than using ->term and ->term_display? There is no correct answer, just questions. Owen --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
