* @revision 03 * @license http://creativecommons.org/licenses/by-sa/2.0/de/ Creative Commons Attribution-Share Alike 2.0 Germany * @homepage http://oss.tiggerswelt.net/oscar/ * @copyright Copyright © 2008 tiggersWelt.net */ class Oscar_TLV_Unavailable_Data extends Oscar_TLV { /* Type of this TLV */ const TYPE = 0x0004; public $Message = ""; // {{{ __construct /** * Create this class * * @param object $Parent * @param string $Message (optional) * * @access friendly * @return void */ function __construct ($Parent, $Message = "") { parent::__construct ($Parent, self::TYPE, $Message); $this->Message = $Message; } // }}} // {{{ parse /** * @access public * @return void */ public function parse () { $this->Message = $this->Data; } // }}} // {{{ generate /** * @access public * @return string */ public function generate () { $this->Data = $this->Message; return parent::generate (); } // }}} } ?>