Perforce Chronicle 2012.2/486814
API Documentation

Category_Form_AssociatedCategoriesWidget Class Reference

This is the text widget configuration form. More...

Inheritance diagram for Category_Form_AssociatedCategoriesWidget:
P4Cms_Form_SubForm

List of all members.

Public Member Functions

 init ()
 Defines the elements that make up the config form for the associated categories widget.

Detailed Description

This is the text widget configuration form.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

Category_Form_AssociatedCategoriesWidget::init ( )

Defines the elements that make up the config form for the associated categories widget.

Called automatically when the form object is created.

    {
        $this->addElement(
            'editor',
            'preamble',
            array(
                'label'         => 'Preamble',
                'required'      => true,
                'description'   => "Enter the text to display before category associations.",
                'attribs'       => array(
                    "height"    => 200,
                    "plugins"   => "['undo','redo','|','bold','italic','underline',"
                                .  "'strikethrough','|','justifyLeft','justifyRight',"
                                .  "'justifyCenter','justifyFull']"
                )
            )
        );
    }

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