|
Previous Page |
Solar_Model_Tags_Record |
Next Page |
locale()
public
string
locale (
string $key,
string $num default 1,
array $replace default NULL
)
Overrides normal locale() to use the model locale strings.
Inherited from Solar_Sql_Model_Record.
Parameters
- (string)
$key: The key to get a locale string for. - (string)
$num: If 1, returns a singular string; otherwise, returns a plural string (if one exists). - (array)
$replace: An array of replacement values for the string.
Returns
- (string) The locale string, or the original $key if no string found.
Description
Overrides normal locale() to use the model locale strings.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __get()
- __isset()
- __set()
- __unset()
- _checkDeleted()
- _exception()
- _insert()
- _postDelete()
- _postFilter()
- _postInsert()
- _postSave()
- _postSaveRelated()
- _postUpdate()
- _preDelete()
- _preFilter()
- _preInsert()
- _preSave()
- _preSaveRelated()
- _preUpdate()
- _save()
- _saveRelated()
- _update()
- addFilter()
- apiVersion()
- count()
- current()
- delete()
- dump()
- filter()
- form()
- getChanged()
- getInvalid()
- getModel()
- getPrimaryCol()
- getPrimaryVal()
- getSaveException()
- getStatus()
- increment()
- isChanged()
- key()
- load()
- locale()
- next()
- offsetExists()
- offsetGet()
- offsetSet()
- offsetUnset()
- refresh()
- rewind()
- save()
- saveInTransaction()
- setInvalid()
- setInvalids()
- setModel()
- setStatus()
- toArray()
- valid()