Retreiving data from an array PHP

junnybubDeesege

New Member
Im trying to get a value from an array used in the Joomla Plugin Hot Propertys. The array is stored in \[code\]$this->properties\[/code\] inside that is group of arrays (sorted by number) and inside each one of them is a key called typeid.Basically i just need to get the typeid from one of those arrays (for example array 0)Ive tried \[code\]$this-properties->typeid[0]\[/code\] but it didnt work and i am now stuck.The contents of the array $this->properties is \[code\]Array ( [0] => stdClass Object ( [name] => Peace and Tranquility [id] => 60 [companyid] => 1 [agentid] => 5 [agentemail] => [email protected] [agentmobile] => . [user] => 66 [typeid] => 1 [metakey] => [metadesc] => [published] => 1 [approved] => 1 [address] => 26 Pennygum Place [suburb] => Mariginiup [state] => WA [postcode] => 6065 [price] => 1295000.00 [type] => Buy - Homes For Sale [custompricerange] => [bedrooms] => 5 [bathrooms] => 2 [intro_text] =>Set on approximately 3 acres and just 10 minutes to Joondalup CBD this huge family home has it [forsaletype] => Houses [commercialpropertytype] => [accommodationpropertytypes] => [carspaces] => 4 [full_text] => 5 double bedrooms 2 bathrooms, formal lounge and dining, separate study and games. Big chef's kitchen to suit the fussiest of cooks. Air conditioning and loads of extras including a 4 car garage with shoppers entrance. Outisde is a massive shed and a magic pool and entertaining area. Viewing is a must for this stunning property. There's even your own footy pitch. [notes] => [3dwalkthrough] => Yes [frontpagedetails] => [showhome3dlinkadminonly] => 60 [totalfloorarea] => [landarea] => [storeys] => 1 [homesizerange] => 351+ sqm [tenurecommercialonly] => [builderslogoadminonly] => nexus [auction] => No [agentname] => Steven Pilcher [agentemailaddress] => [email protected] [agentno] => 0417 908 277 [thumb] => 60_26 Pennygum.jpg [thumb_title] => 26 Pennygum.jpg ) [1] => stdClass Object ( [name] => BRAND NEW TO MARKET!!! [id] => 61 [companyid] => 1 [agentid] => 5 [agentemail] => [email protected] [agentmobile] => . [user] => 66 [typeid] => 1 [metakey] => [metadesc] => [published] => 1 [approved] => 1 [address] => 24 Windmill Circle [suburb] => Burns Beach [state] => WA [postcode] => 6028 [price] => 1400000.00 [type] => Buy - Homes For Sale [custompricerange] => [bedrooms] => 5 [bathrooms] => 2 [intro_text] =>Stunning 5 bedroom 3 bathroom home located in coastal suburb Burns Beach...[forsaletype] => Houses [commercialpropertytype] => [accommodationpropertytypes] => [carspaces] => 3 [full_text] => Double front door entry into spacious hallway with porcelein tiles and high ceilings.Study with double aspect windows providing views to the park.German cabinetry in the powder room with granite benchtops and porcelein sink and tiles.Activity room, formal dining area, family area and home theatre room.Ultra modern German kitchen with English granite 1 and a half bowl sink and Italian tapware.Laundry with access to drying area and garage with a laundry chute connected to family bathroom.Massive master suite overlooking park and ocean views. Ensuite with double shower and spa with 22 adjustable jets.Lounge with access to main balcony.Games with pool tabel as part of sale.Kitchenette with built in fridge.Bedroom 2 with access to balcony and massive wardrobe and ensuite with top-of-the-range 24 adjustable jet spa bath.Main bathroom features a laundry chute.Bedrooms 3, 4 and 5 overlook the pool and have a triple door wardrobe.Garage can be triple or double with storage.Alfresco with plumbing and gas for outdoor kitchen.Water supply for reticulation or outdoor shower.9m pool with integral spa jets at the seating area.Glass pool fence.Water feature with fibre-optic lighting.Reverse cycle ducted air conditioning.[notes] => [3dwalkthrough] => Yes [frontpagedetails] => [showhome3dlinkadminonly] => 61 [totalfloorarea] => [landarea] => 597 [storeys] => 2 [homesizerange] => 351+ sqm [tenurecommercialonly] => [builderslogoadminonly] => nexus [auction] => No [agentname] => Pam Gray [agentemailaddress] => [email protected] [agentno] => M: 0411 756 455 [thumb] => 61_Windmill_67.jpg [thumb_title] => Windmill_67.jpg ) [2] => stdClass Object ( [name] => For life... not just for Christmas! [id] => 56 [companyid] => 1 [agentid] => 5 [agentemail] => [email protected] [agentmobile] => . [user] => 66 [typeid] => 1 [metakey] => [metadesc] => [published] => 1 [approved] => 1 [address] => 25 Seaspray Crescent [suburb] => Jindalee [state] => WA [postcode] => 6036 [price] => 750000.00 [type] => Buy - Homes For Sale [custompricerange] => 775000 [bedrooms] => 4 [bathrooms] => 2 [intro_text] =>Imagine coming home to sensational ocean views.... [forsaletype] => Houses [commercialpropertytype] => [accommodationpropertytypes] => [carspaces] => 2 [full_text] => The cool sea breeze and firey sunsets that would normally be captured on holiday postcards!! If this is what you've been looking for then stop the search now! This impressive 4x2 loft home is the perfect family residence and is only a few minutes walk from the tranquil blue waters of the Indian Ocean. Call Team Extreme and purchase your slice of paradise!- With huge street appeal this impressive modern loft home is fully rendered and stands proud on beautifully landscaped gardens.- The double front entry under a cedar lined porch is most welcoming and the foyer is grand offering wide hallways, a bold stairway to the loft and quality jarrah flooring throughout.- Spacious master bedroom with walk in robe and a neutral finish. With side access to your private courtyard you can read the Sunday paper in peace. The deluxe en-suite has modern fixtures & finishing's including his/hers vanities, double shower and a separate W/C.- Three additional double bedrooms all with double built in robes and neutral decor.- If you're an aspiring master chef you'll love the gourmet kitchen which is complete with upgraded stainless steel appliances, dishwasher, double fridge recess, feature lighting, glass splashbacks & unlimited storage.- The open plan living and dining is generous in terms of space & style and the separate home theatre is the ultimate place for comfort & relaxation.- With the convenience of a home study you have the option to work from home should you see fit!- The main focal point to this stunning home has to be the vaulted loft. This amazing family area is airy and ideal for entertaining with friends. With a built in bar, feature recesses and ambient lighting throughout, it really doesn't get much better than this. From the decked balcony you will be wowed by breathtaking ocean views and surrounding suburbs.- The alfresco looks out to sparkling below ground pool and with an elevated gazebo you can sit back over lunch and admire your coastal paradise.- Extras include: ducted evaporative A/C, alarm,double remote garage with roller-door access to rear, a built in cat-run for all your creature comforts, tinted front windows & masses of storage.- Call Team Extreme to discuss. [notes] => [3dwalkthrough] => Yes [frontpagedetails] => [showhome3dlinkadminonly] => 56 [totalfloorarea] => [landarea] => [storeys] => 1 [homesizerange] => 100 - 150 sqm [tenurecommercialonly] => [builderslogoadminonly] => remax [auction] => No [agentname] => Phil Wiltshire [agentemailaddress] => [email protected] [agentno] => 0408422863 [thumb] => 56_25 Seaspray.jpg [thumb_title] => 25 Seaspray.jpg ) [3] => stdClass Object ( [name] => SOPHISTICATION & ELEGANCE [id] => 51 [companyid] => 1 [agentid] => 5 [agentemail] => [email protected] [agentmobile] => . [user] => 66 [typeid] => 1 [metakey] => [metadesc] => [published] => 1 [approved] => 1 [address] => 16 Wessex Street [suburb] => Carine [state] => WA [postcode] => 6020 [price] => 1450000.00 [type] => Buy - Homes For Sale [custompricerange] => [bedrooms] => 4 [bathrooms] => 3 [intro_text] =>
 
Back
Top