src/Charcoal/Admin/Widget/FormPropertyWidget.php
private function setCoreData(array $data)
    {
        if (isset($data['input_type'])) {
            $this->setInputType($data['input_type']);
        }

        if (isset($data['display_type'])) {
            $this->setDisplayType($data['display_type']);
        }

        if (isset($data['property_type'])) {
            $this->setPropertyType($data['property_type']);
        }

        if (isset($data['output_type'])) {
            $this->setOutputType($data['output_type']);
        }

        if (isset($data['type'])) {
            $this->setType($data['type']);
        }

        return $data;
    }
private function setCoreData(array $data)
    {
        if (isset($data['input_type'])) {
            $this->setInputType($data['input_type']);
        }

        if (isset($data['display_type'])) {
            $this->setDisplayType($data['display_type']);
        }

        if (isset($data['property_type'])) {
            $this->setPropertyType($data['property_type']);
        }

        if (isset($data['output_type'])) {
            $this->setOutputType($data['output_type']);
        }

        if (isset($data['type'])) {
            $this->setType($data['type']);
        }

        return $data;
    }
private function setCoreData ( array $ data ) { if ( isset ( $ data [ 'input_type' ] ) ) { $ this -> setInputType ( $ data [ 'input_type' ] ) ; } if ( isset ( $ data [ 'display_type' ] ) ) { $ this -> setDisplayType ( $ data [ 'display_type' ] ) ; } if ( isset ( $ data [ 'property_type' ] ) ) { $ this -> setPropertyType ( $ data [ 'property_type' ] ) ; } if ( isset ( $ data [ 'output_type' ] ) ) { $ this -> setOutputType ( $ data [ 'output_type' ] ) ; } if ( isset ( $ data [ 'type' ] ) ) { $ this -> setType ( $ data [ 'type' ] ) ; } return $ data ; }
Set the core data for the widget and property's first.

@param  array $data The widget and property data.
@return array The widget and property data.
Set the core data for the widget and property s first .