public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 public function delete()
 {
     parent::delete();
     Gpf_Db_Table_GadgetProperties::deleteAll($this->getId());
 }
 public function init()
 {
     $this->setTable(Gpf_Db_Table_GadgetProperties::getInstance());
     parent::init();
 }