Get billing address fields

@return FieldList
763207
public function getBillingFields()
    {
        $fields = array(
            'billingAddress1' => TextField::create(
                $this->getFieldName('billingAddress1'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingAddress1', 'Address')
            ),
            'billingAddress2' => TextField::create(
                $this->getFieldName('billingAddress2'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingAddress2', 'Address line 2')
            ),
            'city' => TextField::create(
                $this->getFieldName('billingCity'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingCity', 'City')
            ),
            'postcode' => TextField::create(
                $this->getFieldName('billingPostcode'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingPostcode', 'Postcode')
            ),
            'state' => TextField::create(
                $this->getFieldName('billingState'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingState', 'State')
            ),
            'country' => TextField::create(
                $this->getFieldName('billingCountry'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingCountry', 'Country')
            ),
            'phone' => TextField::create(
                $this->getFieldName('billingPhone'),
                _t('SilverStripe\Omnipay\PaymentForm.BillingPhone', 'Phone')
            )
        );

        $this->cullForGateway($fields);

        return FieldList::create($fields);
    }
870765
public function getCMSFields()
    {
        $fields = $this->scaffoldFormFields(
            array(
                // Don't allow has_many/many_many relationship editing before the record is first saved
                'includeRelations' => ($this->ID > 0),
                'tabbed' => true,
                'ajaxSafe' => true
            )
        );
        $fields->removeByName('PresetID');
        $fields->addFieldToTab(
            'Root.Main',
            ReadonlyField::create(
                'PresetName',
                _t('PlaceableObject.PRESET', 'Preset')
            )->setValue($this->Preset()->Title)
        );
        $this->extend('updateCMSFields', $fields);
        return $fields;
    }
79782
public function getCMSFields()
    {
        $fields = parent::getCMSFields();
        $fields->addFieldsToTab(
            "Root.Main",
            array(
                TextareaField::create(
                    'Title'
                )->setRows(1),
                HTMLEditorField::create(
                    'Content'
                )
            )
        );

        $this->extend('updateCMSFields', $fields);

        return $fields;
    }
701721
public function getCMSFields()
    {
        $fields = parent::getCMSFields();
        $fields->addFieldsToTab(
            "Root.Main",
            array(
                DropdownField::create(
                    'FormPageID',
                    'Select a page',
                    UserDefinedForm::get()->map('ID', 'Title')
                )
            )
        );

        $this->extend('updateCMSFields', $fields);

        return $fields;
    }
39750
protected function getInvoiceLinesFields()
    {
        $fields = array(
            'itemNumber' => array(
                'type' => 'text',
                'label' => $this->t('field_itemNumber'),
                'description' => $this->t('desc_itemNumber') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'size' => 60,
                ),
            ),
            'productName' => array(
                'type' => 'text',
                'label' => $this->t('field_productName'),
                'description' => $this->t('desc_productName') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'size' => 60,
                ),
            ),
            'nature' => array(
                'type' => 'text',
                'label' => $this->t('field_nature'),
                'description' => $this->t('desc_nature'),
                'attributes' => array(
                    'size' => 30,
                ),
            ),
            'costPrice' => array(
                'type' => 'text',
                'label' => $this->t('field_costPrice'),
                'description' => $this->t('desc_costPrice') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'size' => 60,
                ),
            ),
        );
        return $fields;
    }
687741
public function getCMSFields()
    {
        $fields = parent::getCMSFields();

        $field = SortableUploadField::create('Images', _t('CarouselPage.db_Images'));
        $field->setFolderName($this->getClassFolder());
        $field->setFileEditFields('getCarouselEditFields');

        $root = $fields->fieldByName('Root');
        $tab = $root->fieldByName('Images');
        if (! $tab) {
            $tab = Tab::create('Images');
            $tab->setTitle(_t('CarouselPage.db_Images'));
            $root->insertAfter($tab, 'Main');
        }
        $tab->push($field);

        return $fields;
    }
756704
public function getCompanyFields()
    {
        $fields = array(
            'company' => TextField::create($this->getFieldName('company'), _t('SilverStripe\Omnipay\PaymentForm.Company', 'Company'))
        );

        $this->cullForGateway($fields);

        return FieldList::create($fields);
    }
755576
public function getFieldLabels()
    {
        $output = array(
            'gap_id_organization' => $this->_('Organization'),
            'gap_source'          => $this->_('Source of appointment'),
            'gap_id_attended_by'  => $this->_('With'),
            'gap_id_referred_by'  => $this->_('Referrer'),
            'gap_id_activity'     => $this->_('Activity'),
            'gap_id_procedure'    => $this->_('Procedure'),
            'gap_id_location'     => $this->_('Location'),
            'gap_subject'         => $this->_('Subject'),
        );

        asort($output);

        return $output;
    }
1262281
protected function getFieldTypes() {
        if (!$this->_fieldTypes) {
            $this->_fieldTypes = new FieldTypeList($this->version, $this->solution['sid']);
        }

        return $this->_fieldTypes;
    }
1068114
public function getCMSFields()
    {
        $fields = FieldList::create(
            TabSet::create(
                "Root",
                Tab::create("Main")
            )
            ->setTitle(_t('SiteTree.TABMAIN', "Main"))
        );
        $this->extend('updateCMSFields', $fields);
        return $fields;
    }
1176087
public function getFieldList()
    {
        // Get additional fields of current structure
        $fields = dbQuery('\samson\cms\web\field\CMSField')
            ->join('\samson\cms\CMSNavField')
            ->cond('StructureID', $this->id)
            ->exec();

        // Create list view
        $items = '';

        // If structure has additional fields then add them to list
        if (sizeof($fields)) {
            foreach ($fields as $field) {
                $items .= m('structure')->view('form/field/field_item')->field($field)->structure($this)->output();
            }
        } else {
            // Add empty row
            $items = m('structure')->view('form/field/empty_field')->output();
        }

        // Return items view
        return $items;
    }
6136
public function getCMSFields()
    {
        $fields = parent::getCMSFields();
        if (!$this->isAllowedChildren()) {
            return $fields;
        }
        $fields->addFieldsToTab(
            'Root.' . _t(__CLASS__ . '.CHILDREN', 'Children'),
            [
                GridField::create(
                    'Children',
                    _t(__CLASS__ . '.CHILDREN', 'Children'),
                    $this->Children(),
                    GridFieldConfig_RecordEditor::create()
                        ->addComponent(new GridFieldOrderableRows())
                )
            ]
        );

        return $fields;
    }
1045915
public function getDeliveryDropdownFields()
    {
        $contact = $this->getContact();

        return FieldList::create(
            CompositeField::create(
                DropdownField::create(
                    'ShippingAddress',
                    _t(
                        'SilverCommerce\Checkout.DeliveryAddress',
                        'Delivery Address'
                    ),
                    $contact->Locations()
                ),
                FormAction::create(
                    'doAddNewShipping',
                    _t(
                        'SilverCommerce\Checkout.UseDifferentAddress',
                        'Use Different Address'
                    )
                )->addextraClass('btn btn-link')
                ->setAttribute('formnovalidate',true)
            )->setName("DeliveryFields")
        );
    }
657174
public function getCMSPageFields()
    {
        $fields = FieldList::create(
            TextField::create(
                'Title',
                _t('PlaceableObject.TITLE', 'Title')
            ),
            SegmentField::create(
                'UrlSegment',
                _t('PlaceableObject.URLSEGMENT', 'Anchor')
            )
            ->setPreview($this->UrlSegment)
            ->setModifiers(
                array(
                    SlugSegmentFieldModifier::create()->setDefault('Title')
                )
            )
        );
        $this->extend('updateCMSPageFields', $fields);
        return $fields;
    }
805821
public function getCMSFields()
    {
        $fields = new FieldList();
        $fields->push(new TabSet('Root', new Tab('Main')));

        if (Permission::check('REASSIGN_ACTIVE_WORKFLOWS')) {
            if ($this->WorkflowStatus == 'Paused' || $this->WorkflowStatus == 'Active') {
                $cmsUsers = Member::mapInCMSGroups();

                $fields->addFieldsToTab('Root.Main', array(
                    new HiddenField('DirectUpdate', '', 1),
                    new HeaderField(
                        'InstanceReassignHeader',
                        _t('WorkflowInstance.REASSIGN_HEADER', 'Reassign workflow')
                    ),
                    new CheckboxSetField('Users', _t('WorkflowDefinition.USERS', 'Users'), $cmsUsers),
                    new TreeMultiselectField('Groups', _t('WorkflowDefinition.GROUPS', 'Groups'), Group::class)
                ));
            }
        }

        if ($this->canEdit()) {
            $action = $this->CurrentAction();
            if ($action->exists()) {
                $actionFields = $this->getWorkflowFields();
                $fields->addFieldsToTab('Root.Main', $actionFields);

                $transitions = $action->getValidTransitions();
                if ($transitions) {
                    $fields->replaceField(
                        'TransitionID',
                        DropdownField::create("TransitionID", "Next action", $transitions->map())
                    );
                }
            }
        }

        $items = WorkflowActionInstance::get()->filter(array(
            'Finished'   => 1,
            'WorkflowID' => $this->ID
        ));

        $grid = new GridField(
            'Actions',
            _t('WorkflowInstance.ActionLogTitle', 'Log'),
            $items
        );

        $fields->addFieldsToTab('Root.Main', $grid);

        return $fields;
    }
37898
protected function getFieldValues() {
        if (!$this->_fieldValues) {
            $this->_fieldValues = new FieldValueList(
                $this->version,
                $this->solution['assistantSid'],
                $this->solution['sid']
            );
        }

        return $this->_fieldValues;
    }
241162
public function getFieldLIst()
    {
        if (!isset($this->model->field_list)) {

            return $this->model->getFieldList();
        }

        return $this->model->field_list;
    }