コード例 #1
0
ファイル: DAO.php プロジェクト: konadave/civicrm-core
 /**
  * @param string $tableName
  *
  * @return string
  */
 public static function getLocaleTableName($tableName)
 {
     global $dbLocale;
     if ($dbLocale) {
         $tables = CRM_Core_I18n_Schema::schemaStructureTables();
         if (in_array($tableName, $tables)) {
             return $tableName . $dbLocale;
         }
     }
     return $tableName;
 }
コード例 #2
0
ファイル: Form.php プロジェクト: nganivet/civicrm-core
 /**
  * @param $rev
  */
 public function setSchemaStructureTables($rev)
 {
     if ($this->multilingual) {
         CRM_Core_I18n_Schema::schemaStructureTables($rev, TRUE);
     }
 }