* @revision 03 * @license http://creativecommons.org/licenses/by-sa/3.0/de/ Creative Commons Attribution-Share Alike 2.0 Germany * @homepage http://oss.tiggerswelt.net/oscar/ * @copyright Copyright © 2009 tiggersWelt.net */ require_once ("oscar/tlv/helper/string.php"); class Oscar_TLV_Logon_Username extends Oscar_TLV_Helper_String { /* Type of this TLV */ const TYPE = 0x0001; // {{{ __construct /** * Construct this TLV * * @param object $Parent (optional) * @param string $Username (optional) * * @access friendly * @return void */ function __construct ($Parent = null, $Username = null) { // Inherit to our parent parent::__construct ($Parent, self::TYPE); // Set username if ($Username !== null) $this->Value = $Username; } // }}} } ?>