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