class i18n_path_object in Internationalization 7
Path object
Hierarchy
- class \i18n_object_wrapper
- class \i18n_path_object
Expanded class hierarchy of i18n_path_object
1 string reference to 'i18n_path_object'
- i18n_path_i18n_object_info in i18n_path/
i18n_path.module - Implements hook_i18n_object_info().
File
- i18n_path/
i18n_path.inc, line 50 - Internationalization (i18n) module - Translation set
View source
class i18n_path_object extends i18n_object_wrapper {
/**
* Get title from item
*/
public function get_title() {
return $this->object->path;
}
/**
* Get path for item
*/
public function get_path() {
return check_url($this->object->path);
}
/**
* Get translate mode
*/
public function get_translate_mode() {
return I18N_MODE_TRANSLATE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
i18n_object_wrapper:: |
protected | property | ||
i18n_object_wrapper:: |
protected | property | ||
i18n_object_wrapper:: |
protected | property | ||
i18n_object_wrapper:: |
protected | property | ||
i18n_object_wrapper:: |
function | Get edit path for object | 2 | |
i18n_object_wrapper:: |
function | Get field value from object/array | ||
i18n_object_wrapper:: |
function | Get string numeric key for indexing. | ||
i18n_object_wrapper:: |
public | function | Get object info | |
i18n_object_wrapper:: |
function | Get key value from object/array | ||
i18n_object_wrapper:: |
public | function | Get language code | |
i18n_object_wrapper:: |
public | function | Get real object or array. | |
i18n_object_wrapper:: |
protected | function | Get menu placehoders for object | |
i18n_object_wrapper:: |
public | function | Get object string translation info | |
i18n_object_wrapper:: |
function | Menu access callback for mixed translation tab | ||
i18n_object_wrapper:: |
public | function | Get object translation set info | |
i18n_object_wrapper:: |
function | Get translation set id if any | ||
i18n_object_wrapper:: |
public | function | Get object type | |
i18n_object_wrapper:: |
function | Load real object or array. | 1 | |
i18n_object_wrapper:: |
function | Localize object if localizable. | ||
i18n_object_wrapper:: |
protected | function | Translate access (localize strings) | 1 |
i18n_object_wrapper:: |
protected | function | Replace path with placeholders | |
i18n_object_wrapper:: |
function | Set field value to object/array | ||
i18n_object_wrapper:: |
function | Set translation set id | ||
i18n_object_wrapper:: |
function | Translate object if translatable. | 1 | |
i18n_object_wrapper:: |
protected | function | Translate access (translation sets) | 2 |
i18n_object_wrapper:: |
public | function | Class constructor | 2 |
i18n_path_object:: |
public | function |
Get path for item Overrides i18n_object_wrapper:: |
|
i18n_path_object:: |
public | function |
Get title from item Overrides i18n_object_wrapper:: |
|
i18n_path_object:: |
public | function |
Get translate mode Overrides i18n_object_wrapper:: |