* @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 */ class Oscar_TLV_Unavailable_Type extends Oscar_TLV { /* Type of this TLV */ const TYPE = 0x0003; public $ContentType = ""; // {{{ __construct /** * Create this class * * @param object $Parent * @param string $ContentType (optional) * * @access friendly * @return void */ function __construct ($Parent, $ContentType = "") { parent::__construct ($Parent, self::TYPE, $ContentType); $this->ContentType = $ContentType; } // }}} // {{{ parse /** * @access public * @return void */ public function parse () { $this->ContentType = $this->Data; } // }}} // {{{ generate /** * @access public * @return string */ public function generate () { $this->Data = $this->ContentType; return parent::generate (); } // }}} } ?>