Class: base_phraseeditor
Quellcode Position: Program_Root/base_phraseeditor.php
Class base_phraseeditor
Class Overview
|
basic class translation engine Implementiert in Program_Root/base_phraseeditor.php [Zeile 21] base_object | --base_db | --base_phraseeditorAuthor(s):
|
|
[ Seitenanfang ]
Inherited Properties And Methods
| Inherited Properties | Inherited Methods |
|---|---|
|
Abgeleitet von base_db |
Abgeleitet von base_db
Abgeleitet von base_object
|
[ Seitenanfang ]
Properties Summary
| mixed | $baselink | |
| mixed | $dburi | |
| mixed | $msgabscount | |
| mixed | $msgsteps | |
| mixed | $paramname | |
| mixed | $params | |
| mixed | $phrabscount | |
| mixed | $phrsteps | |
| mixed | $sessionparamname | |
| mixed | $sessionparams | |
| mixed | $table_lng | |
| mixed | $table_log | |
| mixed | $table_modrel | |
| mixed | $table_module | |
| mixed | $table_phrase | |
| mixed | $table_translation |
[ Seitenanfang ]
Method Summary
| boolean | addPhrase() | Add phrase |
| string | buildlink() | build link |
| boolean | cleanLog() | Clean log |
| mixed | clearModuleLinks() | Clear module links |
| boolean | deleteLogMsg() | Delete log message |
| boolean | deletePhrase() | Delete phrase |
| boolean | emptyLog() | Empty log |
| boolean | emptyModules() | Empty modules |
| void | execute() | Baic function for handling parameters |
| void | getAddForm() | get add formular |
| void | getDelForm() | Get del formular |
| void | getEditForm() | Get edit formular |
| array | getLngComboItems() | Get language combo items |
| string | getLngGlyph() | Get language glyph |
| void | getLogMsgList() | Get log message list | getModuleComboItems() | Get module combo items |
| void | getPagesNav() | Get pages navigation |
| void | getPhrasesList() | Get phrases list |
| void | getXML() | Get XML |
| void | getXMLButtons() | get XML buttons |
| void | initialize() | Initialize parameters | loadLanguages() | Load languages |
| boolean | loadLogMessages() | Load log messages |
| boolean | loadModules() | Load modules |
| boolean | loadPhrase() | Load phrase |
| boolean | loadPhrases() | load phrases |
| boolean | saveTranslations() | Save translations |
[ Seitenanfang ]
Properties
mixed
$dburi
= PAPAYA_DB_URI [Zeile 22]
Neudefinition von:
- base_db::$dburi
- Database URI
[ Seitenanfang ]
Methods
addPhrase [Zeile 262]
|
Add phrase
Parameters:| string | $new_phrase: |
API Tags:
| Access: | public |
[ Seitenanfang ]
buildlink [Zeile 527]
|
build link
Parameters:| mixed | $params: | optional, default value NULL |
| mixed | $base_params: | optional, default value NULL |
| mixed | $reset_params: | optional, default value NULL |
API Tags:
| Access: | public |
[ Seitenanfang ]
cleanLog [Zeile 458]
|
Clean log
Parameters:| string | $phrase: | optional, default value '' |
| mixed | $phrase_id: | optional, default value NULL |
API Tags:
| Access: | public |
[ Seitenanfang ]
clearModuleLinks [Zeile 355]
|
Clear module links
Parameters:| mixed | $module: | optional, default value NULL |
| mixed | $phrase: | optional, default value NULL |
API Tags:
| Access: | public |
[ Seitenanfang ]
deleteLogMsg [Zeile 475]
|
Delete log message
Parameters:| integer | $id: |
API Tags:
| Access: | public |
[ Seitenanfang ]
deletePhrase [Zeile 290]
|
Delete phrase
API Tags:
| Access: | public |
[ Seitenanfang ]
emptyModules [Zeile 446]
|
Empty modules
API Tags:
| Access: | public |
[ Seitenanfang ]
execute [Zeile 66]
|
Baic function for handling parameters
API Tags:
| Access: | public |
[ Seitenanfang ]
getAddForm [Zeile 789]
|
get add formular
API Tags:
| Access: | public |
[ Seitenanfang ]
getDelForm [Zeile 768]
|
Get del formular
API Tags:
| Access: | public |
[ Seitenanfang ]
getEditForm [Zeile 735]
|
Get edit formular
API Tags:
| Access: | public |
[ Seitenanfang ]
getLngComboItems [Zeile 604]
|
Get language combo items
API Tags:
| Access: | public |
[ Seitenanfang ]
getLngGlyph [Zeile 678]
|
Get language glyph
Parameters:| integer | $lng_id: |
API Tags:
| Return: | file name |
| Access: | public |
[ Seitenanfang ]
getLogMsgList [Zeile 691]
|
Get log message list
API Tags:
| Access: | public |
[ Seitenanfang ]
getModuleComboItems [Zeile 620]
|
Get module combo items
API Tags:
| Access: | public |
[ Seitenanfang ]
getPagesNav [Zeile 500]
|
Get pages navigation
Parameters:| object | &$toolbar: | |
| integer | $offset: | |
| integer | $step: | |
| integer | $max: | |
| string | $paramname: | optional, default value 'offset' |
| string | $caption: | optional, default value 'Pages' |
API Tags:
| Access: | public |
[ Seitenanfang ]
getPhrasesList [Zeile 635]
|
Get phrases list
API Tags:
| Access: | public |
[ Seitenanfang ]
getXMLButtons [Zeile 558]
|
get XML buttons
API Tags:
| Access: | public |
[ Seitenanfang ]
initialize [Zeile 47]
|
Initialize parameters
Parameters:| string | $paramname: | optional, default value 'phr' |
API Tags:
| Access: | public |
[ Seitenanfang ]
loadLogMessages [Zeile 414]
|
Load log messages
API Tags:
| Access: | public |
[ Seitenanfang ]
loadModules [Zeile 373]
|
Load modules
API Tags:
| Access: | public |
[ Seitenanfang ]
loadPhrase [Zeile 230]
|
Load phrase
Parameters:| integer | $id: | |
| boolean | $usedb: | optional, default value false |
API Tags:
| Access: | public |
[ Seitenanfang ]
loadPhrases [Zeile 148]
|
load phrases
Parameters:| integer | $module_id: |
API Tags:
| Access: | public |
[ Seitenanfang ]
saveTranslations [Zeile 303]
|
Save translations
API Tags:
| Access: | public |
[ Seitenanfang ]
