PhpExtUx : App [ class tree ] [ index ] [ all elements ]

Source for file SearchField.php

Documentation is available at SearchField.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_Ext
  16.  */
  17. include_once 'PhpExt/Ext.php';
  18. /**
  19.  * @see PhpExt_Form_TriggerField
  20.  */
  21. include_once 'PhpExt/Form/TriggerField.php';
  22. /**
  23.  * @see PhpExt_Toolbar_IToolbarItem
  24.  */
  25. include_once 'PhpExt/Toolbar/IToolbarItem.php';
  26.  
  27. /**
  28.  * @package PhpExtUx
  29.  * @subpackage App
  30.  */
  31. {    
  32.     // Store
  33.     /**
  34.      * The {@link PhpExt_Data_Store} or any of its children to bind this field.
  35.      * @param PhpExt_Data_Store $value 
  36.      * @return PhpExtUx_App_SearchField 
  37.      */
  38.     public function setStore(PhpExt_Data_Store $value{
  39.         $this->setExtConfigProperty("store"$value);
  40.         return $this;
  41.     }    
  42.     /**
  43.      * The {@link PhpExt_Data_Store} or any of its children to bind this field.
  44.      * @return PhpExt_Data_Store 
  45.      */
  46.     public function getStore({
  47.         return $this->getExtConfigProperty("store");
  48.     }
  49.    
  50.     
  51.     public function __construct({
  52.         parent::__construct();
  53.         $this->setExtClassInfo("Ext.app.SearchField",null);
  54.  
  55.         $validProps array(
  56.             "store"
  57.         );
  58.         $this->addValidConfigProperties($validProps);
  59.     }    
  60.     
  61.     public function getJavascript($lazy false$varName null{        
  62.         return parent::getJavascript(false$varName);
  63.     }
  64.     
  65.  
  66.  
  67. }
  68.  
  69. ?>

Documentation generated on Fri, 08 Aug 2008 15:59:11 -0500 by phpDocumentor 1.4.0