public function getFields($objectName)
    {
        $fieldConfigurations = array();
        $modelConfiguration = $this->getModelConfiguration($objectName);
        if (is_array($modelConfiguration)) {
            $fieldConfigurations = $modelConfiguration['fields'];
        }

        return $fieldConfigurations;
    }
public function getFields($objectName)
    {
        $fieldConfigurations = array();
        $modelConfiguration = $this->getModelConfiguration($objectName);
        if (is_array($modelConfiguration)) {
            $fieldConfigurations = $modelConfiguration['fields'];
        }

        return $fieldConfigurations;
    }
public function getFields ( $ objectName ) { $ fieldConfigurations = array ( ) ; $ modelConfiguration = $ this -> getModelConfiguration ( $ objectName ) ; if ( is_array ( $ modelConfiguration ) ) { $ fieldConfigurations = $ modelConfiguration [ 'fields' ] ; } return $ fieldConfigurations ; }
Returns all fields for the object.

@param string $objectName

@return array
Returns all fields for the object .