public function loadObjectSettingsDefaults($object_id)
    {
        $em = $this->getEntityManager();

        $object = $em->getRepository('ACSACSPanelBundle:Service')->find($object_id);
        $object_fields = $object->getType()->getFieldTypes();

        return $object_fields;
    }
public function loadObjectSettingsDefaults($object_id)
    {
        $em = $this->getEntityManager();

        $object = $em->getRepository('ACSACSPanelBundle:Service')->find($object_id);
        $object_fields = $object->getType()->getFieldTypes();

        return $object_fields;
    }
public function loadObjectSettingsDefaults ( $ object_id ) { $ em = $ this -> getEntityManager ( ) ; $ object = $ em -> getRepository ( 'ACSACSPanelBundle:Service' ) -> find ( $ object_id ) ; $ object_fields = $ object -> getType ( ) -> getFieldTypes ( ) ; return $ object_fields ; }
Create the settings configured for specified object
Create the settings configured for specified object