Source for file lmbAbstractResourceProvider.class.php

Documentation is available at lmbAbstractResourceProvider.class.php

  1. <?php
  2. /*
  3. * Limb PHP Framework
  4. *
  5. * @link http://limb-project.com
  6. * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
  7. * @license    LGPL http://www.gnu.org/copyleft/lesser.html
  8. */
  9. {
  10.   protected $_resource = null;
  11.  
  12.   function getResource()
  13.   {
  14.     if(is_null($this->_resource))
  15.       throw new lmbAclException('Resource provider must have filled _resource property');
  16.     return $this->_resource;
  17.   }
  18. }

Documentation generated on Tue, 06 Jan 2009 03:47:40 +0300 by phpDocumentor 1.3.2