APF_Demo_PageMetaBox__Side::setUp PHP Method

setUp() public method

* ( optional ) Use the setUp() method to define settings of this meta box.
public setUp ( )
    public function setUp()
    {
        /*
         * ( optional ) Adds setting fields into the meta box.
         */
        $this->addSettingFields(array('field_id' => 'color_field', 'type' => 'color', 'title' => __('Color', 'admin-page-framework-loader')), array('field_id' => 'size_field', 'type' => 'size', 'title' => __('Size', 'admin-page-framework-loader'), 'default' => array('size' => 5, 'unit' => '%')), array('field_id' => 'side_single_checkbox', 'type' => 'checkbox', 'title' => __('Check Box', 'admin-page-framework-loader'), 'label' => __('Check me!', 'admin-page-framework-loader')), array('field_id' => 'submit_in_meta_box', 'type' => 'submit', 'show_title_column' => false, 'label_min_width' => 0, 'save' => false, 'attributes' => array('field' => array('style' => 'float:right; width:auto;'))), array());
    }