Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Lang Class Reference
+ Inheritance diagram for Lang:
+ Collaboration diagram for Lang:

Public Member Functions

 Exist ($idapp, $code, $lang)
 
 SetEnv ($id, $lang, $deflang)
 
 Store ($idapp, $code, $lang, $fmt)
 
 Get ($idapp, $lang, $code, $args=NULL)
 
 GetText ($code, $args=NULL)
 
 deletecatalog ($idapp)
 
- Public Member Functions inherited from DbObj
 __construct ($dbaccess= '', $id= '', $res= '', $dbid=0)
 
 Select ($id)
 
 getValues ()
 
 affectColumn ($fields, $reset=true)
 
 affect ($array, $more=false, $reset=true)
 
 isAffected ()
 
 Complete ()
 
 preInsert ()
 
 postInsert ()
 
 preUpdate ()
 
 postUpdate ()
 
 preDelete ()
 
 postDelete ()
 
 preSelect ($id)
 
 postSelect ($id)
 
 Add ($nopost=false, $nopre=false)
 
 modify ($nopost=false, $sfields="", $nopre=false)
 
 delete ($nopost=false)
 
 Adds (&$tcopy, $nopost=false)
 
 lw ($prop)
 
 CloseConnect ()
 
 Create ($nopost=false)
 
 postInit ()
 
 init_dbid ()
 
 exec_query ($sql, $lvl=0, $prepare=false)
 
 numrows ()
 
 fetch_array ($c, $type=PGSQL_ASSOC)
 
 update ()
 
 setError ($moreerr= '')
 
 autoUpdate ()
 
 savePoint ($point)
 
 lockPoint ($exclusiveLock, $exclusiveLockPrefix= '')
 
 setMasterLock ($useLock)
 
 rollbackPoint ($point)
 
 commitPoint ($point)
 

Data Fields

 $fmttxt = "NO TEXT DEFINED"
 
 $fields
 
 $id_fields
 
 $dbtable = "lang"
 
 $sqlcreate
 
 $buffer = array()
 
- Data Fields inherited from DbObj
 $dbid = - 1
 
 $dbaccess = ''
 
 $fields
 
 $dbtable = ''
 
 $id_fields
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = ''
 
 $debug = false
 
 $sqlcreate
 
 $sqlinit
 
 $log
 

Additional Inherited Members

- Static Public Attributes inherited from DbObj
static $savepoint = array()
 
static $lockpoint = array()
 
static $sqlStrict = null
 
- Protected Member Functions inherited from DbObj
 tryCreate ()
 

Detailed Description

Definition at line 60 of file Class.Lang.php.

Member Function Documentation

deletecatalog (   $idapp)

Definition at line 177 of file Class.Lang.php.

Exist (   $idapp,
  $code,
  $lang 
)

Definition at line 87 of file Class.Lang.php.

Get (   $idapp,
  $lang,
  $code,
  $args = NULL 
)

Definition at line 137 of file Class.Lang.php.

GetText (   $code,
  $args = NULL 
)

Definition at line 163 of file Class.Lang.php.

SetEnv (   $id,
  $lang,
  $deflang 
)

Definition at line 101 of file Class.Lang.php.

Store (   $idapp,
  $code,
  $lang,
  $fmt 
)

Definition at line 124 of file Class.Lang.php.

+ Here is the call graph for this function:

Field Documentation

$buffer = array()

Definition at line 85 of file Class.Lang.php.

$dbtable = "lang"

Definition at line 75 of file Class.Lang.php.

$fields
Initial value:
= array(
"idapp",
"lang",
"code",
"fmt"
)

Definition at line 64 of file Class.Lang.php.

$fmttxt = "NO TEXT DEFINED"

Definition at line 63 of file Class.Lang.php.

$id_fields
Initial value:
= array(
"idapp",
"lang",
"code"
)

Definition at line 70 of file Class.Lang.php.

$sqlcreate
Initial value:
= '
create table lang (idapp int not null,
lang varchar(10) not null,
code varchar(60) not null,
fmt varchar(200) not null );
create index lang_idx1 on lang(idapp, lang, code);
'

Definition at line 77 of file Class.Lang.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen