public function __construct($id = 0) { parent::__construct(); if ($id > 0) { $this->charger_id($id); } }