/** * * * @param PhpExt_Form_Field $field A {@link PhpExt_Form_Field} object (or descendant) to use as editor */ public function __construct($field) { parent::__construct($field); $this->setExtClassInfo("Ext.grid.GridEditor", null); }
/** * * @param PhpExt_Tree_TreePanel $tree The TreePanel to edit. * @param PhpExt_Form_Field $field A {@link PhpExt_Form_Field} object (or descendant) to use as editor */ public function __construct($tree, $field = null) { parent::__construct($field); $this->setExtClassInfo("Ext.tree.TreeEditor", null); $this->_tree = $tree; }