populate($row); return 1; } else { return 0; } } /***** ** Populate the object using its ID *****/ public function populate($row) { $this->$poi_id = $row['poi_id']; $this->$locale_id = $row['locale_id']; $this->$source_id = $row['source_id']; $this->$version_id = $row['version_id']; $this->$is_public = $row['is_public']; $this->$permalink = $row['permalink']; $this->$creation_date = $row['creation_date']; $this->$name = $row['name']; $this->$position = $row['position']; $this->$type = $row['type']; $this->$locale = $row['locale']; $this->$source = $row['source']; $this->$remote_source_id = $row['remote_source_id']; $this->$author = $row['author']; $this->$version = $row['version']; $this->$update_date = $row['update_date']; $this->$is_archive = $row['is_archive']; $this->$alt_type = $row['alt_type']; $this->$is_destroyed = $row['is_destroyed']; $this->$alt_name = $row['alt_name']; $this->$alt_position = $row['alt_position']; $this->$parameters = $row['parameters']; } } ?>