* @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_EMail extends Oscar_TLV { /* Type of this TLV */ const TYPE = 0x0011; // {{{ __construct /** * Constructor of this object * * @param object $Parent (optional) * @param string $EMail (optional) * * @access public * @return void */ public function __construct (&$Parent = null, $EMail = "") { parent::__construct ($Parent); self::setEMail ($EMail); } // }}} // {{{ setEMail /** * Set E-Mail Address * * @param string $EMail * * @access public * @return void */ public function setEMail ($EMail) { $this->Data = $EMail; } // }}} } ?>