Lines Matching defs:message
9 public $message;
27 public function __construct($message)
29 $this->message =& $message;
36 $header = preg_replace('/<\?xml.*?\?' . '>/s', '', substr($this->message, 0, 100), 1);
37 $this->message = trim(substr_replace($this->message, $header, 0, 100));
38 if ('' == $this->message) {
43 $header = preg_replace('/^<!DOCTYPE[^>]*+>/i', '', substr($this->message, 0, 200), 1);
44 $this->message = trim(substr_replace($this->message, $header, 0, 200));
45 if ('' == $this->message) {
50 $root_tag = substr($this->message, 0, strcspn(substr($this->message, 0, 20), "> \t\r\n"));
60 if ($element_limit && 2 * $element_limit < substr_count($this->message, '<')) {
74 if (strlen($this->message) <= $chunk_size) {
77 $part = substr($this->message, 0, $chunk_size);
78 $this->message = substr($this->message, $chunk_size);