* @revision 05 * @license http://creativecommons.org/licenses/by-sa/3.0/de/ Creative Commons Attribution-Share Alike 3.0 Germany * @homepage http://oss.tiggerswelt.net/xmpp * @copyright Copyright © 2008 tiggersWelt.net */ require_once ('tiggerXMPP/packet.php'); /** * XMPP Message-Body Packet * * @package tiggerXMPP * @class tiggerXMPP_Message_Body */ class tiggerXMPP_Message_Body extends tiggerXMPP_Packet { const TAG_NAME = 'body'; // {{{ __construct /** * Create a new message-body * * @param string $Name (ignored) * @param object $Parent (optional) * @param string $Message (optional) * @param string $Language (optional) * * @access friendly * @return void **/ function __construct ($Name = '', $Parent = null, $Message = '', $Lang = null) { parent::__construct (self::TAG_NAME, $Parent, $Message); if ($Lang != null) $this->setLanguage ($Lang); } // }}} // {{{ getAttributes /** * Retrive a list of attributes for this tag * * @access public * @return array **/ public function getAttributes () { return array (); } // }}} } ?>