PhpExt : Data [ class tree ] [ index ] [ all elements ]

Source for file Record.php

Documentation is available at Record.php

  1. <?php
  2. /**
  3.  * PHP-Ext Library
  4.  * http://php-ext.googlecode.com
  5.  * @author Sergei Walter <sergeiw[at]gmail[dot]com>
  6.  * @copyright 2008 Sergei Walter
  7.  * @license http://www.gnu.org/licenses/lgpl.html
  8.  * @link http://php-ext.googlecode.com
  9.  * 
  10.  *  Reference for Ext JS: http://extjs.com
  11.  * 
  12.  */
  13.  
  14. /**
  15.  * @see PhpExt_Object
  16.  */
  17. include_once 'PhpExt/Object.php';
  18.  
  19. /**
  20.  * @package PhpExt
  21.  * @subpackage Data
  22.  */
  23. {
  24.     /** 
  25.      * @var PhpExt_Data_FieldConfigObjectCollection 
  26.      */
  27.     public $Fields = null;
  28.     
  29.     public function __construct({
  30.         parent::__construct();
  31.  
  32.         $this->setExtClassInfo("Ext.data.Record"null);
  33.  
  34.         $this->Fields = new PhpExt_ObjectCollection();        
  35.     }    
  36.     
  37.     protected function getConfigParams($lazy false{
  38.         $params parent::getConfigParams();
  39.  
  40.         if ($this->Fields != null)
  41.             $params[$this->paramToString("fields",$this->Fields);
  42.             
  43.         return $params;
  44.     }
  45.     
  46.     public static function create(PhpExt_Data_FieldConfigObjectCollection $fields{        
  47.         $mc PhpExt_Object::createMethodSignature("create"array($fields)true);
  48.         return PhpExt_Object::getMethodInvokeStm('Ext.data.Record'$mctrue);
  49.     }
  50.      
  51.     
  52. }

Documentation generated on Fri, 08 Aug 2008 15:58:40 -0500 by phpDocumentor 1.4.0