PHP syntax special

  • quatgio
  • Banned
  • Banned
  • quatgio
  • Posts: 3
  • Loc: viet nam

Post 3+ Months Ago

I started learning PHP, I do not understand the command "->" PHP in joomla mean, can you explain me.
example:

echo $view->position('header', 'art-nostyle');

Please show me,

thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ScottG
  • Proficient
  • Proficient
  • ScottG
  • Posts: 457

Post 3+ Months Ago

Simple answer it is used to access methods and properties of objects

This should help explain it
http://www.robert-gonzalez.com/2009/03/ ... gle-arrow/

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 84 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.