/** * main class constructor * @param $module */ public function __construct($module = null) { parent::__construct(); if ($module instanceof HW_Module) { $this->module = $module; } $this->posts = new HWIE_Posts_Group($this); //posts $this->options = new HWIE_Options_Group($this); //options $this->skins = new HWIE_Skins_Group($this); //skins mananger $this->widgets = new HWIE_Widgets_Group($this); //widgets data }