13 require_once(
'class.gmapsCtg.php');
34 protected static $_tbl =
'gmaps_point_ctg';
48 $this->_controller = $instance;
49 parent::__construct($id,
"gmaps_point_ctg");
51 $this->_data_www = CONTENT_WWW.
'/gmaps/'.$this->_controller->instanceName().
'/point_ctg';
52 $this->_data_dir = CONTENT_DIR.OS.
'gmaps'.OS.$this->_controller->instanceName().OS.
'point_ctg';
64 public function delete() {
73 @unlink($this->_data_dir.OS.$this->_prefix_img.$this->icon);
74 @unlink($this->_data_dir.OS.$this->_prefix_thumb.$this->icon);
77 return $this->deleteDbData();