ircbot/IrcClient/Classes/Protocol/IrcProtocolContentObject.php

144 lines
2.0 KiB
PHP
Raw Permalink Normal View History

2013-09-05 11:55:43 +02:00
<?php
/**
* ContentObject for IRC Protocol
* @author JPT
* @package Protocol
*/
class Protocol_IrcProtocolContentObject extends Protocol_AbstractProtocolContentObject {
/**
* @var string
*/
protected $sender;
/**
* @var string
*/
protected $command;
/**
* @var string
*/
protected $params;
/**
* Contains a user or the channel a command is addressed to.
* @var string
*/
protected $target;
/**
* @var string
*/
protected $message;
/**
* @var string
*/
protected $subject;
/**
* Sets sender.
* @param string $sender
* @return void
*/
public function setSender($sender) {
$this->sender = $sender;
}
/**
* Gets sender.
* @return string
*/
public function getSender() {
return $this->sender;
}
/**
* Sets command.
* @param string $command
* @return void
*/
public function setCommand($command) {
$this->command = $command;
}
/**
* Gets command.
* @return string
*/
public function getCommand() {
return $this->command;
}
/**
* Sets params.
* @param string $params
* @return void
*/
public function setParams($params) {
$this->params = $params;
}
/**
* Gets params.
* @return string
*/
public function getParams() {
return $this->params;
}
/**
* Sets target.
* @param string $target
* @return void
*/
public function setTarget($target) {
$this->target = $target;
}
/**
* Gets target.
* @return string
*/
public function getTarget() {
return $this->target;
}
/**
* Sets message.
* @param string $message
* @return void
*/
public function setMessage($message) {
$this->message = $message;
}
/**
* Gets message.
* @return string
*/
public function getMessage() {
return $this->message;
}
/**
* Sets subject.
* @param string $subject
* @return void
*/
public function setSubject($subject) {
$this->subject = $subject;
}
/**
* Gets subject.
* @return string
*/
public function getSubject() {
return $this->subject;
}
}
2010-11-28 01:04:35 +01:00
?>