*/ class Rex_Feed_Template_Grupo_zap extends Rex_Feed_Abstract_Template { protected function init_atts(){ $this->attributes = array( 'Required Information' => array( 'Bathrooms' => 'Bathrooms', 'Bedrooms' => 'Bedrooms', 'City' => 'City', 'Country' => 'Country', 'description' => 'Description', 'DetailViewUrl' => 'DetailViewUrl', 'Display_Address' => 'Display Address', 'Email' => 'Email', 'Featured' => 'Featured', 'Image_links' => 'Image Links', 'ListPrice' => 'ListPrice', 'ListingID' => 'Listing ID', 'LivingArea' => 'Living Area', 'Name' => 'Name', 'Neighborhood' => 'Neighborhood', 'PropertyType' => 'Property Type', 'State' => 'State', 'State_abbreviation' => 'State Abbreviation', 'Title' => 'Title', 'TransactionType' => 'TransactionType', 'UsageType' => 'UsageType', ), 'Recommended Information' => array( 'Address' => 'Address', 'Country_abbreviation' => 'Country_abbreviation', 'Features' => 'Features', 'Garage' => 'Garage', 'GarageType' => 'GarageType', 'Latitude' => 'Latitude', 'Logo' => 'Logo', 'Longitude' => 'Longitude', 'LotArea' => 'LotArea', 'OfficeName' => 'OfficeName', 'PostalCode' => 'PostalCode', 'PropertyAdministrationFee' => 'PropertyAdministrationFee', 'StreetNumber' => 'StreetNumber', 'Telephone' => 'Telephone', 'Website' => 'Website', 'YearlyTax' => 'YearlyTax', 'Zone' => 'Zone', ), 'Optional Information' => array( 'RentalPeriod' => 'RentalPeriod', 'RentalPrice' => 'RentalPrice', ), ); } protected function init_default_template_mappings(){ $this->template_mappings = array( array( 'attr' => 'Bathrooms', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'cdata', 'limit' => 0, ), array( 'attr' => 'description', 'type' => 'meta', 'meta_key' => 'description', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'ListingID', 'type' => 'meta', 'meta_key' => 'id', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Bathrooms', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Bedrooms', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'City', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Country', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'DetailViewUrl', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Display_Address', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Email', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Featured', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Image_links', 'type' => 'meta', 'meta_key' => 'featured_image', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'LivingArea', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'ListPrice', 'type' => 'meta', 'meta_key' => 'price', 'st_value' => '', 'prefix' => '', 'suffix' => ' '.get_option('woocommerce_currency'), 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Name', 'type' => 'meta', 'meta_key' => 'title', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'Neighborhood', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'PropertyType', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'State', 'type' => 'meta', 'meta_key' => 'state', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'State_abbreviation', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'TransactionType', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), array( 'attr' => 'UsageType', 'type' => 'static', 'meta_key' => '', 'st_value' => '', 'prefix' => '', 'suffix' => '', 'escape' => 'default', 'limit' => 0, ), ); } }