Mage_Adminhtml_Block_Cms_Page_Edit_Tab_Meta Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Cms_Page_Edit_Tab_Meta:

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 34 of file Meta.php.


Constructor & Destructor Documentation

__construct (  ) 

Class constructor

Reimplemented from Mage_Adminhtml_Block_Widget_Form.

Definition at line 36 of file Meta.php.

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


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 41 of file Meta.php.

00042     {
00043         $form = new Varien_Data_Form();
00044 
00045         $form->setHtmlIdPrefix('page_');
00046 
00047         $model = Mage::registry('cms_page');
00048 
00049         $fieldset = $form->addFieldset('meta_fieldset', array('legend' => Mage::helper('cms')->__('Meta Data'), 'class' => 'fieldset-wide'));
00050 
00051         $fieldset->addField('meta_keywords', 'editor', array(
00052             'name' => 'meta_keywords',
00053             'label' => Mage::helper('cms')->__('Keywords'),
00054             'title' => Mage::helper('cms')->__('Meta Keywords'),
00055         ));
00056 
00057         $fieldset->addField('meta_description', 'editor', array(
00058             'name' => 'meta_description',
00059             'label' => Mage::helper('cms')->__('Description'),
00060             'title' => Mage::helper('cms')->__('Meta Description'),
00061         ));
00062 
00063         $form->setValues($model->getData());
00064 
00065         $this->setForm($form);
00066 
00067         return parent::_prepareForm();
00068     }


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

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