Login   Register  
PHP Classes
elePHPant
Icontem

File: SimpleObject.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Eugene Panin  >  Remote Content retriever  >  SimpleObject.php  >  Download  
File: SimpleObject.php
Role: ???
Content type: text/plain
Description: Simple object abstract class
Class: Remote Content retriever
Author: By
Last change:
Date: 2001-01-10 05:20
Size: 652 bytes
 

Contents

Class file image 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;
        }

}
?>