[TASK] Updated variable names to lowerCamelCase.

This commit is contained in:
Jan Philipp Timme
2011-06-25 23:16:28 +00:00
parent 78866ed149
commit df030e453d
7 changed files with 103 additions and 103 deletions
+5 -5
View File
@@ -18,8 +18,8 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
*/
public function createBuffers() {
$this->linebreak = "\n";
$this->buffer_incoming = new Misc_Buffer($this->linebreak);
$this->buffer_outgoing = new Misc_Buffer($this->linebreak);
$this->bufferIncoming = new Misc_Buffer($this->linebreak);
$this->bufferOutgoing = new Misc_Buffer($this->linebreak);
}
/**
@@ -31,7 +31,7 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
* @throws Exception_GeneralException
*/
public function work() {
$data = $this->buffer_incoming->getNextLine();
$data = $this->bufferIncoming->getNextLine();
//create contentObject and set the raw data.
$contentObject = new Protocol_IrcProtocolContentObject($data);
@@ -176,7 +176,7 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
* @return boolean
*/
public function canWork() {
return $this->buffer_incoming->hasLines();
return $this->bufferIncoming->hasLines();
}
/**
@@ -187,7 +187,7 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
* @return void
*/
public function sendRaw($data) {
$this->buffer_outgoing->addData($data . $this->linebreak);
$this->bufferOutgoing->addData($data . $this->linebreak);
}
/**