* @revision 03 * @license http://creativecommons.org/licenses/by-sa/3.0/de/ Creative Commons Attribution-Share Alike 3.0 Germany * @homepage http://oss.tiggerswelt.net/oscar/ * @copyright Copyright © 2009 tiggersWelt.net */ require_once ("oscar/snac/helper/tlv.php"); class Oscar_SNAC_Buddy_QueryRights extends Oscar_SNAC_Helper_TLV { /* About this class */ const SNAC_FAMILY = 0x0003; const SNAC_SERVICE = 0x0002; // {{{ getTLVClasses /** * Retrive a list of prefered TLV-Types for this SNAC * * @access protected * @return array */ protected function getTLVClasses () { return array ( "Oscar_TLV_Buddy_Query", ); } // }}} // {{{ addFeature /** * Add a feature-indication to this SNAC * * @param enum $Feature * * @access public * @return void **/ public function addFeature ($Feature) { $TLV = new Oscar_TLV_Buddy_Query ($this->getParent ()); $TLV->Value = $Feature; self::addTLV ($TLV); } // }}} } ?>