Menu

#2 CartItem needs $this-> to return vars.

open-accepted
9
2004-11-07
2004-11-07
Dave Brough
No

The Class CartItem will not return $itemID and $qty
without putting the $this-> pointer in the return function
as follows:

function getItemID() {
return rawurlencode($this->itemID);
}

function getQuantity() {
return rawurlencode($this->$qty);
}

Discussion

  • Mauricio Díaz

    Mauricio Díaz - 2004-11-07
    • labels: --> Other Classes
    • priority: 5 --> 9
    • status: open --> open-accepted
     
  • Mauricio Díaz

    Mauricio Díaz - 2004-11-07
    • assigned_to: nobody --> madd0
     
  • Mauricio Díaz

    Mauricio Díaz - 2004-11-07

    Logged In: YES
    user_id=956883

    Very good... Thanks a lot...

    I will correct this on the next release, unfortunately, the
    next release will not be available until I get amazOOP
    working with AWS 4, and this won't be for another month or so...

    Thanks again, and stay tuned for the next release of amazOOP.

    Regards,

    MD

     

Log in to post a comment.