Esempio n. 1
0
 /**
  * Return a string representation of the class
  * 
  * @return string
  */
 function __toString()
 {
     $str = "<ul>\n              <li>Length : {$this->length}</li>\n              <li>Presentation context ID : {$this->pres_context_id}</li>\n              <li>Message control header : " . self::$message_control_header_values[$this->message_control_header] . "</li>\n              <li>" . $this->message->__toString() . "</li>\n            </ul>";
     return $str;
 }
Esempio n. 2
0
 /**
  * The constructor
  *
  * @return \CFind
  */
 function __construct()
 {
     $this->type = "Find";
     parent::__construct();
 }
Esempio n. 3
0
 /**
  * The constructor
  *
  * @return self
  */
 function __construct()
 {
     $this->type = "Echo";
     parent::__construct();
 }