Child pages
  • Public and overloadable methods

Versions Compared


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

Table of content

Table of Contents


Public and overloadable methods



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);