* @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/common.php"); require_once ("oscar/snac/feedbag/items.php"); class Oscar_SNAC_Feedbag_Reply extends Oscar_SNAC_Feedbag_Items { /* About this class */ const SNAC_FAMILY = 0x0013; const SNAC_SERVICE = 0x0006; /* Properties on this class */ public $Version = 0; public $LastMod = 0; // {{{ parse /** * Parse response from server * * @access public * @return void */ public function parse () { $this->Version = Oscar_Common::str2int8 ($this->Data, 0, true); $maxItems = Oscar_Common::str2int16 ($this->Data, 0, true); $this->LastMod = Oscar_Common::str2int32 ($this->Data, strlen ($this->Data) - 4, true); parent::parse ($maxItems); } // }}} } ?>