public function editField($field_id = null)
    {
        $this->setField($field_id);
        $this->setTitleEditField();
        $this->setBreadcrumbEditField();

        $this->setData('field', $this->data_field);
        $this->setData('types', $this->field->getTypes());
        $this->setData('can_delete', $this->canDeleteField());
        $this->setData('widget_types', $this->field->getWidgetTypes());
        $this->setData('languages', $this->language->getList(array('enabled' => true)));

        $this->submitEditField();
        $this->outputEditField();
    }
public function editField($field_id = null)
    {
        $this->setField($field_id);
        $this->setTitleEditField();
        $this->setBreadcrumbEditField();

        $this->setData('field', $this->data_field);
        $this->setData('types', $this->field->getTypes());
        $this->setData('can_delete', $this->canDeleteField());
        $this->setData('widget_types', $this->field->getWidgetTypes());
        $this->setData('languages', $this->language->getList(array('enabled' => true)));

        $this->submitEditField();
        $this->outputEditField();
    }
public function editField ( $ field_id = null ) { $ this -> setField ( $ field_id ) ; $ this -> setTitleEditField ( ) ; $ this -> setBreadcrumbEditField ( ) ; $ this -> setData ( 'field' , $ this -> data_field ) ; $ this -> setData ( 'types' , $ this -> field -> getTypes ( ) ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteField ( ) ) ; $ this -> setData ( 'widget_types' , $ this -> field -> getWidgetTypes ( ) ) ; $ this -> setData ( 'languages' , $ this -> language -> getList ( array ( 'enabled' => true ) ) ) ; $ this -> submitEditField ( ) ; $ this -> outputEditField ( ) ; }
Displays the field edit form
@param integer|null $field_id
Displays the field edit form