update the examples.
- class MyObject extends Ismo_Core_Object_Plain
- {
- var $_private = array("id");
- var $id;
- var $name;
- var $phoneNo;
- function validateName()
- {
- if (strcmp($this->name, "valid") == 0) {
- return true;
- }
- else {
- return "the name has to be 'valid' and nothing else";
- }
- }
- function validatePhoneNo()
- {
- if ($this->phoneNo == 1) {
- return true;
- }
- else {
- return "only '1' is a valid phone number";
- }
- }
- }
Documentation generated on Mon, 14 Jun 2004 11:59:43 +0200 by phpDocumentor 1.3.0RC3