Child pages
  • Public and overloadable methods

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of content

Table of Contents
maxLevel2

...

Public and overloadable methods

...

Tip

If you do not want to replace a method, but simply add to it, remember to call the parent eponymous method somewhere in your method.

Code Block

class Product extends ProductCore
{
	public function __construct($id_product = NULL, $full = false, $id_lang = NULL)
	{
		echo 'Hello World !';
		parent::__construct($id_product, $full, $id_lang);
	}
}

...