dbscript
[ class tree: dbscript ] [ index: dbscript ] [ all elements ]

Source for file resource.php

Documentation is available at resource.php

  1. <?php
  2.  
  3.   /** 
  4.    * dbscript for PHP 4 & 5 - restful crud framework
  5.    * @version 0.1.2 -- 19-Feb-2007
  6.    * @author Brian Hendrickson <brian@dbscript.net>
  7.    * @link http://dbscript.net/
  8.    * @copyright Copyright 2007 Brian Hendrickson
  9.    * @package dbscript
  10.    * @license http://www.opensource.org/licenses/mit-license.php MIT License
  11.    */
  12.  
  13.   /**
  14.      * Resource
  15.      * 
  16.      * A Restful HTTP client for accessing remote Models.
  17.      * 
  18.      * Usage:
  19.      * <code>
  20.      *   $jopeeps = $db->get_resource( 'http://joe.net/people' );
  21.      * </code>
  22.      * 
  23.      * More info...
  24.      * {@link http://dbscript.net/resource}
  25.      * 
  26.    * @package dbscript
  27.      * @author Brian Hendrickson <brian@dbscript.net>
  28.      * @access public
  29.      * @version 0.1.2
  30.      * @todo implement
  31.      */
  32.  
  33. class Resource {
  34.  
  35.   var $name;
  36.   
  37.   function Resource({
  38.  
  39.     $this->defaults array(
  40.       
  41.       'destination'=>'',
  42.       'timeout'=>60
  43.       
  44.     );
  45.     
  46.   }
  47.  
  48. }
  49.  
  50. ?>

Documentation generated on Mon, 19 Feb 2007 10:25:02 -0800 by phpDocumentor 1.3.1