Skip to content

Instantly share code, notes, and snippets.

@Kalyse
Created February 14, 2011 10:42
Show Gist options
  • Save Kalyse/825714 to your computer and use it in GitHub Desktop.
Save Kalyse/825714 to your computer and use it in GitHub Desktop.
Mapper Array
$interested = array(
"activities" => array( "_CLASS" => $entityPath . "PropertyActivityTypes", "_collectionMethod" => "getActivity", "_idMethod" => "getActivityId", "_flatRegistryAccessorMethodSuffix" => "ActivityTypes"),
"attractions" => array( "_CLASS" => $entityPath . "PropertyAttractionTypes", "_collectionMethod" => "getAttraction", "_idMethod" => "getAttractionId", "_flatRegistryAccessorMethodSuffix" => "AttractionTypes"),
"communications" => array( "_CLASS" => $entityPath . "PropertyCommunicationFeatures","_collectionMethod" => "getCommunication", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "CommunicationFeatures"),
"entertainment" => array( "_CLASS" => $entityPath . "PropertyEntertainmentFeatures","_collectionMethod" => "getEntertainment", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "EntertainmentFeatures"),
"general" => array( "_CLASS" => $entityPath . "PropertyGeneralFeatures", "_collectionMethod" => "getGeneral", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "GeneralFeatures"),
"kitchen" => array( "_CLASS" => $entityPath . "PropertyKitchenFeatures", "_collectionMethod" => "getKitchen", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "KitchenFeatures"),
"livingroom" => array( "_CLASS" => $entityPath . "PropertyLivingroomFeatures", "_collectionMethod" => "getLivingroom", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "LivingroomFeatures"),
"onsite" => array( "_CLASS" => $entityPath . "PropertyOnsiteFeatures", "_collectionMethod" => "getOnsite", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "OnsiteFeatures"),
"outside" => array( "_CLASS" => $entityPath . "PropertyOutsideFeatures", "_collectionMethod" => "getOutside", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "OutsideFeatures"),
"spa" => array( "_CLASS" => $entityPath . "PropertySpaFeatures", "_collectionMethod" => "getSpa", "_idMethod" => "getFeatureId", "_flatRegistryAccessorMethodSuffix" => "SpaFeatures"),
"travel" => array( "_CLASS" => $entityPath . "PropertyTravelTypes", "_collectionMethod" => "getTravel", "_idMethod" => "getTypeId", "_flatRegistryAccessorMethodSuffix" => "TravelTypes")
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment