'key', 'label' => 'string', 'price' => 'string', 'link' => 'longstring', 'image' => 'longstring', 'brand' => 'longstring', 'owner' => 'int' ); public function remove(){ Part::deleteById($this->id); if(file_exists(PART_PATH.$this->image)) unlink(PART_PATH.$this->image); } } ?>