Back to index

php5  5.3.10
Functions
lcmess.inc File Reference

Go to the source code of this file.

Functions

 _skip_lc_messages ($lc_messages= 'C')
 _set_lc_messages ($lc_messages= 'C')

Function Documentation

_set_lc_messages ( lc_messages = 'C')

Definition at line 10 of file lcmess.inc.

{
       if (pg_result(pg_query("SHOW LC_MESSAGES"), 0, 0) != $lc_messages) {
              if (!@pg_exec("SET LC_MESSAGES='{$lc_messages}'")) {
                     return false;
              }
       }

       return true;
}

Here is the caller graph for this function:

_skip_lc_messages ( lc_messages = 'C')

Definition at line 3 of file lcmess.inc.

{
       if (!_set_lc_messages($lc_messages)) {
              die("skip Cannot set LC_MESSAGES to '{$lc_messages}'\n");
       }
}

Here is the call graph for this function: