Mage_Adminhtml_Block_Customer_Online_Filter Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Customer_Online_Filter:

Mage_Adminhtml_Block_Widget_Form Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()

Protected Member Functions

 _prepareForm ()


Detailed Description

Definition at line 35 of file Filter.php.


Constructor & Destructor Documentation

__construct (  ) 

Class constructor

Reimplemented from Mage_Adminhtml_Block_Widget_Form.

Definition at line 37 of file Filter.php.

00038     {
00039         parent::__construct();
00040     }


Member Function Documentation

_prepareForm (  )  [protected]

Prepare form before rendering HTML

Returns:
Mage_Adminhtml_Block_Widget_Form

Reimplemented from Mage_Adminhtml_Block_Widget_Form.

Definition at line 42 of file Filter.php.

00043     {
00044         $form = new Varien_Data_Form();
00045 
00046         $form->addField('filter_value', 'select',
00047                 array(
00048                     'name' => 'filter_value',
00049                     'onchange' => 'this.form.submit()',
00050                     'values' => array(
00051                         array(
00052                             'label' => Mage::helper('customer')->__('All'),
00053                             'value' => '',
00054                         ),
00055 
00056                         array(
00057                             'label' => Mage::helper('customer')->__('Customers Only'),
00058                             'value' => 'filterCustomers',
00059                         ),
00060 
00061                         array(
00062                             'label' => Mage::helper('customer')->__('Visitors Only'),
00063                             'value' => 'filterGuests',
00064                         )
00065                     ),
00066                     'no_span' => true
00067                 )
00068         );
00069 
00070         $form->setUseContainer(true);
00071         $form->setId('filter_form');
00072         $form->setMethod('post');
00073 
00074         $this->setForm($form);
00075         return parent::_prepareForm();
00076     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:22:48 2009 for Magento by  doxygen 1.5.8