Platform  3.1
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)
 
 Affect ($array)
 
 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 ()
 
 savePoint ($point)
 
 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 = ''
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = null
 
 $debug = false
 

Additional Inherited Members

- Static Public Attributes inherited from DbObj
static $savepoint = array()
 

Detailed Description

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

Member Function Documentation

deletecatalog (   $idapp)

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

Exist (   $idapp,
  $code,
  $lang 
)

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

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

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

GetText (   $code,
  $args = NULL 
)

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

SetEnv (   $id,
  $lang,
  $deflang 
)

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

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

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

+ Here is the call graph for this function:

Field Documentation

$buffer = array()

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

$dbtable = "lang"

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

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

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

$fmttxt = "NO TEXT DEFINED"

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

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

Definition at line 72 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 79 of file Class.Lang.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase