Class: Country
Source Location: /blogs/inc/regional/model/_country.class.php
Class Country
Class Overview
|
Country Class Located in /blogs/inc/regional/model/_country.class.php [line 40] DataObject | --CountryAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From DataObject |
Inherited From DataObject
|
[ Top ]
Method Summary
Properties
Methods
Constructor Country [line 52]
|
Constructor
Parameters:| object database | $db_row: | row |
[ Top ]
dbexists [line 139]
|
Check existence of specified country code in ctry_code unique field.
API Tags:
| Return: | ID if country code exists otherwise NULL/false |
Redefinition of:
- DataObject::dbexists()
- Check existence of specified value in unique field.
[ Top ]
load_from_Request [line 79]
|
Load data from Request form fields.
API Tags:
| Return: | true if loaded data seems valid. |
[ Top ]
set [line 108]
|
Set param value
By default, all values will be considered strings
Parameters:| string | $parname: | parameter name |
| mixed | $parvalue: | parameter value |
| boolean | $make_null: | true to set to NULL if empty value |
API Tags:
| Return: | true, if a value has been set; false if it has not changed |
Redefinition of:
- DataObject::set()
- Set param value
[ Top ]
