Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
Classes of Eugene Panin | > | Remote Content retriever | > | SimpleObject.php | > | Download | ||
|
Download |
<? /** ** Simple abstract class. ** Usability of this class is under GPL. ** @author Eugene Panin, var@express.ru **/ class SimpleObject { var $lastError = ''; /** ** Gets the last error message. ** @returns string Returns last error message. ** @scope public **/ function getError() { return $this->lastError; } /** ** Sets current error message. ** @returns void ** @scope protected **/ function setError($newVal='') { $this->lastError = $newVal; } } ?> |