b2evolution PHP Cross Reference Blogging Systems

Summary: /inc/regional/model/_city.class.php - 155 lines - 4287 bytes - Source - Print

Description: This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.

Author: efy-maxim: Evo Factory / Maxim.
Author: fplanque: Francois Planque.
Copyright: (c)2009-2014 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: _city.class.php 13 2011-10-24 23:42:53Z fplanque $
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

City:: (5 methods):
City()
load_from_Request()
set()
get_name()
get_postcode()

Class: City

City Class

City( $db_row = NULL )  line: 50
Constructor

param: object database row
load_from_Request()  line: 80
Load data from Request form fields.

return: boolean true if loaded data seems valid.
set( $parname, $parvalue, $make_null = false )  line: 110
Set param value

By default, all values will be considered strings

return: boolean true, if a value has been set; false if it has not changed
param: string parameter name
param: mixed parameter value
param: boolean true to set to NULL if empty value
get_name()  line: 133
Get city name.

return: string city name
get_postcode()  line: 144
Get postcode.

return: string postcode

title

Body