2010-11-28 01:04:35 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The abstract ContentObject that will contain
|
|
|
|
* "parsed data" from the ProtocolHandler
|
|
|
|
* @author JPT
|
|
|
|
* @abstract
|
|
|
|
* @package Protocol
|
|
|
|
*/
|
|
|
|
abstract class Protocol_AbstractProtocolContentObject {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Contains the raw data.
|
2010-12-12 22:44:19 +01:00
|
|
|
* Standard attribute
|
2010-11-28 01:04:35 +01:00
|
|
|
* @var string
|
|
|
|
*/
|
2010-12-12 22:44:19 +01:00
|
|
|
protected $rawData;
|
2010-11-28 01:04:35 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Default constructor.
|
2010-12-12 22:44:19 +01:00
|
|
|
* Sets the raw data.
|
2010-11-28 01:04:35 +01:00
|
|
|
* @return void
|
|
|
|
*/
|
2010-12-18 15:42:56 +01:00
|
|
|
public function __construct($rawData) {
|
2010-11-28 01:04:35 +01:00
|
|
|
$this->rawData = $rawData;
|
|
|
|
}
|
2010-12-12 22:44:19 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns raw data.
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getRawData() {
|
|
|
|
return $this->rawData;
|
|
|
|
}
|
2010-11-28 01:04:35 +01:00
|
|
|
}
|
|
|
|
?>
|