Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I want to better understand $this->contents


SuperSewist

Recommended Posts

Posted

I want to better understand $this->contents, esp as used in includes/classes/shopping_cart.php. Where can I go to learn more about it, searches on the forum and on the internet just aren't specific enough as neither recognizes the whole statement and mostly I am getting results that have both "this" and "contents" and you can imagine the number. TIA.

Toward Continued Success - - > Carol Hawkey - - > KidsLearnToSew.com - - > Wyoming, USA

Mods Installed - - > Authnet AIM2 - Bundled Products 1.4 - Fancier Invoice 6.1 - Email_HTML_Order_Link_Fixed - Header Tags Controller - Login aLa Amazon - JustOneAttribute - Article Manager - SPPC w/PB - spiders.txt - Dangling Carrot/Olive - Printable Catalog - CCGV(trad)

Planned Mods - - > Purchase Without Account - USPS Label - Ultimate SEO

Posted

I had that problem a long time ago. It seems to be impossible to search for ->

 

Welcome to the world of OO.

 

Start here - http://php.net/manual/en/language.oop.php

 

In releation to your question. $this->contents is a variable within that class the same as outside a class $contents is a variable, just accessed differently.

 

Hope this helps

 

Sam

Posted

nimmit, helps tremendously. I've found a lot of help in the past at php.net but I wouldn't have known what section to go to. Sometimes one just needs to know where to look. Hasn't solved the issue :'( <yet> but I'm better understanding how to get there.

Toward Continued Success - - > Carol Hawkey - - > KidsLearnToSew.com - - > Wyoming, USA

Mods Installed - - > Authnet AIM2 - Bundled Products 1.4 - Fancier Invoice 6.1 - Email_HTML_Order_Link_Fixed - Header Tags Controller - Login aLa Amazon - JustOneAttribute - Article Manager - SPPC w/PB - spiders.txt - Dangling Carrot/Olive - Printable Catalog - CCGV(trad)

Planned Mods - - > Purchase Without Account - USPS Label - Ultimate SEO

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...