/** * 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; }
/** * The constructor * * @return \CFind */ function __construct() { $this->type = "Find"; parent::__construct(); }
/** * The constructor * * @return self */ function __construct() { $this->type = "Echo"; parent::__construct(); }