Advertisement
Guest User

Container

a guest
May 26th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1. <?php
  2. class Ext_Events_Container extends Ext_Events_Component
  3. {
  4.     static protected $_addOptions = array(
  5.         'container' => 'Ext.container.Container',
  6.         'component' => 'Ext.Component',
  7.         'index' => 'Number',
  8.         'eOpts' => 'Oject'
  9.     );
  10.     static protected $_removeOptions = array(
  11.         'container' => 'Ext.container.Container',
  12.         'component' => 'Ext.Component',
  13.         'eOpts' => 'Object'
  14.     );
  15.    
  16.     public $add;
  17.     public $afterlayout = array(
  18.         'container' => 'Ext.container.Container',
  19.         'layout' => 'Ext.layout.container.Container',
  20.         'eOpts' => 'Object'
  21.     );
  22.     public $beforeadd;
  23.     public $beforeremove;
  24.     public $childmove = array(
  25.         'container' => 'Ext.container.Container',
  26.         'component' => 'Ext.Component',
  27.         'prevIndex' => 'Number',
  28.         'newIndex' => 'Number',
  29.         'eOpts' => 'Object'
  30.     );
  31.     public $remove;
  32.  
  33.     public function _initConfig()
  34.     {
  35.         parent::_initConfig();
  36.  
  37.         $this->add = static::$_addOptions;
  38.         $this->beforeadd = static::$_addOptions;
  39.         $this->remove = static::$_removeOptions;
  40.         $this->beforeremove = static::$_removeOptions;
  41.     }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement