<?php
namespace src\models;
use \core\Model;

class City extends Model {

	public static function getName($city) {
		$data = City::select('name')
			->where('id', $city)
		->one();

		return $data['name'];
	}

}