quick little bit of help

Discussion in 'PHP' started by oo7ml, Jul 14, 2008.

  1. #1
    a. what does the following line mean

    $this->bottom();
    PHP:
    b. what does the -> mean. is it an arrow or a less than greater than sign

    thanks in advance
     
    oo7ml, Jul 14, 2008 IP
  2. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi there,

    $this is a reference to an object. bottom() is an internal function (a.k.a. method) of that object. The -> symbol is to represent that relationship between the object and its method.
     
    Ikki, Jul 14, 2008 IP
  3. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    ok cool thanks
     
    oo7ml, Jul 14, 2008 IP