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

Source for file viewstate.php

Documentation is available at viewstate.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.    * View State
  15.    * 
  16.    * More info...
  17.    * {@link http://dbscript.net/viewstate}
  18.    * 
  19.    * @package dbscript
  20.    * @author Brian Hendrickson <brian@dbscript.net>
  21.    * @access public
  22.    * @version 0.1.2
  23.    * @todo implement
  24.    */
  25.  
  26. class ViewState extends State {
  27.   
  28.   var $view;
  29.   
  30.   function ViewState$arr {
  31.     
  32.     $this->init();
  33.     $this->id = $arr['id'];
  34.     $this->transition_on[$arr['transition_on']] $arr['transition_to'];
  35.     $this->action_bean = $arr['action_bean'];
  36.     $this->view = $arr['view'];
  37.  
  38.   }
  39.  
  40. }
  41.  
  42. ?>

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