protected function setupFieldOptions($name, &$options)
    {
        if (!$this->getName()) {
            return;
        }

        $options['real_name'] = $name;

        if (!isset($options['label'])) {
            $options['label'] = $this->formHelper->formatLabel($name);
        }
    }
protected function setupFieldOptions($name, &$options)
    {
        if (!$this->getName()) {
            return;
        }

        $options['real_name'] = $name;

        if (!isset($options['label'])) {
            $options['label'] = $this->formHelper->formatLabel($name);
        }
    }
protected function setupFieldOptions ( $ name , & $ options ) { if ( ! $ this -> getName ( ) ) { return ; } $ options [ 'real_name' ] = $ name ; if ( ! isset ( $ options [ 'label' ] ) ) { $ options [ 'label' ] = $ this -> formHelper -> formatLabel ( $ name ) ; } }
Set up options on single field depending on form options

@param string $name
@param $options
Set up options on single field depending on form options