SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru james_littler's Avatar
    Join Date
    May 2007
    Location
    Portsmouth, UK
    Posts
    775
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What does this mean: ->

    Hi, as in the title really.

    What does this mean

    ->

    i.e.

    PHP Code:
    $this ->maxsize $max
    Thanks, sorry for such a n00by question.

  2. #2
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    That is the syntax you use when accessing a variable inside an object.

    If you aren't familiar with Object Oriented Programming, it is an extremely useful, powerful and efficient way of programming and I recommend you learn it as soon as you get the chance

    http://us3.php.net/manual/en/language.oop5.basic.php
    Jake Arkinstall
    "Sometimes you don't need to reinvent the wheel;
    Sometimes its enough to make that wheel more rounded"-Molona


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •