contenido\includes\functions.lang.php
Project:
Contenido Content Management System
Description: Contenido Language Functions
Requirements:
- Author
- Jan Lengowski
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- http://www.contenido.org
- Package
- Contenido Backend includes
- Since
- file available since contenido release <= 4.6 {@internal created unknown modified 2008-06-26, Frederic Schneider, add security fix modified 2008-07-23, Timo Trautmann optional db param added for langGetTextDirection (performance tuning) modified 2009-10-23, Murat Purc, removed deprecated function (PHP 5.3 ready) and some formatting $Id: functions.lang.php 1085 2009-10-24 02:01:34Z xmurrix $: }}
- Version
- 1.2.6
Functions

langActivateDeactivateLanguage( $idlang, $active) : void
Deactivate a language
Parameters
Details
Name | Type | Description |
---|---|---|
$idlang | ||
$active |
- Author
- Jan Lengowski
- Author
- Olaf Niemann
- Copyright
- four for business AG

langDeleteLanguage( $idlang, $idclient = "") : void
Delete a language
Parameters
Details
Name | Type | Description |
---|---|---|
$idlang | ||
$idclient |
- Author
- Jan Lengowski
- Author
- Olaf Niemann
- Copyright
- four for business AG

langDuplicateFromFirstLanguage( $client, $idlang) : void
Duplicate a language
Parameters
Details
Name | Type | Description |
---|---|---|
$client | ||
$idlang |
- Author
- Jan Lengowski
- Author
- Olaf Niemann
- Copyright
- four for business AG

langEditLanguage( $idlang, $langname, $encoding, $active, $direction = "ltr") : void
Edit a language
Parameters
Details
Name | Type | Description |
---|---|---|
$idlang | ||
$langname | ||
$encoding | ||
$active | ||
$direction |
- Author
- Jan Lengowski
- Author
- Olaf Niemann
- Copyright
- four for business AG

langNewLanguage(string $name, $client) : void
Create a new language
Parameters
Details
Name | Type | Description |
---|---|---|
$name | string | Name of the language |
$client |
- Author
- Jan Lengowski
- Author
- Olaf Niemann
- Copyright
- four for business AG