Perforce Chronicle 2012.2/486814
API Documentation

Content_Form_GridTypeFilter Class Reference

This is sub-form for filtering by content types utilized by the data grid. More...

Inheritance diagram for Content_Form_GridTypeFilter:
P4Cms_Form_SubForm

List of all members.

Public Member Functions

 init ()
 Initialize content types form.

Detailed Description

This is sub-form for filtering by content types utilized by the data grid.

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

Content_Form_GridTypeFilter::init ( )

Initialize content types form.

    {
        // set sub-form properties
        $this->setName('type')
             ->setAttrib('class', 'types-form')
             ->setOrder(10);

        // add field to collect list of selected content types
        $this->addElement(
            'typeGroup',
            'types',
            array(
                'label'         => 'Type',
                'autoApply'     => true,
                'order'         => 10
            )
        );
    }

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