OpenPSA API Documentation
API Documentation
Packages
Default
fi
midcom
midgard
net
no
org
Charts
Class hierarchy diagram
Reports
Errors
3909
Markers
todo
374
fixme
51
Deprecated elements
3
Back to top
Javascript is disabled; several features are only available if Javascript is enabled.
Public
Protected
Private
Inherited
Methods
_on_creating
(
)
Don't save country if another country with name exists
get_by_code
(
string
$code
)
Get the country object by code
get_by_name
(
$name
)
get_label
(
)
Human-readable label for cases like Asgard navigation
Properties
mixed
$__mgdschema_class_name__
mixed
$__midcom_class_name__
\
global
\
org_routamc_positioning_country_dba
MidCOM wrapper class for country objects
package
org.routamc.positioning
Methods
_on_creating
(
)
Don't save country if another country with name exists
get_by_code
(
string
$code
)
Get the country object by code
Static
Parameters
$code
string
Either two or three character representation
Returns
\org_routamc_positioning_country_dba
Country object or null on failure
get_by_name
(
$name
)
Static
Parameters
$name
get_label
(
)
Human-readable label for cases like Asgard navigation
Properties
mixed
$__mgdschema_class_name__
mixed
$__midcom_class_name__