Fix conflicts with develop branch
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -42,3 +42,4 @@ test_shared/
|
|||||||
**/cache/
|
**/cache/
|
||||||
storage/
|
storage/
|
||||||
phpunit.xml
|
phpunit.xml
|
||||||
|
!/workflow/engine/plugins/.gitignore
|
||||||
@@ -31,9 +31,9 @@
|
|||||||
"laravel/framework": "5.7.*",
|
"laravel/framework": "5.7.*",
|
||||||
"luracast/restler": "^3.0",
|
"luracast/restler": "^3.0",
|
||||||
"bshaffer/oauth2-server-php": "v1.0",
|
"bshaffer/oauth2-server-php": "v1.0",
|
||||||
"colosa/pmUI": "release/3.4.0-dev",
|
"colosa/pmui": "release/3.4.5-dev",
|
||||||
"colosa/MichelangeloFE": "release/3.4.0-dev",
|
"colosa/michelangelofe": "release/3.4.5-dev",
|
||||||
"colosa/pmdynaform": "release/3.4.0-dev",
|
"colosa/pmdynaform": "release/3.4.5-dev",
|
||||||
"google/apiclient": "1.1.6",
|
"google/apiclient": "1.1.6",
|
||||||
"dapphp/securimage": "^3.6",
|
"dapphp/securimage": "^3.6",
|
||||||
"psr/log": "1.0.0",
|
"psr/log": "1.0.0",
|
||||||
@@ -45,14 +45,15 @@
|
|||||||
"pear/console_getopt": "1.4.*",
|
"pear/console_getopt": "1.4.*",
|
||||||
"typo3/class-alias-loader": "^1.0",
|
"typo3/class-alias-loader": "^1.0",
|
||||||
"ralouphie/getallheaders": "^2.0",
|
"ralouphie/getallheaders": "^2.0",
|
||||||
"smarty/smarty": "2.6.30",
|
"smarty/smarty": "2.6.31",
|
||||||
"pdepend/pdepend": "@stable",
|
"pdepend/pdepend": "@stable",
|
||||||
"chumper/zipper": "^1.0",
|
"chumper/zipper": "^1.0",
|
||||||
"php-imap/php-imap": "^3.0",
|
"php-imap/php-imap": "^3.0",
|
||||||
"nikic/php-parser": "3.1.5",
|
"nikic/php-parser": "3.1.5",
|
||||||
"laravel/tinker": "^1.0",
|
"laravel/tinker": "^1.0",
|
||||||
"league/oauth2-client": "^2.4",
|
"league/oauth2-client": "^2.4",
|
||||||
"league/oauth2-google": "^3.0"
|
"league/oauth2-google": "^3.0",
|
||||||
|
"tecnickcom/tcpdf": "6.3.*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fzaninotto/faker": "^1.7",
|
"fzaninotto/faker": "^1.7",
|
||||||
|
|||||||
1296
composer.lock
generated
1296
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -87,6 +87,7 @@ return [
|
|||||||
'css' => ['text/css', 'text/plain'],
|
'css' => ['text/css', 'text/plain'],
|
||||||
'cst' => 'application/x-director',
|
'cst' => 'application/x-director',
|
||||||
'cxt' => 'application/x-director',
|
'cxt' => 'application/x-director',
|
||||||
|
'csv' => ['text/csv', 'text/plain'],
|
||||||
'cxx' => ['text/x-c', 'text/plain'],
|
'cxx' => ['text/x-c', 'text/plain'],
|
||||||
'dataless' => 'application/vnd.fdsn.seed',
|
'dataless' => 'application/vnd.fdsn.seed',
|
||||||
'dcr' => 'application/x-director',
|
'dcr' => 'application/x-director',
|
||||||
@@ -468,6 +469,7 @@ return [
|
|||||||
'spr' => 'application/x-sprite',
|
'spr' => 'application/x-sprite',
|
||||||
'sprite' => 'application/x-sprite',
|
'sprite' => 'application/x-sprite',
|
||||||
'spx' => 'audio/ogg',
|
'spx' => 'audio/ogg',
|
||||||
|
'sql' => ['application/sql', 'text/plain'],
|
||||||
'src' => 'application/x-wais-source',
|
'src' => 'application/x-wais-source',
|
||||||
'ssi' => 'text/x-server-parsed-html',
|
'ssi' => 'text/x-server-parsed-html',
|
||||||
'ssm' => 'application/streamingmedia',
|
'ssm' => 'application/streamingmedia',
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ return [
|
|||||||
'charset' => 'utf8mb4',
|
'charset' => 'utf8mb4',
|
||||||
'collation' => 'utf8mb4_unicode_ci',
|
'collation' => 'utf8mb4_unicode_ci',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'strict' => true,
|
'strict' => env('DB_STRICT', false),
|
||||||
'engine' => null,
|
'engine' => null,
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -82,6 +82,11 @@ workflow/engine/methods/setup/webServices.php
|
|||||||
workflow/engine/methods/setup/webServicesAjax.php
|
workflow/engine/methods/setup/webServicesAjax.php
|
||||||
workflow/engine/methods/setup/webServicesList.php
|
workflow/engine/methods/setup/webServicesList.php
|
||||||
workflow/engine/methods/users/data_usersList.php
|
workflow/engine/methods/users/data_usersList.php
|
||||||
|
workflow/engine/plugins/charts.php
|
||||||
|
workflow/engine/plugins/charts/class.charts.php
|
||||||
|
workflow/engine/plugins/charts/config/setup.conf
|
||||||
|
workflow/engine/plugins/charts/genericCharts.php
|
||||||
|
workflow/engine/plugins/charts/setupPage.xml
|
||||||
workflow/engine/plugins/openFlash.php
|
workflow/engine/plugins/openFlash.php
|
||||||
workflow/engine/plugins/openFlash/chart-data.php
|
workflow/engine/plugins/openFlash/chart-data.php
|
||||||
workflow/engine/plugins/openFlash/chart.php
|
workflow/engine/plugins/openFlash/chart.php
|
||||||
@@ -103,6 +108,8 @@ workflow/engine/plugins/pmosCommunity/open_flash_chart_object.php
|
|||||||
workflow/engine/plugins/pmosCommunity/public_html/open-flash-chart.swf
|
workflow/engine/plugins/pmosCommunity/public_html/open-flash-chart.swf
|
||||||
workflow/engine/plugins/pmosCommunity/public_html/swfobject.js
|
workflow/engine/plugins/pmosCommunity/public_html/swfobject.js
|
||||||
workflow/engine/plugins/pmosCommunity/setupPage.xml
|
workflow/engine/plugins/pmosCommunity/setupPage.xml
|
||||||
|
workflow/engine/plugins/processTemplate.php
|
||||||
|
workflow/engine/plugins/processTemplate/class.processTemplate.php
|
||||||
workflow/engine/skinEngine/base/images/updating/page_background.png
|
workflow/engine/skinEngine/base/images/updating/page_background.png
|
||||||
workflow/engine/skinEngine/neoclassic/images/updating/page_background.png
|
workflow/engine/skinEngine/neoclassic/images/updating/page_background.png
|
||||||
workflow/engine/src/ProcessMaker/Services/Api/Test2.php
|
workflow/engine/src/ProcessMaker/Services/Api/Test2.php
|
||||||
@@ -123,3 +130,4 @@ workflow/engine/xmlform/users/users_List.xml
|
|||||||
workflow/engine/xmlform/users/users_Options.xml
|
workflow/engine/xmlform/users/users_Options.xml
|
||||||
workflow/public_html/skins/JSForms.js
|
workflow/public_html/skins/JSForms.js
|
||||||
workflow/public_html/skins/ajax.js
|
workflow/public_html/skins/ajax.js
|
||||||
|
thirdparty/tcpdf
|
||||||
28
database/factories/AdditionalTablesFactory.php
Normal file
28
database/factories/AdditionalTablesFactory.php
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Faker\Generator as Faker;
|
||||||
|
|
||||||
|
$factory->define(\ProcessMaker\Model\AdditionalTables::class, function(Faker $faker) {
|
||||||
|
return [
|
||||||
|
'ADD_TAB_UID' => G::generateUniqueID(),
|
||||||
|
'ADD_TAB_NAME' => $faker->name,
|
||||||
|
'ADD_TAB_CLASS_NAME' => $faker->name,
|
||||||
|
'ADD_TAB_DESCRIPTION' => $faker->text,
|
||||||
|
'ADD_TAB_SDW_LOG_INSERT' => 0,
|
||||||
|
'ADD_TAB_SDW_LOG_UPDATE' => 0,
|
||||||
|
'ADD_TAB_SDW_LOG_DELETE' => 0,
|
||||||
|
'ADD_TAB_SDW_LOG_SELECT' => 0,
|
||||||
|
'ADD_TAB_SDW_MAX_LENGTH' => 0,
|
||||||
|
'ADD_TAB_SDW_AUTO_DELETE' => 0,
|
||||||
|
'ADD_TAB_PLG_UID' => '',
|
||||||
|
'DBS_UID' => 'workflow',
|
||||||
|
'PRO_UID' => function() {
|
||||||
|
return factory(\ProcessMaker\Model\Process::class)->create()->PRO_UID;
|
||||||
|
},
|
||||||
|
'ADD_TAB_TYPE' => '',
|
||||||
|
'ADD_TAB_GRID' => '',
|
||||||
|
'ADD_TAB_TAG' => '',
|
||||||
|
'ADD_TAB_OFFLINE' => 0,
|
||||||
|
'ADD_TAB_UPDATE_DATE' => $faker->dateTime()
|
||||||
|
];
|
||||||
|
});
|
||||||
50
database/factories/FieldsFactory.php
Normal file
50
database/factories/FieldsFactory.php
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Faker\Generator as Faker;
|
||||||
|
use ProcessMaker\Model\AdditionalTables;
|
||||||
|
|
||||||
|
$factory->define(\ProcessMaker\Model\Fields::class, function (Faker $faker) {
|
||||||
|
return [
|
||||||
|
'FLD_UID' => G::generateUniqueID(),
|
||||||
|
'ADD_TAB_UID' => G::generateUniqueID(),
|
||||||
|
'FLD_INDEX' => 0,
|
||||||
|
'FLD_NAME' => 'VAR_' . $faker->sentence(1),
|
||||||
|
'FLD_DESCRIPTION' => $faker->sentence(2),
|
||||||
|
'FLD_TYPE' => 'VARCHAR',
|
||||||
|
'FLD_SIZE' => 255,
|
||||||
|
'FLD_NULL' => 1,
|
||||||
|
'FLD_AUTO_INCREMENT' => 0,
|
||||||
|
'FLD_KEY' => 1,
|
||||||
|
'FLD_TABLE_INDEX' => 0,
|
||||||
|
'FLD_FOREIGN_KEY' => 0,
|
||||||
|
'FLD_FOREIGN_KEY_TABLE' => '',
|
||||||
|
'FLD_DYN_NAME' => '',
|
||||||
|
'FLD_DYN_UID' => '',
|
||||||
|
'FLD_FILTER' => 0,
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
// Create columns from a table with the foreign keys
|
||||||
|
$factory->state(\ProcessMaker\Model\Fields::class, 'foreign_keys', function (Faker $faker) {
|
||||||
|
return [
|
||||||
|
'FLD_UID' => G::generateUniqueID(),
|
||||||
|
'ADD_TAB_UID' => function() {
|
||||||
|
$table = factory(AdditionalTables::class)->create(['ADD_TAB_OFFLINE' => 1]);
|
||||||
|
return $table->ADD_TAB_UID;
|
||||||
|
},
|
||||||
|
'FLD_INDEX' => 0,
|
||||||
|
'FLD_NAME' => 'VAR_' . $faker->sentence(1),
|
||||||
|
'FLD_DESCRIPTION' => $faker->sentence(2),
|
||||||
|
'FLD_TYPE' => 'VARCHAR',
|
||||||
|
'FLD_SIZE' => 255,
|
||||||
|
'FLD_NULL' => 1,
|
||||||
|
'FLD_AUTO_INCREMENT' => 0,
|
||||||
|
'FLD_KEY' => 1,
|
||||||
|
'FLD_TABLE_INDEX' => 0,
|
||||||
|
'FLD_FOREIGN_KEY' => 0,
|
||||||
|
'FLD_FOREIGN_KEY_TABLE' => '',
|
||||||
|
'FLD_DYN_NAME' => '',
|
||||||
|
'FLD_DYN_UID' => '',
|
||||||
|
'FLD_FILTER' => 0,
|
||||||
|
];
|
||||||
|
});
|
||||||
@@ -87,7 +87,9 @@ class CodeScanner
|
|||||||
|
|
||||||
if (file_exists($fileDisabledCode)) {
|
if (file_exists($fileDisabledCode)) {
|
||||||
$arrayAux = array_filter(array_map("trim", file($fileDisabledCode, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)));
|
$arrayAux = array_filter(array_map("trim", file($fileDisabledCode, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)));
|
||||||
$arrayAux = array_filter($arrayAux, create_function("\$line", "return !preg_match(\"/^;.*\$/\", \$line);"));
|
$arrayAux = array_filter($arrayAux, function ($line) {
|
||||||
|
return !preg_match("/^;.*\$/", $line);
|
||||||
|
});
|
||||||
|
|
||||||
$this->arrayDisabledCode = array_unique(array_merge($this->arrayDisabledCode, $arrayAux));
|
$this->arrayDisabledCode = array_unique(array_merge($this->arrayDisabledCode, $arrayAux));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,12 +77,13 @@ class Controller
|
|||||||
*/
|
*/
|
||||||
public function __get($name)
|
public function __get($name)
|
||||||
{
|
{
|
||||||
|
$message = 'Undefined property via __get(): ' . $name . ' in ';
|
||||||
if (array_key_exists($name, $this->__data__)) {
|
if (array_key_exists($name, $this->__data__)) {
|
||||||
return $this->__data__[$name];
|
return $this->__data__[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
$trace = debug_backtrace();
|
$trace = debug_backtrace();
|
||||||
trigger_error('Undefined property via __get(): ' . $name . ' in ' . $trace[0]['file'] . ' on line ' . $trace[0]['line'], E_USER_NOTICE);
|
trigger_error($message . $trace[0]['file'] . ' on line ' . $trace[0]['line'], E_USER_NOTICE);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,8 +178,8 @@ class Controller
|
|||||||
$this->__request__ = new stdclass();
|
$this->__request__ = new stdclass();
|
||||||
}
|
}
|
||||||
if (is_array($data)) {
|
if (is_array($data)) {
|
||||||
while ($var = each($data)) {
|
foreach ($data as $key => $value) {
|
||||||
$this->__request__->{$var['key']} = $var['value'];
|
$this->__request__->{$key} = $value;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->__request__ = $data;
|
$this->__request__ = $data;
|
||||||
|
|||||||
@@ -360,7 +360,7 @@ class Form extends XmlForm
|
|||||||
|
|
||||||
//Execute just if a query was set, it should be not empty
|
//Execute just if a query was set, it should be not empty
|
||||||
if (trim($query) == "") {
|
if (trim($query) == "") {
|
||||||
continue; //if it is empty string skip it
|
break; //if it is empty string skip it
|
||||||
}
|
}
|
||||||
|
|
||||||
//We do the query to the external connection and we've got the label
|
//We do the query to the external connection and we've got the label
|
||||||
@@ -438,7 +438,7 @@ class Form extends XmlForm
|
|||||||
|
|
||||||
// execute just if a query was set, it should be not empty
|
// execute just if a query was set, it should be not empty
|
||||||
if (trim( $query ) == '') {
|
if (trim( $query ) == '') {
|
||||||
continue; //if it is empty string skip it
|
break; //if it is empty string skip it
|
||||||
}
|
}
|
||||||
|
|
||||||
//we do the query to the external connection and we've got the label
|
//we do the query to the external connection and we've got the label
|
||||||
@@ -491,7 +491,7 @@ class Form extends XmlForm
|
|||||||
//Execute just if a query was set, it should be not empty
|
//Execute just if a query was set, it should be not empty
|
||||||
if (trim( $query ) == "") {
|
if (trim( $query ) == "") {
|
||||||
//if it is empty string skip it
|
//if it is empty string skip it
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$rs = $stmt->executeQuery( ResultSet::FETCHMODE_NUM );
|
$rs = $stmt->executeQuery( ResultSet::FETCHMODE_NUM );
|
||||||
|
|||||||
@@ -758,7 +758,7 @@ class headPublisher
|
|||||||
$sjson = $oServerConf->getProperty($keyState);
|
$sjson = $oServerConf->getProperty($keyState);
|
||||||
if ($sjson !== "") {
|
if ($sjson !== "") {
|
||||||
$json = G::json_decode($sjson);
|
$json = G::json_decode($sjson);
|
||||||
if ((is_array($json) || is_object($json)) && sizeof($json)){
|
if (is_iterable($json)) {
|
||||||
foreach ($json as $key => $value) {
|
foreach ($json as $key => $value) {
|
||||||
$views[$key] = $value;
|
$views[$key] = $value;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -142,8 +142,8 @@ class HttpProxyController
|
|||||||
public function setHttpRequestData($data)
|
public function setHttpRequestData($data)
|
||||||
{
|
{
|
||||||
if (is_array($data)) {
|
if (is_array($data)) {
|
||||||
while ($var = each($data)) {
|
foreach ($data as $key => $value) {
|
||||||
$this->__request__->{$var['key']} = $var['value'];
|
$this->__request__->{$key} = $value;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->__request__ = $data;
|
$this->__request__ = $data;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class Menu
|
|||||||
{
|
{
|
||||||
|
|
||||||
public $Id = null;
|
public $Id = null;
|
||||||
public $Options = null;
|
public $Options = [];
|
||||||
public $Labels = null;
|
public $Labels = null;
|
||||||
public $Icons = null;
|
public $Icons = null;
|
||||||
public $JS = null;
|
public $JS = null;
|
||||||
|
|||||||
@@ -876,6 +876,8 @@ EOREGEX;
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$shouldItContinue = false;
|
||||||
switch ($upper) {
|
switch ($upper) {
|
||||||
case 'AS':
|
case 'AS':
|
||||||
$token_count ++;
|
$token_count ++;
|
||||||
@@ -886,7 +888,7 @@ EOREGEX;
|
|||||||
++ $n;
|
++ $n;
|
||||||
}
|
}
|
||||||
|
|
||||||
continue;
|
$shouldItContinue = true;
|
||||||
break;
|
break;
|
||||||
case 'INDEX':
|
case 'INDEX':
|
||||||
if ($token_category == 'CREATE') {
|
if ($token_category == 'CREATE') {
|
||||||
@@ -908,12 +910,12 @@ EOREGEX;
|
|||||||
case 'OUTER':
|
case 'OUTER':
|
||||||
# $expression .= $token;
|
# $expression .= $token;
|
||||||
$token_count ++;
|
$token_count ++;
|
||||||
continue;
|
$shouldItContinue = true;
|
||||||
break;
|
break;
|
||||||
case 'FOR':
|
case 'FOR':
|
||||||
$token_count ++;
|
$token_count ++;
|
||||||
$skip_next = true;
|
$skip_next = true;
|
||||||
continue;
|
$shouldItContinue = true;
|
||||||
break;
|
break;
|
||||||
case 'LEFT':
|
case 'LEFT':
|
||||||
case 'RIGHT':
|
case 'RIGHT':
|
||||||
@@ -969,7 +971,8 @@ EOREGEX;
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if ($token === false || empty( $token ) || $token === "") {
|
if ($token === false || empty( $token ) || $token === "") {
|
||||||
continue;
|
$shouldItContinue = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($token_count == 0) {
|
if ($token_count == 0) {
|
||||||
@@ -982,6 +985,9 @@ EOREGEX;
|
|||||||
$token_count ++;
|
$token_count ++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if ($shouldItContinue === true) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
++ $i;
|
++ $i;
|
||||||
}
|
}
|
||||||
if (substr( trim( $table ), 0, 1 ) == '(') {
|
if (substr( trim( $table ), 0, 1 ) == '(') {
|
||||||
|
|||||||
@@ -176,6 +176,24 @@ class RBAC
|
|||||||
'showDynaformListHistory' => ['PM_CASES'],
|
'showDynaformListHistory' => ['PM_CASES'],
|
||||||
'dynaformChangeLogViewHistory' => ['PM_CASES'],
|
'dynaformChangeLogViewHistory' => ['PM_CASES'],
|
||||||
'historyDynaformGridPreview' => ['PM_CASES'],
|
'historyDynaformGridPreview' => ['PM_CASES'],
|
||||||
|
],
|
||||||
|
'usersAjax.php' => [
|
||||||
|
'countryList' => ['PM_LOGIN'],
|
||||||
|
'stateList' => ['PM_LOGIN'],
|
||||||
|
'locationList' => ['PM_LOGIN'],
|
||||||
|
'usersList' => ['PM_USERS,PM_EDIT_USER_PROFILE_REPLACED_BY'],
|
||||||
|
'availableCalendars' => ['PM_LOGIN'],
|
||||||
|
'rolesList' => ['PM_LOGIN'],
|
||||||
|
'getUserLogedRole' => ['PM_USERS,PM_EDIT_USER_PROFILE_PASSWORD'],
|
||||||
|
'languagesList' => ['PM_LOGIN'],
|
||||||
|
'saveUser' => [], // This action is validated with custom logic in the same page
|
||||||
|
'savePersonalInfo' => [], // This action is validated with custom logic in the same page
|
||||||
|
'userData' => [], // This action is validated with custom logic in the same page
|
||||||
|
'defaultMainMenuOptionList' => ['PM_LOGIN'],
|
||||||
|
'defaultCasesMenuOptionList' => ['PM_LOGIN'],
|
||||||
|
'testPassword' => ['PM_USERS,PM_EDIT_USER_PROFILE_PASSWORD'],
|
||||||
|
'testUsername' => ['PM_USERS,PM_EDIT_USER_PROFILE_USERNAME'],
|
||||||
|
'passwordValidate' => ['PM_USERS,PM_EDIT_USER_PROFILE_PASSWORD'],
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
$this->aliasPermissions['PM_CASES'] = [self::PM_GUEST_CASE];
|
$this->aliasPermissions['PM_CASES'] = [self::PM_GUEST_CASE];
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ INSERT INTO `RBAC_PERMISSIONS` VALUES
|
|||||||
('00000000000000000000000000000010','PM_SETUP_ADVANCE',NULL,NULL,1,'00000000000000000000000000000002'),
|
('00000000000000000000000000000010','PM_SETUP_ADVANCE',NULL,NULL,1,'00000000000000000000000000000002'),
|
||||||
('00000000000000000000000000000011','PM_DASHBOARD','2009-02-18 00:00:00','2009-02-18 00:00:00',1,'00000000000000000000000000000002'),
|
('00000000000000000000000000000011','PM_DASHBOARD','2009-02-18 00:00:00','2009-02-18 00:00:00',1,'00000000000000000000000000000002'),
|
||||||
('00000000000000000000000000000012','PM_WEBDAV','2009-08-21 00:00:00','2009-08-21 00:00:00',1,'00000000000000000000000000000002'),
|
('00000000000000000000000000000012','PM_WEBDAV','2009-08-21 00:00:00','2009-08-21 00:00:00',1,'00000000000000000000000000000002'),
|
||||||
('00000000000000000000000000000013','PM_DELETECASE','2009-10-12 00:00:00',NULL,0,'00000000000000000000000000000002'),
|
('00000000000000000000000000000013','PM_DELETECASE','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
||||||
('00000000000000000000000000000014','PM_EDITPERSONALINFO','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
('00000000000000000000000000000014','PM_EDITPERSONALINFO','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
||||||
('00000000000000000000000000000015','PM_FOLDERS_VIEW','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
('00000000000000000000000000000015','PM_FOLDERS_VIEW','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
||||||
('00000000000000000000000000000016','PM_FOLDERS_ADD_FOLDER','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
('00000000000000000000000000000016','PM_FOLDERS_ADD_FOLDER','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
|
||||||
@@ -225,7 +225,7 @@ INSERT INTO `RBAC_SYSTEMS` VALUES
|
|||||||
('00000000000000000000000000000002','PROCESSMAKER','2007-07-31 19:10:22','2007-08-03 12:24:36',1);
|
('00000000000000000000000000000002','PROCESSMAKER','2007-07-31 19:10:22','2007-08-03 12:24:36',1);
|
||||||
|
|
||||||
INSERT INTO `RBAC_USERS` VALUES
|
INSERT INTO `RBAC_USERS` VALUES
|
||||||
('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator','','admin@processmaker.com','2020-01-01','2007-08-03 12:24:36','2008-02-13 07:24:07',1,'MYSQL','00000000000000000000000000000000','',''),
|
('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator','','admin@processmaker.com',DATE_ADD(curdate(), INTERVAL 1 YEAR),'2007-08-03 12:24:36','2008-02-13 07:24:07',1,'MYSQL','00000000000000000000000000000000','',''),
|
||||||
('00000000000000000000000000000002','guest','$2y$10$rasFC.VNv9TLStNtFVJu6OjxhCi6FezdwkLrBzTFwmXsNnfW0/YZm','Guest','','guest@processmaker.com','2030-01-01','2009-02-01 12:24:36','2009-02-01 12:24:36',0,'MYSQL','00000000000000000000000000000000','','');
|
('00000000000000000000000000000002','guest','$2y$10$rasFC.VNv9TLStNtFVJu6OjxhCi6FezdwkLrBzTFwmXsNnfW0/YZm','Guest','','guest@processmaker.com','2030-01-01','2009-02-01 12:24:36','2009-02-01 12:24:36',0,'MYSQL','00000000000000000000000000000000','','');
|
||||||
|
|
||||||
INSERT INTO `RBAC_USERS_ROLES` VALUES
|
INSERT INTO `RBAC_USERS_ROLES` VALUES
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ define('PMTABLE_KEY', 'pmtable');
|
|||||||
define('DB_ADAPTER', 'mysql');
|
define('DB_ADAPTER', 'mysql');
|
||||||
// Path related some specific directories
|
// Path related some specific directories
|
||||||
define('PATH_SEP', '/');
|
define('PATH_SEP', '/');
|
||||||
|
define("PATH_PLUGINS", PATH_CORE . "plugins" . PATH_SEP);
|
||||||
define('PATH_WORKSPACE', PATH_TRUNK . '/shared/sites/' . SYS_SYS . '/');
|
define('PATH_WORKSPACE', PATH_TRUNK . '/shared/sites/' . SYS_SYS . '/');
|
||||||
define('PATH_METHODS', dirname(__DIR__) . '/workflow/engine/methods/');
|
define('PATH_METHODS', dirname(__DIR__) . '/workflow/engine/methods/');
|
||||||
define('PATH_WORKFLOW_MYSQL_DATA', PATH_TRUNK . '/workflow/engine/data/mysql/');
|
define('PATH_WORKFLOW_MYSQL_DATA', PATH_TRUNK . '/workflow/engine/data/mysql/');
|
||||||
@@ -75,6 +76,7 @@ define("PATH_DATA_SITE", PATH_DATA . "sites/" . config("system.workspace") . "/"
|
|||||||
define("PATH_DYNAFORM", PATH_DATA_SITE . "xmlForms/");
|
define("PATH_DYNAFORM", PATH_DATA_SITE . "xmlForms/");
|
||||||
define("PATH_DATA_MAILTEMPLATES", PATH_DATA_SITE . "mailTemplates/");
|
define("PATH_DATA_MAILTEMPLATES", PATH_DATA_SITE . "mailTemplates/");
|
||||||
define("PATH_DATA_PUBLIC", PATH_DATA_SITE . "public/");
|
define("PATH_DATA_PUBLIC", PATH_DATA_SITE . "public/");
|
||||||
|
define("PATH_CONTROLLERS", PATH_CORE . "controllers" . PATH_SEP);
|
||||||
G::defineConstants();
|
G::defineConstants();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
929
tests/resources/dynaformDataForRenewUids.json
Normal file
929
tests/resources/dynaformDataForRenewUids.json
Normal file
@@ -0,0 +1,929 @@
|
|||||||
|
{
|
||||||
|
"process": {
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_TITLE": "test",
|
||||||
|
"PRO_DESCRIPTION": "",
|
||||||
|
"PRO_PARENT": "7084112395dfb826264eac2069406712",
|
||||||
|
"PRO_TIME": "1",
|
||||||
|
"PRO_TIMEUNIT": "DAYS",
|
||||||
|
"PRO_STATUS": "ACTIVE",
|
||||||
|
"PRO_STATUS_ID": "1",
|
||||||
|
"PRO_TYPE_DAY": "",
|
||||||
|
"PRO_TYPE": "NORMAL",
|
||||||
|
"PRO_ASSIGNMENT": "FALSE",
|
||||||
|
"PRO_SHOW_MAP": "0",
|
||||||
|
"PRO_SHOW_MESSAGE": "0",
|
||||||
|
"PRO_SUBPROCESS": "0",
|
||||||
|
"PRO_TRI_CREATE": "",
|
||||||
|
"PRO_TRI_OPEN": "",
|
||||||
|
"PRO_TRI_DELETED": "",
|
||||||
|
"PRO_TRI_CANCELED": "",
|
||||||
|
"PRO_TRI_PAUSED": "",
|
||||||
|
"PRO_TRI_REASSIGNED": "",
|
||||||
|
"PRO_TRI_UNPAUSED": "",
|
||||||
|
"PRO_TYPE_PROCESS": "PUBLIC",
|
||||||
|
"PRO_SHOW_DELEGATE": "0",
|
||||||
|
"PRO_SHOW_DYNAFORM": "0",
|
||||||
|
"PRO_CATEGORY": "",
|
||||||
|
"PRO_SUB_CATEGORY": "",
|
||||||
|
"PRO_INDUSTRY": "0",
|
||||||
|
"PRO_UPDATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"PRO_CREATE_USER": "00000000000000000000000000000001",
|
||||||
|
"PRO_HEIGHT": "5000",
|
||||||
|
"PRO_WIDTH": "10000",
|
||||||
|
"PRO_TITLE_X": "0",
|
||||||
|
"PRO_TITLE_Y": "0",
|
||||||
|
"PRO_DEBUG": "0",
|
||||||
|
"PRO_DYNAFORMS": "a:1:{s:7:\"PROCESS\";s:0:\"\";}",
|
||||||
|
"PRO_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"PRO_COST": "0",
|
||||||
|
"PRO_UNIT_COST": "",
|
||||||
|
"PRO_ITEE": "1",
|
||||||
|
"PRO_ACTION_DONE": "a:1:{i:0;s:41:\"GATEWAYTOGATEWAY_DELETE_CORRUPTED_RECORDS\";}",
|
||||||
|
"CATEGORY_ID": "0",
|
||||||
|
"PRO_CATEGORY_LABEL": "No Category",
|
||||||
|
"PRO_BPMN": "1"
|
||||||
|
},
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_ID": "0",
|
||||||
|
"TAS_UID": "5978729975dfb8d7a264fa0070639752",
|
||||||
|
"TAS_TITLE": "Task 1",
|
||||||
|
"TAS_DESCRIPTION": "",
|
||||||
|
"TAS_DEF_TITLE": "",
|
||||||
|
"TAS_DEF_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_DEF_PROC_CODE": "",
|
||||||
|
"TAS_DEF_MESSAGE": "",
|
||||||
|
"TAS_DEF_DESCRIPTION": "",
|
||||||
|
"TAS_TYPE": "NORMAL",
|
||||||
|
"TAS_DURATION": "1",
|
||||||
|
"TAS_DELAY_TYPE": "",
|
||||||
|
"TAS_TEMPORIZER": "0",
|
||||||
|
"TAS_TYPE_DAY": "",
|
||||||
|
"TAS_TIMEUNIT": "DAYS",
|
||||||
|
"TAS_ALERT": "FALSE",
|
||||||
|
"TAS_PRIORITY_VARIABLE": "",
|
||||||
|
"TAS_ASSIGN_TYPE": "BALANCED",
|
||||||
|
"TAS_ASSIGN_VARIABLE": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
|
||||||
|
"TAS_GROUP_VARIABLE": "",
|
||||||
|
"TAS_MI_INSTANCE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCE",
|
||||||
|
"TAS_MI_COMPLETE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCES_COMPLETE",
|
||||||
|
"TAS_ASSIGN_LOCATION": "FALSE",
|
||||||
|
"TAS_ASSIGN_LOCATION_ADHOC": "FALSE",
|
||||||
|
"TAS_TRANSFER_FLY": "FALSE",
|
||||||
|
"TAS_LAST_ASSIGNED": "0",
|
||||||
|
"TAS_USER": "0",
|
||||||
|
"TAS_CAN_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_ADDITIONAL_DOCUMENTATION": "FALSE",
|
||||||
|
"TAS_CAN_CANCEL": "FALSE",
|
||||||
|
"TAS_OWNER_APP": "FALSE",
|
||||||
|
"STG_UID": "",
|
||||||
|
"TAS_CAN_PAUSE": "FALSE",
|
||||||
|
"TAS_CAN_SEND_MESSAGE": "TRUE",
|
||||||
|
"TAS_CAN_DELETE_DOCS": "FALSE",
|
||||||
|
"TAS_SELF_SERVICE": "FALSE",
|
||||||
|
"TAS_START": "TRUE",
|
||||||
|
"TAS_TO_LAST_USER": "FALSE",
|
||||||
|
"TAS_SEND_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_DERIVATION": "NORMAL",
|
||||||
|
"TAS_POSX": "143",
|
||||||
|
"TAS_POSY": "82",
|
||||||
|
"TAS_WIDTH": "110",
|
||||||
|
"TAS_HEIGHT": "60",
|
||||||
|
"TAS_COLOR": "",
|
||||||
|
"TAS_EVN_UID": "",
|
||||||
|
"TAS_BOUNDARY": "",
|
||||||
|
"TAS_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"TAS_SELFSERVICE_TIMEOUT": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME_UNIT": "",
|
||||||
|
"TAS_SELFSERVICE_TRIGGER_UID": "",
|
||||||
|
"TAS_SELFSERVICE_EXECUTION": "EVERY_TIME",
|
||||||
|
"TAS_NOT_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_OFFLINE": "FALSE",
|
||||||
|
"TAS_EMAIL_SERVER_UID": "",
|
||||||
|
"TAS_AUTO_ROOT": "FALSE",
|
||||||
|
"TAS_RECEIVE_SERVER_UID": "",
|
||||||
|
"TAS_RECEIVE_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_RECEIVE_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TYPE": "text",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TEMPLATE": "alert_message.html",
|
||||||
|
"TAS_RECEIVE_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_RECEIVE_MESSAGE": "",
|
||||||
|
"TAS_AVERAGE": "",
|
||||||
|
"TAS_SDV": "",
|
||||||
|
"TAS_UID_OLD": "5730239675dfb8626a65a28038679991"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_ID": "0",
|
||||||
|
"TAS_UID": "3458788095dfb8d7a18fa33047794245",
|
||||||
|
"TAS_TITLE": "Task 2",
|
||||||
|
"TAS_DESCRIPTION": "",
|
||||||
|
"TAS_DEF_TITLE": "",
|
||||||
|
"TAS_DEF_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_DEF_PROC_CODE": "",
|
||||||
|
"TAS_DEF_MESSAGE": "",
|
||||||
|
"TAS_DEF_DESCRIPTION": "",
|
||||||
|
"TAS_TYPE": "NORMAL",
|
||||||
|
"TAS_DURATION": "1",
|
||||||
|
"TAS_DELAY_TYPE": "",
|
||||||
|
"TAS_TEMPORIZER": "0",
|
||||||
|
"TAS_TYPE_DAY": "",
|
||||||
|
"TAS_TIMEUNIT": "DAYS",
|
||||||
|
"TAS_ALERT": "FALSE",
|
||||||
|
"TAS_PRIORITY_VARIABLE": "",
|
||||||
|
"TAS_ASSIGN_TYPE": "BALANCED",
|
||||||
|
"TAS_ASSIGN_VARIABLE": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
|
||||||
|
"TAS_GROUP_VARIABLE": "",
|
||||||
|
"TAS_MI_INSTANCE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCE",
|
||||||
|
"TAS_MI_COMPLETE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCES_COMPLETE",
|
||||||
|
"TAS_ASSIGN_LOCATION": "FALSE",
|
||||||
|
"TAS_ASSIGN_LOCATION_ADHOC": "FALSE",
|
||||||
|
"TAS_TRANSFER_FLY": "FALSE",
|
||||||
|
"TAS_LAST_ASSIGNED": "0",
|
||||||
|
"TAS_USER": "0",
|
||||||
|
"TAS_CAN_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_ADDITIONAL_DOCUMENTATION": "FALSE",
|
||||||
|
"TAS_CAN_CANCEL": "FALSE",
|
||||||
|
"TAS_OWNER_APP": "FALSE",
|
||||||
|
"STG_UID": "",
|
||||||
|
"TAS_CAN_PAUSE": "FALSE",
|
||||||
|
"TAS_CAN_SEND_MESSAGE": "TRUE",
|
||||||
|
"TAS_CAN_DELETE_DOCS": "FALSE",
|
||||||
|
"TAS_SELF_SERVICE": "FALSE",
|
||||||
|
"TAS_START": "TRUE",
|
||||||
|
"TAS_TO_LAST_USER": "FALSE",
|
||||||
|
"TAS_SEND_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_DERIVATION": "NORMAL",
|
||||||
|
"TAS_POSX": "143",
|
||||||
|
"TAS_POSY": "181",
|
||||||
|
"TAS_WIDTH": "110",
|
||||||
|
"TAS_HEIGHT": "60",
|
||||||
|
"TAS_COLOR": "",
|
||||||
|
"TAS_EVN_UID": "",
|
||||||
|
"TAS_BOUNDARY": "",
|
||||||
|
"TAS_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"TAS_SELFSERVICE_TIMEOUT": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME_UNIT": "",
|
||||||
|
"TAS_SELFSERVICE_TRIGGER_UID": "",
|
||||||
|
"TAS_SELFSERVICE_EXECUTION": "EVERY_TIME",
|
||||||
|
"TAS_NOT_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_OFFLINE": "FALSE",
|
||||||
|
"TAS_EMAIL_SERVER_UID": "",
|
||||||
|
"TAS_AUTO_ROOT": "FALSE",
|
||||||
|
"TAS_RECEIVE_SERVER_UID": "",
|
||||||
|
"TAS_RECEIVE_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_RECEIVE_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TYPE": "text",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TEMPLATE": "alert_message.html",
|
||||||
|
"TAS_RECEIVE_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_RECEIVE_MESSAGE": "",
|
||||||
|
"TAS_AVERAGE": "",
|
||||||
|
"TAS_SDV": "",
|
||||||
|
"TAS_UID_OLD": "6279149375dfb8626a95495099553981"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_ID": "0",
|
||||||
|
"TAS_UID": "7916511005dfb8d7a234286082436886",
|
||||||
|
"TAS_TITLE": "Task 3",
|
||||||
|
"TAS_DESCRIPTION": "",
|
||||||
|
"TAS_DEF_TITLE": "",
|
||||||
|
"TAS_DEF_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_DEF_PROC_CODE": "",
|
||||||
|
"TAS_DEF_MESSAGE": "",
|
||||||
|
"TAS_DEF_DESCRIPTION": "",
|
||||||
|
"TAS_TYPE": "NORMAL",
|
||||||
|
"TAS_DURATION": "1",
|
||||||
|
"TAS_DELAY_TYPE": "",
|
||||||
|
"TAS_TEMPORIZER": "0",
|
||||||
|
"TAS_TYPE_DAY": "",
|
||||||
|
"TAS_TIMEUNIT": "DAYS",
|
||||||
|
"TAS_ALERT": "FALSE",
|
||||||
|
"TAS_PRIORITY_VARIABLE": "",
|
||||||
|
"TAS_ASSIGN_TYPE": "BALANCED",
|
||||||
|
"TAS_ASSIGN_VARIABLE": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
|
||||||
|
"TAS_GROUP_VARIABLE": "",
|
||||||
|
"TAS_MI_INSTANCE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCE",
|
||||||
|
"TAS_MI_COMPLETE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCES_COMPLETE",
|
||||||
|
"TAS_ASSIGN_LOCATION": "FALSE",
|
||||||
|
"TAS_ASSIGN_LOCATION_ADHOC": "FALSE",
|
||||||
|
"TAS_TRANSFER_FLY": "FALSE",
|
||||||
|
"TAS_LAST_ASSIGNED": "0",
|
||||||
|
"TAS_USER": "0",
|
||||||
|
"TAS_CAN_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_ADDITIONAL_DOCUMENTATION": "FALSE",
|
||||||
|
"TAS_CAN_CANCEL": "FALSE",
|
||||||
|
"TAS_OWNER_APP": "FALSE",
|
||||||
|
"STG_UID": "",
|
||||||
|
"TAS_CAN_PAUSE": "FALSE",
|
||||||
|
"TAS_CAN_SEND_MESSAGE": "TRUE",
|
||||||
|
"TAS_CAN_DELETE_DOCS": "FALSE",
|
||||||
|
"TAS_SELF_SERVICE": "FALSE",
|
||||||
|
"TAS_START": "FALSE",
|
||||||
|
"TAS_TO_LAST_USER": "FALSE",
|
||||||
|
"TAS_SEND_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_DERIVATION": "NORMAL",
|
||||||
|
"TAS_POSX": "337",
|
||||||
|
"TAS_POSY": "181",
|
||||||
|
"TAS_WIDTH": "110",
|
||||||
|
"TAS_HEIGHT": "60",
|
||||||
|
"TAS_COLOR": "",
|
||||||
|
"TAS_EVN_UID": "",
|
||||||
|
"TAS_BOUNDARY": "",
|
||||||
|
"TAS_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"TAS_SELFSERVICE_TIMEOUT": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME_UNIT": "",
|
||||||
|
"TAS_SELFSERVICE_TRIGGER_UID": "",
|
||||||
|
"TAS_SELFSERVICE_EXECUTION": "EVERY_TIME",
|
||||||
|
"TAS_NOT_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_OFFLINE": "FALSE",
|
||||||
|
"TAS_EMAIL_SERVER_UID": "",
|
||||||
|
"TAS_AUTO_ROOT": "FALSE",
|
||||||
|
"TAS_RECEIVE_SERVER_UID": "",
|
||||||
|
"TAS_RECEIVE_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_RECEIVE_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TYPE": "text",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TEMPLATE": "alert_message.html",
|
||||||
|
"TAS_RECEIVE_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_RECEIVE_MESSAGE": "",
|
||||||
|
"TAS_AVERAGE": "",
|
||||||
|
"TAS_SDV": "",
|
||||||
|
"TAS_UID_OLD": "3347609685dfb8626a35d06089327263"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_ID": "0",
|
||||||
|
"TAS_UID": "9865926225dfb8d7a1fc385009206952",
|
||||||
|
"TAS_TITLE": "Task 4",
|
||||||
|
"TAS_DESCRIPTION": "",
|
||||||
|
"TAS_DEF_TITLE": "",
|
||||||
|
"TAS_DEF_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_DEF_PROC_CODE": "",
|
||||||
|
"TAS_DEF_MESSAGE": "",
|
||||||
|
"TAS_DEF_DESCRIPTION": "",
|
||||||
|
"TAS_TYPE": "NORMAL",
|
||||||
|
"TAS_DURATION": "1",
|
||||||
|
"TAS_DELAY_TYPE": "",
|
||||||
|
"TAS_TEMPORIZER": "0",
|
||||||
|
"TAS_TYPE_DAY": "1",
|
||||||
|
"TAS_TIMEUNIT": "DAYS",
|
||||||
|
"TAS_ALERT": "FALSE",
|
||||||
|
"TAS_PRIORITY_VARIABLE": "",
|
||||||
|
"TAS_ASSIGN_TYPE": "BALANCED",
|
||||||
|
"TAS_ASSIGN_VARIABLE": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
|
||||||
|
"TAS_GROUP_VARIABLE": "",
|
||||||
|
"TAS_MI_INSTANCE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCE",
|
||||||
|
"TAS_MI_COMPLETE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCES_COMPLETE",
|
||||||
|
"TAS_ASSIGN_LOCATION": "FALSE",
|
||||||
|
"TAS_ASSIGN_LOCATION_ADHOC": "FALSE",
|
||||||
|
"TAS_TRANSFER_FLY": "FALSE",
|
||||||
|
"TAS_LAST_ASSIGNED": "0",
|
||||||
|
"TAS_USER": "0",
|
||||||
|
"TAS_CAN_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_ADDITIONAL_DOCUMENTATION": "FALSE",
|
||||||
|
"TAS_CAN_CANCEL": "FALSE",
|
||||||
|
"TAS_OWNER_APP": "FALSE",
|
||||||
|
"STG_UID": "",
|
||||||
|
"TAS_CAN_PAUSE": "FALSE",
|
||||||
|
"TAS_CAN_SEND_MESSAGE": "TRUE",
|
||||||
|
"TAS_CAN_DELETE_DOCS": "FALSE",
|
||||||
|
"TAS_SELF_SERVICE": "FALSE",
|
||||||
|
"TAS_START": "TRUE",
|
||||||
|
"TAS_TO_LAST_USER": "FALSE",
|
||||||
|
"TAS_SEND_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_DERIVATION": "NORMAL",
|
||||||
|
"TAS_POSX": "143",
|
||||||
|
"TAS_POSY": "274",
|
||||||
|
"TAS_WIDTH": "110",
|
||||||
|
"TAS_HEIGHT": "60",
|
||||||
|
"TAS_COLOR": "",
|
||||||
|
"TAS_EVN_UID": "",
|
||||||
|
"TAS_BOUNDARY": "",
|
||||||
|
"TAS_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"TAS_SELFSERVICE_TIMEOUT": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME_UNIT": "",
|
||||||
|
"TAS_SELFSERVICE_TRIGGER_UID": "",
|
||||||
|
"TAS_SELFSERVICE_EXECUTION": "EVERY_TIME",
|
||||||
|
"TAS_NOT_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_OFFLINE": "FALSE",
|
||||||
|
"TAS_EMAIL_SERVER_UID": "",
|
||||||
|
"TAS_AUTO_ROOT": "FALSE",
|
||||||
|
"TAS_RECEIVE_SERVER_UID": "",
|
||||||
|
"TAS_RECEIVE_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_RECEIVE_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TYPE": "text",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TEMPLATE": "alert_message.html",
|
||||||
|
"TAS_RECEIVE_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_RECEIVE_MESSAGE": "",
|
||||||
|
"TAS_AVERAGE": "",
|
||||||
|
"TAS_SDV": "",
|
||||||
|
"TAS_UID_OLD": "8420128765dfb8626acccb8059629296"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_ID": "0",
|
||||||
|
"TAS_UID": "3454769755dfb8d7a1cadc9088436060",
|
||||||
|
"TAS_TITLE": "Task 5",
|
||||||
|
"TAS_DESCRIPTION": "",
|
||||||
|
"TAS_DEF_TITLE": "",
|
||||||
|
"TAS_DEF_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_DEF_PROC_CODE": "",
|
||||||
|
"TAS_DEF_MESSAGE": "",
|
||||||
|
"TAS_DEF_DESCRIPTION": "",
|
||||||
|
"TAS_TYPE": "NORMAL",
|
||||||
|
"TAS_DURATION": "1",
|
||||||
|
"TAS_DELAY_TYPE": "",
|
||||||
|
"TAS_TEMPORIZER": "0",
|
||||||
|
"TAS_TYPE_DAY": "1",
|
||||||
|
"TAS_TIMEUNIT": "DAYS",
|
||||||
|
"TAS_ALERT": "FALSE",
|
||||||
|
"TAS_PRIORITY_VARIABLE": "",
|
||||||
|
"TAS_ASSIGN_TYPE": "BALANCED",
|
||||||
|
"TAS_ASSIGN_VARIABLE": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
|
||||||
|
"TAS_GROUP_VARIABLE": "",
|
||||||
|
"TAS_MI_INSTANCE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCE",
|
||||||
|
"TAS_MI_COMPLETE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCES_COMPLETE",
|
||||||
|
"TAS_ASSIGN_LOCATION": "FALSE",
|
||||||
|
"TAS_ASSIGN_LOCATION_ADHOC": "FALSE",
|
||||||
|
"TAS_TRANSFER_FLY": "FALSE",
|
||||||
|
"TAS_LAST_ASSIGNED": "0",
|
||||||
|
"TAS_USER": "0",
|
||||||
|
"TAS_CAN_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_ADDITIONAL_DOCUMENTATION": "FALSE",
|
||||||
|
"TAS_CAN_CANCEL": "FALSE",
|
||||||
|
"TAS_OWNER_APP": "FALSE",
|
||||||
|
"STG_UID": "",
|
||||||
|
"TAS_CAN_PAUSE": "FALSE",
|
||||||
|
"TAS_CAN_SEND_MESSAGE": "TRUE",
|
||||||
|
"TAS_CAN_DELETE_DOCS": "FALSE",
|
||||||
|
"TAS_SELF_SERVICE": "FALSE",
|
||||||
|
"TAS_START": "FALSE",
|
||||||
|
"TAS_TO_LAST_USER": "FALSE",
|
||||||
|
"TAS_SEND_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_DERIVATION": "NORMAL",
|
||||||
|
"TAS_POSX": "337",
|
||||||
|
"TAS_POSY": "274",
|
||||||
|
"TAS_WIDTH": "110",
|
||||||
|
"TAS_HEIGHT": "60",
|
||||||
|
"TAS_COLOR": "",
|
||||||
|
"TAS_EVN_UID": "",
|
||||||
|
"TAS_BOUNDARY": "",
|
||||||
|
"TAS_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"TAS_SELFSERVICE_TIMEOUT": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME_UNIT": "",
|
||||||
|
"TAS_SELFSERVICE_TRIGGER_UID": "",
|
||||||
|
"TAS_SELFSERVICE_EXECUTION": "EVERY_TIME",
|
||||||
|
"TAS_NOT_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_OFFLINE": "FALSE",
|
||||||
|
"TAS_EMAIL_SERVER_UID": "",
|
||||||
|
"TAS_AUTO_ROOT": "FALSE",
|
||||||
|
"TAS_RECEIVE_SERVER_UID": "",
|
||||||
|
"TAS_RECEIVE_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_RECEIVE_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TYPE": "text",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TEMPLATE": "alert_message.html",
|
||||||
|
"TAS_RECEIVE_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_RECEIVE_MESSAGE": "",
|
||||||
|
"TAS_AVERAGE": "",
|
||||||
|
"TAS_SDV": "",
|
||||||
|
"TAS_UID_OLD": "7400740655dfb86269feaa1089812754"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"PRO_ID": "0",
|
||||||
|
"TAS_UID": "wee-532835dfb8d7a2d0a29054950929",
|
||||||
|
"TAS_TITLE": "WEBENTRYEVENT",
|
||||||
|
"TAS_DESCRIPTION": "",
|
||||||
|
"TAS_DEF_TITLE": "",
|
||||||
|
"TAS_DEF_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_DEF_PROC_CODE": "",
|
||||||
|
"TAS_DEF_MESSAGE": "",
|
||||||
|
"TAS_DEF_DESCRIPTION": "",
|
||||||
|
"TAS_TYPE": "WEBENTRYEVENT",
|
||||||
|
"TAS_DURATION": "1",
|
||||||
|
"TAS_DELAY_TYPE": "",
|
||||||
|
"TAS_TEMPORIZER": "0",
|
||||||
|
"TAS_TYPE_DAY": "",
|
||||||
|
"TAS_TIMEUNIT": "DAYS",
|
||||||
|
"TAS_ALERT": "FALSE",
|
||||||
|
"TAS_PRIORITY_VARIABLE": "",
|
||||||
|
"TAS_ASSIGN_TYPE": "BALANCED",
|
||||||
|
"TAS_ASSIGN_VARIABLE": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
|
||||||
|
"TAS_GROUP_VARIABLE": "",
|
||||||
|
"TAS_MI_INSTANCE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCE",
|
||||||
|
"TAS_MI_COMPLETE_VARIABLE": "@@SYS_VAR_TOTAL_INSTANCES_COMPLETE",
|
||||||
|
"TAS_ASSIGN_LOCATION": "FALSE",
|
||||||
|
"TAS_ASSIGN_LOCATION_ADHOC": "FALSE",
|
||||||
|
"TAS_TRANSFER_FLY": "FALSE",
|
||||||
|
"TAS_LAST_ASSIGNED": "0",
|
||||||
|
"TAS_USER": "0",
|
||||||
|
"TAS_CAN_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_UPLOAD": "FALSE",
|
||||||
|
"TAS_VIEW_ADDITIONAL_DOCUMENTATION": "FALSE",
|
||||||
|
"TAS_CAN_CANCEL": "FALSE",
|
||||||
|
"TAS_OWNER_APP": "FALSE",
|
||||||
|
"STG_UID": "",
|
||||||
|
"TAS_CAN_PAUSE": "FALSE",
|
||||||
|
"TAS_CAN_SEND_MESSAGE": "TRUE",
|
||||||
|
"TAS_CAN_DELETE_DOCS": "FALSE",
|
||||||
|
"TAS_SELF_SERVICE": "FALSE",
|
||||||
|
"TAS_START": "TRUE",
|
||||||
|
"TAS_TO_LAST_USER": "FALSE",
|
||||||
|
"TAS_SEND_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_DERIVATION": "NORMAL",
|
||||||
|
"TAS_POSX": "62",
|
||||||
|
"TAS_POSY": "202",
|
||||||
|
"TAS_WIDTH": "110",
|
||||||
|
"TAS_HEIGHT": "60",
|
||||||
|
"TAS_COLOR": "",
|
||||||
|
"TAS_EVN_UID": "",
|
||||||
|
"TAS_BOUNDARY": "",
|
||||||
|
"TAS_DERIVATION_SCREEN_TPL": "",
|
||||||
|
"TAS_SELFSERVICE_TIMEOUT": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME": "0",
|
||||||
|
"TAS_SELFSERVICE_TIME_UNIT": "",
|
||||||
|
"TAS_SELFSERVICE_TRIGGER_UID": "",
|
||||||
|
"TAS_SELFSERVICE_EXECUTION": "EVERY_TIME",
|
||||||
|
"TAS_NOT_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_OFFLINE": "FALSE",
|
||||||
|
"TAS_EMAIL_SERVER_UID": "",
|
||||||
|
"TAS_AUTO_ROOT": "FALSE",
|
||||||
|
"TAS_RECEIVE_SERVER_UID": "",
|
||||||
|
"TAS_RECEIVE_LAST_EMAIL": "FALSE",
|
||||||
|
"TAS_RECEIVE_EMAIL_FROM_FORMAT": "0",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TYPE": "text",
|
||||||
|
"TAS_RECEIVE_MESSAGE_TEMPLATE": "alert_message.html",
|
||||||
|
"TAS_RECEIVE_SUBJECT_MESSAGE": "",
|
||||||
|
"TAS_RECEIVE_MESSAGE": "",
|
||||||
|
"TAS_AVERAGE": "",
|
||||||
|
"TAS_SDV": "",
|
||||||
|
"TAS_UID_OLD": "wee-873125dfb8626b28bf4015522377"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"ROU_UID": "1212118285dfb8626c112f2028203620",
|
||||||
|
"ROU_PARENT": "0",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "3454769755dfb8d7a1cadc9088436060",
|
||||||
|
"ROU_NEXT_TASK": "-1",
|
||||||
|
"ROU_CASE": "1",
|
||||||
|
"ROU_TYPE": "SEQUENTIAL",
|
||||||
|
"ROU_DEFAULT": "0",
|
||||||
|
"ROU_CONDITION": "",
|
||||||
|
"ROU_TO_LAST_USER": "FALSE",
|
||||||
|
"ROU_OPTIONAL": "FALSE",
|
||||||
|
"ROU_SEND_EMAIL": "TRUE",
|
||||||
|
"ROU_SOURCEANCHOR": "1",
|
||||||
|
"ROU_TARGETANCHOR": "0",
|
||||||
|
"ROU_TO_PORT": "1",
|
||||||
|
"ROU_FROM_PORT": "2",
|
||||||
|
"ROU_EVN_UID": "",
|
||||||
|
"GAT_UID": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ROU_UID": "2179164525dfb8626c19333095716699",
|
||||||
|
"ROU_PARENT": "0",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "9865926225dfb8d7a1fc385009206952",
|
||||||
|
"ROU_NEXT_TASK": "3454769755dfb8d7a1cadc9088436060",
|
||||||
|
"ROU_CASE": "1",
|
||||||
|
"ROU_TYPE": "SEQUENTIAL",
|
||||||
|
"ROU_DEFAULT": "0",
|
||||||
|
"ROU_CONDITION": "",
|
||||||
|
"ROU_TO_LAST_USER": "FALSE",
|
||||||
|
"ROU_OPTIONAL": "FALSE",
|
||||||
|
"ROU_SEND_EMAIL": "TRUE",
|
||||||
|
"ROU_SOURCEANCHOR": "1",
|
||||||
|
"ROU_TARGETANCHOR": "0",
|
||||||
|
"ROU_TO_PORT": "1",
|
||||||
|
"ROU_FROM_PORT": "2",
|
||||||
|
"ROU_EVN_UID": "",
|
||||||
|
"GAT_UID": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ROU_UID": "2685133935dfb8626c23ee2060782509",
|
||||||
|
"ROU_PARENT": "0",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "7916511005dfb8d7a234286082436886",
|
||||||
|
"ROU_NEXT_TASK": "-1",
|
||||||
|
"ROU_CASE": "1",
|
||||||
|
"ROU_TYPE": "SEQUENTIAL",
|
||||||
|
"ROU_DEFAULT": "0",
|
||||||
|
"ROU_CONDITION": "",
|
||||||
|
"ROU_TO_LAST_USER": "FALSE",
|
||||||
|
"ROU_OPTIONAL": "FALSE",
|
||||||
|
"ROU_SEND_EMAIL": "TRUE",
|
||||||
|
"ROU_SOURCEANCHOR": "1",
|
||||||
|
"ROU_TARGETANCHOR": "0",
|
||||||
|
"ROU_TO_PORT": "1",
|
||||||
|
"ROU_FROM_PORT": "2",
|
||||||
|
"ROU_EVN_UID": "",
|
||||||
|
"GAT_UID": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ROU_UID": "3309845585dfb8626cf6d41085941718",
|
||||||
|
"ROU_PARENT": "0",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "wee-532835dfb8d7a2d0a29054950929",
|
||||||
|
"ROU_NEXT_TASK": "3458788095dfb8d7a18fa33047794245",
|
||||||
|
"ROU_CASE": "1",
|
||||||
|
"ROU_TYPE": "SEQUENTIAL",
|
||||||
|
"ROU_DEFAULT": "0",
|
||||||
|
"ROU_CONDITION": "",
|
||||||
|
"ROU_TO_LAST_USER": "FALSE",
|
||||||
|
"ROU_OPTIONAL": "FALSE",
|
||||||
|
"ROU_SEND_EMAIL": "TRUE",
|
||||||
|
"ROU_SOURCEANCHOR": "1",
|
||||||
|
"ROU_TARGETANCHOR": "0",
|
||||||
|
"ROU_TO_PORT": "1",
|
||||||
|
"ROU_FROM_PORT": "2",
|
||||||
|
"ROU_EVN_UID": "",
|
||||||
|
"GAT_UID": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ROU_UID": "7287866925dfb8626c065a7095532193",
|
||||||
|
"ROU_PARENT": "0",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "3458788095dfb8d7a18fa33047794245",
|
||||||
|
"ROU_NEXT_TASK": "7916511005dfb8d7a234286082436886",
|
||||||
|
"ROU_CASE": "1",
|
||||||
|
"ROU_TYPE": "SEQUENTIAL",
|
||||||
|
"ROU_DEFAULT": "0",
|
||||||
|
"ROU_CONDITION": "",
|
||||||
|
"ROU_TO_LAST_USER": "FALSE",
|
||||||
|
"ROU_OPTIONAL": "FALSE",
|
||||||
|
"ROU_SEND_EMAIL": "TRUE",
|
||||||
|
"ROU_SOURCEANCHOR": "1",
|
||||||
|
"ROU_TARGETANCHOR": "0",
|
||||||
|
"ROU_TO_PORT": "1",
|
||||||
|
"ROU_FROM_PORT": "2",
|
||||||
|
"ROU_EVN_UID": "",
|
||||||
|
"GAT_UID": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ROU_UID": "8808316485dfb8626c2ed28017700589",
|
||||||
|
"ROU_PARENT": "0",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "5978729975dfb8d7a264fa0070639752",
|
||||||
|
"ROU_NEXT_TASK": "-1",
|
||||||
|
"ROU_CASE": "1",
|
||||||
|
"ROU_TYPE": "SEQUENTIAL",
|
||||||
|
"ROU_DEFAULT": "0",
|
||||||
|
"ROU_CONDITION": "",
|
||||||
|
"ROU_TO_LAST_USER": "FALSE",
|
||||||
|
"ROU_OPTIONAL": "FALSE",
|
||||||
|
"ROU_SEND_EMAIL": "TRUE",
|
||||||
|
"ROU_SOURCEANCHOR": "1",
|
||||||
|
"ROU_TARGETANCHOR": "0",
|
||||||
|
"ROU_TO_PORT": "1",
|
||||||
|
"ROU_FROM_PORT": "2",
|
||||||
|
"ROU_EVN_UID": "",
|
||||||
|
"GAT_UID": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"lanes": [],
|
||||||
|
"gateways": [],
|
||||||
|
"inputs": [],
|
||||||
|
"outputs": [],
|
||||||
|
"dynaforms": [
|
||||||
|
{
|
||||||
|
"DYN_UID": "1981330525dfb8626c70026010918765",
|
||||||
|
"DYN_TITLE": "dynaform1",
|
||||||
|
"DYN_DESCRIPTION": "",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"DYN_TYPE": "xmlform",
|
||||||
|
"DYN_FILENAME": "3598973985dfb86269c23d6071638314\/1981330525dfb8626c70026010918765",
|
||||||
|
"DYN_CONTENT": "{\"name\":\"dynaform1\",\"description\":\"\",\"items\":[{\"type\":\"form\",\"variable\":\"\",\"var_uid\":\"\",\"dataType\":\"\",\"id\":\"1981330525dfb8626c70026010918765\",\"name\":\"dynaform1\",\"description\":\"\",\"mode\":\"edit\",\"script\":\"\",\"language\":\"en\",\"externalLibs\":\"\",\"printable\":false,\"items\":[[{\"type\":\"text\",\"variable\":\"textVar001\",\"var_uid\":\"2420200535dfb8626c83d16045380736\",\"dataType\":\"string\",\"protectedValue\":false,\"id\":\"textVar001\",\"name\":\"textVar001\",\"label\":\"text_1\",\"defaultValue\":\"\",\"placeholder\":\"\",\"hint\":\"\",\"required\":false,\"requiredFieldErrorMessage\":\"\",\"textTransform\":\"none\",\"validate\":\"\",\"validateMessage\":\"\",\"maxLength\":1000,\"formula\":\"\",\"mode\":\"parent\",\"operation\":\"\",\"dbConnection\":\"workflow\",\"dbConnectionLabel\":\"PM Database\",\"sql\":\"\",\"var_name\":\"textVar001\",\"colSpan\":12}]],\"variables\":[{\"var_uid\":\"2420200535dfb8626c83d16045380736\",\"prj_uid\":\"3598973985dfb86269c23d6071638314\",\"var_name\":\"textVar001\",\"var_field_type\":\"string\",\"var_field_size\":10,\"var_label\":\"string\",\"var_dbconnection\":\"workflow\",\"var_dbconnection_label\":\"PM Database\",\"var_sql\":\"\",\"var_null\":0,\"var_default\":\"\",\"var_accepted_values\":\"[]\",\"inp_doc_uid\":\"\"}]}]}",
|
||||||
|
"DYN_LABEL": "",
|
||||||
|
"DYN_VERSION": "2",
|
||||||
|
"DYN_UPDATE_DATE": "2019-12-19 14:02:48"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"STEP_UID": "1497588005dfb8626c75079092586998",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "9865926225dfb8d7a1fc385009206952",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"STEP_UID": "1500595075dfb8626c761f9080007968",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "7916511005dfb8d7a234286082436886",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"STEP_UID": "2804442295dfb8626c78449036895613",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "wee-532835dfb8d7a2d0a29054950929",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"STEP_UID": "3986576985dfb8626c721d3097828590",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "3454769755dfb8d7a1cadc9088436060",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"STEP_UID": "4754027025dfb8626c73c99090309776",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "3458788095dfb8d7a18fa33047794245",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"STEP_UID": "8110336185dfb8626ce6121078206082",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "wee-532835dfb8d7a2d0a29054950929",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"STEP_UID": "9520990735dfb8626c77338089242336",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "5978729975dfb8d7a264fa0070639752",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_CONDITION": "",
|
||||||
|
"STEP_POSITION": "1",
|
||||||
|
"STEP_MODE": "EDIT"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"triggers": [],
|
||||||
|
"taskusers": [],
|
||||||
|
"groupwfs": [],
|
||||||
|
"steptriggers": [],
|
||||||
|
"dbconnections": [],
|
||||||
|
"reportTables": [],
|
||||||
|
"reportTablesVars": [],
|
||||||
|
"stepSupervisor": [
|
||||||
|
{
|
||||||
|
"STEP_UID": "2322645545dfb8626c79580010259901",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"STEP_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"STEP_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"STEP_POSITION": "1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dynaformFiles": {
|
||||||
|
"1981330525dfb8626c70026010918765": "test"
|
||||||
|
},
|
||||||
|
"gridFiles": {
|
||||||
|
"1981330525dfb8626c70026010918765": "test"
|
||||||
|
},
|
||||||
|
"objectPermissions": [{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"OP_OBJ_UID": "1981330525dfb8626c70026010918765",
|
||||||
|
"OP_OBJ_TYPE": "DYNAFORM"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"subProcess": [],
|
||||||
|
"caseTracker": [
|
||||||
|
{
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"CT_MAP_TYPE": "PROCESSMAP",
|
||||||
|
"CT_DERIVATION_HISTORY": "1",
|
||||||
|
"CT_MESSAGE_HISTORY": "1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"caseTrackerObject": [
|
||||||
|
{
|
||||||
|
"CTO_UID": "9681402035dfb8626c7a720057282635",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"CTO_TYPE_OBJ": "DYNAFORM",
|
||||||
|
"CTO_UID_OBJ": "1981330525dfb8626c70026010918765",
|
||||||
|
"CTO_CONDITION": "",
|
||||||
|
"CTO_POSITION": "1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stage": [],
|
||||||
|
"fieldCondition": [
|
||||||
|
{
|
||||||
|
"FCD_DYN_UID": "1981330525dfb8626c70026010918765"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"event": [],
|
||||||
|
"caseScheduler": [],
|
||||||
|
"processCategory": [],
|
||||||
|
"taskExtraProperties": [],
|
||||||
|
"processUser": [],
|
||||||
|
"processVariables": [
|
||||||
|
{
|
||||||
|
"VAR_UID": "2420200535dfb8626c83d16045380736",
|
||||||
|
"PRJ_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"VAR_NAME": "textVar001",
|
||||||
|
"VAR_FIELD_TYPE": "string",
|
||||||
|
"VAR_FIELD_SIZE": "10",
|
||||||
|
"VAR_LABEL": "string",
|
||||||
|
"VAR_DBCONNECTION": "workflow",
|
||||||
|
"VAR_SQL": "",
|
||||||
|
"VAR_NULL": "0",
|
||||||
|
"VAR_DEFAULT": "",
|
||||||
|
"VAR_ACCEPTED_VALUES": "[]",
|
||||||
|
"INP_DOC_UID": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"webEntry": [
|
||||||
|
{
|
||||||
|
"DYN_UID": "1981330525dfb8626c70026010918765"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"webEntryEvent": [
|
||||||
|
{
|
||||||
|
"WEE_UID": "7839596635dfb8626d46f82082790649",
|
||||||
|
"PRJ_UID": "3598973985dfb86269c23d6071638314",
|
||||||
|
"EVN_UID": "8868532835dfb8d7a2d0a29054950929",
|
||||||
|
"ACT_UID": "3458788095dfb8d7a18fa33047794245",
|
||||||
|
"DYN_UID": "1981330525dfb8626c70026010918765",
|
||||||
|
"USR_UID": "00000000000000000000000000000002",
|
||||||
|
"WEE_TITLE": "1833424275dfb847c912110048244199",
|
||||||
|
"WEE_DESCRIPTION": "",
|
||||||
|
"WEE_STATUS": "ENABLED",
|
||||||
|
"WEE_WE_UID": "9067551515dfb8626d0f040095365609",
|
||||||
|
"WEE_WE_TAS_UID": "wee-873125dfb8626b28bf4015522377",
|
||||||
|
"WEE_WE_URL": "1833424275dfb847c912110048244199.php",
|
||||||
|
"WE_CUSTOM_TITLE": "",
|
||||||
|
"WE_TYPE": "SINGLE",
|
||||||
|
"WE_AUTHENTICATION": "ANONYMOUS",
|
||||||
|
"WE_HIDE_INFORMATION_BAR": "1",
|
||||||
|
"WE_CALLBACK": "PROCESSMAKER",
|
||||||
|
"WE_CALLBACK_URL": "",
|
||||||
|
"WE_LINK_GENERATION": "DEFAULT",
|
||||||
|
"WE_LINK_SKIN": "classic",
|
||||||
|
"WE_LINK_LANGUAGE": "en",
|
||||||
|
"WE_LINK_DOMAIN": "",
|
||||||
|
"TAS_UID": "wee-873125dfb8626b28bf4015522377",
|
||||||
|
"WE_SHOW_IN_NEW_CASE": "0",
|
||||||
|
"EVN_UID_OLD": "8469873125dfb8626b28bf4015522377"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"messageType": [],
|
||||||
|
"messageTypeVariable": [],
|
||||||
|
"messageEventDefinition": [],
|
||||||
|
"scriptTask": [],
|
||||||
|
"timerEvent": [],
|
||||||
|
"emailEvent": [],
|
||||||
|
"filesManager": [
|
||||||
|
{
|
||||||
|
"PRF_UID": "2320529945dfb8626e07327095962435",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"USR_UID": "00000000000000000000000000000001",
|
||||||
|
"PRF_UPDATE_USR_UID": "",
|
||||||
|
"PRF_PATH": "\/var\/www\/shared\/sites\/workflow\/public\/3598973985dfb86269c23d6071638314\/1833424275dfb847c912110048244199.php",
|
||||||
|
"PRF_TYPE": "file",
|
||||||
|
"PRF_EDITABLE": "0",
|
||||||
|
"PRF_CREATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"PRF_UPDATE_DATE": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRF_UID": "3478830955dfb84d9e1d771040119182",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"USR_UID": "00000000000000000000000000000001",
|
||||||
|
"PRF_UPDATE_USR_UID": "",
|
||||||
|
"PRF_PATH": "\/var\/www\/shared\/sites\/workflow\/mailTemplates\/3598973985dfb86269c23d6071638314\/actionsByEmailErrorReply.html",
|
||||||
|
"PRF_TYPE": "file",
|
||||||
|
"PRF_EDITABLE": "1",
|
||||||
|
"PRF_CREATE_DATE": "2019-12-19 14:10:33",
|
||||||
|
"PRF_UPDATE_DATE": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRF_UID": "5200351355dfb84d9e18946005177341",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"USR_UID": "00000000000000000000000000000001",
|
||||||
|
"PRF_UPDATE_USR_UID": "",
|
||||||
|
"PRF_PATH": "\/var\/www\/shared\/sites\/workflow\/mailTemplates\/3598973985dfb86269c23d6071638314\/actionsByEmail.html",
|
||||||
|
"PRF_TYPE": "file",
|
||||||
|
"PRF_EDITABLE": "1",
|
||||||
|
"PRF_CREATE_DATE": "2019-12-19 14:10:33",
|
||||||
|
"PRF_UPDATE_DATE": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRF_UID": "6235128035dfb8626dffd94027574889",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"USR_UID": "00000000000000000000000000000001",
|
||||||
|
"PRF_UPDATE_USR_UID": "",
|
||||||
|
"PRF_PATH": "\/var\/www\/shared\/sites\/workflow\/public\/3598973985dfb86269c23d6071638314\/1833424275dfb847c912110048244199Info.php",
|
||||||
|
"PRF_TYPE": "file",
|
||||||
|
"PRF_EDITABLE": "0",
|
||||||
|
"PRF_CREATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"PRF_UPDATE_DATE": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRF_UID": "6966516255dfb8626dfbd42099136357",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"USR_UID": "00000000000000000000000000000001",
|
||||||
|
"PRF_UPDATE_USR_UID": "",
|
||||||
|
"PRF_PATH": "\/var\/www\/shared\/sites\/workflow\/public\/3598973985dfb86269c23d6071638314\/1833424275dfb847c912110048244199Post.php",
|
||||||
|
"PRF_TYPE": "file",
|
||||||
|
"PRF_EDITABLE": "0",
|
||||||
|
"PRF_CREATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"PRF_UPDATE_DATE": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PRF_UID": "7327359135dfb8626e03770066162194",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"USR_UID": "00000000000000000000000000000001",
|
||||||
|
"PRF_UPDATE_USR_UID": "",
|
||||||
|
"PRF_PATH": "\/var\/www\/shared\/sites\/workflow\/public\/3598973985dfb86269c23d6071638314\/wsClient.php",
|
||||||
|
"PRF_TYPE": "file",
|
||||||
|
"PRF_EDITABLE": "0",
|
||||||
|
"PRF_CREATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"PRF_UPDATE_DATE": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"abeConfiguration": [
|
||||||
|
{
|
||||||
|
"ABE_UID": "4306137575dfb8626d54c87075844725",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "3454769755dfb8d7a1cadc9088436060",
|
||||||
|
"ABE_TYPE": "LINK",
|
||||||
|
"ABE_TEMPLATE": "actionsByEmailErrorReply.html",
|
||||||
|
"ABE_DYN_TYPE": "NORMAL",
|
||||||
|
"DYN_UID": "1981330525dfb8626c70026010918765",
|
||||||
|
"ABE_EMAIL_FIELD": "",
|
||||||
|
"ABE_ACTION_FIELD": "",
|
||||||
|
"ABE_ACTION_BODY_FIELD": "",
|
||||||
|
"ABE_CASE_NOTE_IN_RESPONSE": "0",
|
||||||
|
"ABE_FORCE_LOGIN": "0",
|
||||||
|
"ABE_CREATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"ABE_UPDATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"ABE_SUBJECT_FIELD": "",
|
||||||
|
"ABE_MAILSERVER_OR_MAILCURRENT": "0",
|
||||||
|
"ABE_CUSTOM_GRID": "b:0;",
|
||||||
|
"ABE_EMAIL_SERVER_UID": "",
|
||||||
|
"ABE_EMAIL_SERVER_RECEIVER_UID": "",
|
||||||
|
"TAS_UID_OLD": "7400740655dfb86269feaa1089812754"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ABE_UID": "5375484805dfb8626d58030072013572",
|
||||||
|
"PRO_UID": "3865635965dfb8d7a152330088145190",
|
||||||
|
"TAS_UID": "9865926225dfb8d7a1fc385009206952",
|
||||||
|
"ABE_TYPE": "LINK",
|
||||||
|
"ABE_TEMPLATE": "actionsByEmailErrorReply.html",
|
||||||
|
"ABE_DYN_TYPE": "NORMAL",
|
||||||
|
"DYN_UID": "1981330525dfb8626c70026010918765",
|
||||||
|
"ABE_EMAIL_FIELD": "test",
|
||||||
|
"ABE_ACTION_FIELD": "",
|
||||||
|
"ABE_ACTION_BODY_FIELD": "",
|
||||||
|
"ABE_CASE_NOTE_IN_RESPONSE": "0",
|
||||||
|
"ABE_FORCE_LOGIN": "0",
|
||||||
|
"ABE_CREATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"ABE_UPDATE_DATE": "2019-12-19 14:16:06",
|
||||||
|
"ABE_SUBJECT_FIELD": "test",
|
||||||
|
"ABE_MAILSERVER_OR_MAILCURRENT": "0",
|
||||||
|
"ABE_CUSTOM_GRID": "b:0;",
|
||||||
|
"ABE_EMAIL_SERVER_UID": "",
|
||||||
|
"ABE_EMAIL_SERVER_RECEIVER_UID": "",
|
||||||
|
"TAS_UID_OLD": "8420128765dfb8626acccb8059629296"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"elementTask": [],
|
||||||
|
"uid": {
|
||||||
|
"PROCESS": {
|
||||||
|
"7084112395dfb826264eac2069406712": "3865635965dfb8d7a152330088145190"
|
||||||
|
},
|
||||||
|
"TASK": {
|
||||||
|
"5730239675dfb8626a65a28038679991": "5978729975dfb8d7a264fa0070639752",
|
||||||
|
"6279149375dfb8626a95495099553981": "3458788095dfb8d7a18fa33047794245",
|
||||||
|
"3347609685dfb8626a35d06089327263": "7916511005dfb8d7a234286082436886",
|
||||||
|
"8420128765dfb8626acccb8059629296": "9865926225dfb8d7a1fc385009206952",
|
||||||
|
"7400740655dfb86269feaa1089812754": "3454769755dfb8d7a1cadc9088436060",
|
||||||
|
"wee-873125dfb8626b28bf4015522377": "wee-532835dfb8d7a2d0a29054950929"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
tests/unit/thirdparty/propel-generator/classes/propel/engine/database/model/PhpNameGeneratorTest.php
vendored
Normal file
120
tests/unit/thirdparty/propel-generator/classes/propel/engine/database/model/PhpNameGeneratorTest.php
vendored
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class PhpNameGeneratorTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var PhpNameGenerator
|
||||||
|
*/
|
||||||
|
var $phpNameGenerator;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set up the test class
|
||||||
|
*/
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
// Call the setUp parent method
|
||||||
|
parent::setUp();
|
||||||
|
|
||||||
|
// Include class "PhpNameGenerator" from "thirdparty" folder, this class is not loaded with composer
|
||||||
|
require_once PATH_THIRDPARTY . 'propel-generator/classes/propel/engine/database/model/PhpNameGenerator.php';
|
||||||
|
|
||||||
|
// Instance class PhpNameGenerator
|
||||||
|
$this->phpNameGenerator = new PhpNameGenerator();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test "underscoreMethod" using texts with and without underscores
|
||||||
|
*
|
||||||
|
* @test
|
||||||
|
* @covers PhpNameGenerator::underscoreMethod()
|
||||||
|
*/
|
||||||
|
public function it_should_test_underscore_method_through_generate_name()
|
||||||
|
{
|
||||||
|
// To force to use the protected method "underscoreMethod"
|
||||||
|
$method = PhpNameGenerator::CONV_METHOD_UNDERSCORE;
|
||||||
|
|
||||||
|
// Assert for bug PMC-1341
|
||||||
|
$string = 'q_10_0_0';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('Q1000', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in lowercase without underscores
|
||||||
|
$string = 'example';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('Example', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in uppercase without underscores
|
||||||
|
$string = 'EXAMPLE';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('Example', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a capitalized text without underscores, should be return the same value
|
||||||
|
$string = 'Example';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals($string, $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in lowercase with underscore
|
||||||
|
$string = 'first_name';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('FirstName', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in lowercase with underscores
|
||||||
|
$string = 'this_is_my_text';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('ThisIsMyText', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a mixed text with underscores
|
||||||
|
$string = 'this_Is_the_Number_1_to_check';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('ThisIsTheNumber1ToCheck', $convertedString);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test "phpnameMethod" using texts with and without underscores
|
||||||
|
*
|
||||||
|
* @test
|
||||||
|
* @covers PhpNameGenerator::phpnameMethod()
|
||||||
|
*/
|
||||||
|
public function it_should_test_php_name_method_through_generate_name()
|
||||||
|
{
|
||||||
|
// To force to use the protected method "underscoreMethod"
|
||||||
|
$method = PhpNameGenerator::CONV_METHOD_UNDERSCORE;
|
||||||
|
|
||||||
|
// Assert for bug PMC-1341
|
||||||
|
$string = 'q_10_0_0';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('Q1000', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in lowercase without underscores
|
||||||
|
$string = 'example';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('Example', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in uppercase without underscores
|
||||||
|
$string = 'EXAMPLE';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('Example', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a capitalized text without underscores, should be return the same value
|
||||||
|
$string = 'Example';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals($string, $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in lowercase with underscore
|
||||||
|
$string = 'first_name';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('FirstName', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a text in lowercase with underscores
|
||||||
|
$string = 'this_is_my_text';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('ThisIsMyText', $convertedString);
|
||||||
|
|
||||||
|
// Assert for a mixed text with underscores
|
||||||
|
$string = 'this_Is_the_Number_1_to_check';
|
||||||
|
$convertedString = $this->phpNameGenerator->generateName([$string, $method]);
|
||||||
|
$this->assertEquals('ThisIsTheNumber1ToCheck', $convertedString);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,7 +2,17 @@
|
|||||||
|
|
||||||
namespace Tests\unit\workflow\engine\classes;
|
namespace Tests\unit\workflow\engine\classes;
|
||||||
|
|
||||||
use \Derivation;
|
use Cases;
|
||||||
|
use Derivation;
|
||||||
|
use G;
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
use ProcessMaker\Model\Application;
|
||||||
|
use ProcessMaker\Model\Delegation;
|
||||||
|
use ProcessMaker\Model\Process;
|
||||||
|
use ProcessMaker\Model\Route;
|
||||||
|
use ProcessMaker\Model\Task;
|
||||||
|
use ProcessMaker\Model\TaskUser;
|
||||||
|
use ProcessMaker\Model\User;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class DerivationTest extends TestCase
|
class DerivationTest extends TestCase
|
||||||
@@ -15,6 +25,41 @@ class DerivationTest extends TestCase
|
|||||||
{
|
{
|
||||||
parent::setUp(); // TODO: Change the autogenerated stub
|
parent::setUp(); // TODO: Change the autogenerated stub
|
||||||
|
|
||||||
|
// Truncate the APP_SEQUENCE table
|
||||||
|
DB::table('APP_SEQUENCE')->truncate();
|
||||||
|
|
||||||
|
config(["system.workspace" => "new_site"]);
|
||||||
|
$workspace = config("system.workspace");
|
||||||
|
|
||||||
|
if (!file_exists(PATH_DB . $workspace)) {
|
||||||
|
G::mk_dir(PATH_DB . $workspace);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!file_exists(PATH_DB . $workspace . PATH_SEP . "db.php")) {
|
||||||
|
$myfile = fopen(PATH_DB . $workspace . PATH_SEP . "db.php", "w");
|
||||||
|
fwrite($myfile, "<?php
|
||||||
|
define ('DB_ADAPTER', 'mysql' );
|
||||||
|
define ('DB_HOST', '" . env('DB_HOST') . "' );
|
||||||
|
define ('DB_NAME', '" . env('DB_DATABASE') . "' );
|
||||||
|
define ('DB_USER', '" . env('DB_USERNAME') . "' );
|
||||||
|
define ('DB_PASS', '" . env('DB_PASSWORD') . "' );
|
||||||
|
define ('DB_RBAC_HOST', '" . env('DB_HOST') . "' );
|
||||||
|
define ('DB_RBAC_NAME', '" . env('DB_DATABASE') . "' );
|
||||||
|
define ('DB_RBAC_USER', '" . env('DB_USERNAME') . "' );
|
||||||
|
define ('DB_RBAC_PASS', '" . env('DB_PASSWORD') . "' );
|
||||||
|
define ('DB_REPORT_HOST', '" . env('DB_HOST') . "' );
|
||||||
|
define ('DB_REPORT_NAME', '" . env('DB_DATABASE') . "' );
|
||||||
|
define ('DB_REPORT_USER', '" . env('DB_USERNAME') . "' );
|
||||||
|
define ('DB_REPORT_PASS', '" . env('DB_PASSWORD') . "' );");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Call the tearDown method
|
||||||
|
*/
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
parent::tearDown(); // TODO: Change the autogenerated stub
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -80,4 +125,139 @@ class DerivationTest extends TestCase
|
|||||||
$this->assertObjectHasAttribute('name', $res['var3_label']);
|
$this->assertObjectHasAttribute('name', $res['var3_label']);
|
||||||
$this->assertEquals($res['var3_label'], (object)['Street' => 'test', 'name' => 'Something']);
|
$this->assertEquals($res['var3_label'], (object)['Street' => 'test', 'name' => 'Something']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It tests the doDerivation method sending variables synchronously
|
||||||
|
*
|
||||||
|
* @covers Derivation::doDerivation()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_should_test_the_do_derivation_method_sending_variables_synchronously()
|
||||||
|
{
|
||||||
|
// Create the models
|
||||||
|
$user = factory(User::class)->create();
|
||||||
|
$process = factory(Process::class)->create([
|
||||||
|
'PRO_CREATE_USER' => $user->USR_UID
|
||||||
|
]);
|
||||||
|
$task = factory(Task::class)->create([
|
||||||
|
'PRO_UID' => $process->PRO_UID,
|
||||||
|
]);
|
||||||
|
$application = factory(Application::class)->create();
|
||||||
|
$appDelegation = factory(Delegation::class)->create();
|
||||||
|
|
||||||
|
// Create the parameters
|
||||||
|
$currentDelegation = [
|
||||||
|
'APP_UID' => $application->APP_UID,
|
||||||
|
'DEL_INDEX' => $appDelegation->DEL_INDEX,
|
||||||
|
'ROU_TYPE' => ''
|
||||||
|
];
|
||||||
|
$nextDel = [
|
||||||
|
'TAS_UID' => $task->TAS_UID,
|
||||||
|
'USR_UID' => $user->USR_UID,
|
||||||
|
'DEL_PRIORITY' => $appDelegation->DEL_PRIORITY,
|
||||||
|
'TAS_ASSIGN_TYPE' => $task->TAS_ASSIGN_TYPE,
|
||||||
|
'TAS_ID' => $task->TAS_ID
|
||||||
|
];
|
||||||
|
$appFields = [
|
||||||
|
'APP_NUMBER' => $application->APP_NUMBER,
|
||||||
|
'DEL_THREAD' => $appDelegation->DEL_THREAD,
|
||||||
|
'PRO_UID' => $process->PRO_UID,
|
||||||
|
'PRO_ID' => $process->PRO_ID,
|
||||||
|
'APP_DATA' => [],
|
||||||
|
'APP_TITLE' => $application->APP_TITLE,
|
||||||
|
'APP_UID' => $application->APP_UID
|
||||||
|
];
|
||||||
|
$sp = [
|
||||||
|
'SP_VARIABLES_OUT' => 'a:1:{s:6:"@&var1";s:6:"@&var2";}',
|
||||||
|
'SP_VARIABLES_IN' => 'a:1:{s:6:"@&var2";s:6:"@&var3";}',
|
||||||
|
'SP_SYNCHRONOUS' => '1',
|
||||||
|
'SP_TYPE' => '',
|
||||||
|
'TAS_UID' => $task->TAS_UID,
|
||||||
|
'USR_UID' => $user->USR_UID,
|
||||||
|
];
|
||||||
|
|
||||||
|
// Create the Derivation object
|
||||||
|
$der = new Derivation();
|
||||||
|
$der->case = new Cases;
|
||||||
|
|
||||||
|
// Call the doDerivation method
|
||||||
|
$res = $der->doDerivation($currentDelegation, $nextDel, $appFields, $sp);
|
||||||
|
|
||||||
|
// Assert the new delegation index is 1
|
||||||
|
$this->assertEquals(1, $res);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It tests the doDerivation method sending variables asynchronously
|
||||||
|
*
|
||||||
|
* @covers Derivation::doDerivation()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_should_test_the_do_derivation_method_sending_variables_asynchronously()
|
||||||
|
{
|
||||||
|
// Create the models
|
||||||
|
$user = factory(User::class)->create();
|
||||||
|
$process = factory(Process::class)->create([
|
||||||
|
'PRO_CREATE_USER' => $user->USR_UID
|
||||||
|
]);
|
||||||
|
$task = factory(Task::class)->create([
|
||||||
|
'PRO_UID' => $process->PRO_UID,
|
||||||
|
'TAS_USER' => $user->USR_UID
|
||||||
|
]);
|
||||||
|
factory(TaskUser::class)->create([
|
||||||
|
'TAS_UID' => $task->TAS_UID,
|
||||||
|
'USR_UID' => $user->USR_UID,
|
||||||
|
]);
|
||||||
|
$application = factory(Application::class)->create();
|
||||||
|
$appDelegation = factory(Delegation::class)->create([
|
||||||
|
'TAS_UID' => $task->TAS_UID
|
||||||
|
]);
|
||||||
|
factory(Route::class)->create([
|
||||||
|
'TAS_UID' => $task->TAS_UID,
|
||||||
|
'ROU_NEXT_TASK' => $task->TAS_UID,
|
||||||
|
'PRO_UID' => $process->PRO_UID
|
||||||
|
]);
|
||||||
|
|
||||||
|
// Create the parameters
|
||||||
|
$currentDelegation = [
|
||||||
|
'APP_UID' => $application->APP_UID,
|
||||||
|
'DEL_INDEX' => $appDelegation->DEL_INDEX,
|
||||||
|
'ROU_TYPE' => '',
|
||||||
|
'TAS_UID' => $task->TAS_UID
|
||||||
|
];
|
||||||
|
$nextDel = [
|
||||||
|
'TAS_UID' => $task->TAS_UID,
|
||||||
|
'USR_UID' => $user->USR_UID,
|
||||||
|
'DEL_PRIORITY' => $appDelegation->DEL_PRIORITY,
|
||||||
|
'TAS_ASSIGN_TYPE' => $task->TAS_ASSIGN_TYPE,
|
||||||
|
'TAS_ID' => $task->TAS_ID
|
||||||
|
];
|
||||||
|
$appFields = [
|
||||||
|
'APP_NUMBER' => $application->APP_NUMBER,
|
||||||
|
'DEL_THREAD' => $appDelegation->DEL_THREAD,
|
||||||
|
'PRO_UID' => $process->PRO_UID,
|
||||||
|
'PRO_ID' => $process->PRO_ID,
|
||||||
|
'APP_DATA' => [],
|
||||||
|
'APP_TITLE' => $application->APP_TITLE,
|
||||||
|
'APP_UID' => $application->APP_UID
|
||||||
|
];
|
||||||
|
$sp = [
|
||||||
|
'SP_VARIABLES_OUT' => 'a:1:{s:6:"@&var1";s:6:"@&var2";}',
|
||||||
|
'SP_VARIABLES_IN' => 'a:1:{s:6:"@&var2";s:6:"@&var3";}',
|
||||||
|
'SP_SYNCHRONOUS' => '0',
|
||||||
|
'SP_TYPE' => '',
|
||||||
|
'TAS_UID' => $task->TAS_UID,
|
||||||
|
'USR_UID' => $user->USR_UID,
|
||||||
|
];
|
||||||
|
|
||||||
|
// Create the Derivation object
|
||||||
|
$der = new Derivation();
|
||||||
|
$der->case = new Cases;
|
||||||
|
|
||||||
|
// Call the doDerivation method
|
||||||
|
$res = $der->doDerivation($currentDelegation, $nextDel, $appFields, $sp);
|
||||||
|
|
||||||
|
// Assert the new delegation index is 1
|
||||||
|
$this->assertEquals(1, $res);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -909,6 +909,8 @@ class PmDynaformTest extends TestCase
|
|||||||
|
|
||||||
$sqlOriginal3 = 'DUMMY';
|
$sqlOriginal3 = 'DUMMY';
|
||||||
|
|
||||||
|
$sqlOriginal4 = 'SELECT U.USR_UID, U.USR_USERNAME FROM PMT_CODES C INNER JOIN USERS U ON U.USR_USERNAME = C.USR_USERNAME';
|
||||||
|
|
||||||
// Instance the class PmDynaform
|
// Instance the class PmDynaform
|
||||||
$pmDynaform = new PmDynaform([]);
|
$pmDynaform = new PmDynaform([]);
|
||||||
|
|
||||||
@@ -924,6 +926,10 @@ class PmDynaformTest extends TestCase
|
|||||||
// Test another string, shoul be return the same value
|
// Test another string, shoul be return the same value
|
||||||
$sqlParsed3 = $pmDynaform->sqlParse($sqlOriginal3);
|
$sqlParsed3 = $pmDynaform->sqlParse($sqlOriginal3);
|
||||||
$this->assertEquals($sqlOriginal3, $sqlParsed3);
|
$this->assertEquals($sqlOriginal3, $sqlParsed3);
|
||||||
|
|
||||||
|
// Test bug PMCORE-1049
|
||||||
|
$sqlParsed4 = $pmDynaform->sqlParse($sqlOriginal4);
|
||||||
|
$this->assertNotFalse(strpos($sqlParsed4, 'C.USR_USERNAME'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ class ExecuteQueryTest extends TestCase
|
|||||||
});
|
});
|
||||||
$expected = $user->toArray();
|
$expected = $user->toArray();
|
||||||
|
|
||||||
|
foreach ($expected as $value) {
|
||||||
$sql = "SELECT "
|
$sql = "SELECT "
|
||||||
. "USR_UID ,"
|
. "USR_UID ,"
|
||||||
. "USR_USERNAME ,"
|
. "USR_USERNAME ,"
|
||||||
@@ -74,15 +75,16 @@ class ExecuteQueryTest extends TestCase
|
|||||||
. "USR_EMAIL "
|
. "USR_EMAIL "
|
||||||
. "FROM USERS "
|
. "FROM USERS "
|
||||||
. "WHERE "
|
. "WHERE "
|
||||||
. "USR_UID NOT IN ("
|
. "USR_UID = '" . $value['USR_UID'] . "'"
|
||||||
. " '00000000000000000000000000000001',"
|
|
||||||
. " '00000000000000000000000000000002'"
|
|
||||||
. ")"
|
|
||||||
. "ORDER BY USR_UID DESC";
|
. "ORDER BY USR_UID DESC";
|
||||||
$actual = executeQuery($sql);
|
$actual = executeQuery($sql);
|
||||||
|
|
||||||
$actual = array_values($actual);
|
$actual = array_values($actual);
|
||||||
|
|
||||||
$this->assertEquals($expected, $actual);
|
$this->assertEquals($value, head($actual));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ use Tests\TestCase;
|
|||||||
|
|
||||||
class ProcessesTest extends TestCase
|
class ProcessesTest extends TestCase
|
||||||
{
|
{
|
||||||
|
private $processes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor of the class.
|
* Constructor of the class.
|
||||||
@@ -33,6 +34,7 @@ class ProcessesTest extends TestCase
|
|||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
$this->processes = new Processes();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -154,7 +156,7 @@ class ProcessesTest extends TestCase
|
|||||||
* This checks fi the returned output documents are correct with the differect
|
* This checks fi the returned output documents are correct with the differect
|
||||||
* parameters.
|
* parameters.
|
||||||
* @test
|
* @test
|
||||||
* @covers Processes::getOutputRows()
|
* @covers \Processes::getOutputRows()
|
||||||
*/
|
*/
|
||||||
public function it_should_return_output_documents()
|
public function it_should_return_output_documents()
|
||||||
{
|
{
|
||||||
@@ -205,7 +207,7 @@ class ProcessesTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* This checks if the dynaforms structure is saved with the different parameters.
|
* This checks if the dynaforms structure is saved with the different parameters.
|
||||||
* @test
|
* @test
|
||||||
* @covers Processes::createDynaformRows()
|
* @covers \Processes::createDynaformRows()
|
||||||
*/
|
*/
|
||||||
public function it_sholud_create_dynaform()
|
public function it_sholud_create_dynaform()
|
||||||
{
|
{
|
||||||
@@ -269,7 +271,7 @@ class ProcessesTest extends TestCase
|
|||||||
* This checks if the input documents structure is saved with the different
|
* This checks if the input documents structure is saved with the different
|
||||||
* parameters.
|
* parameters.
|
||||||
* @test
|
* @test
|
||||||
* @covers Processes::createInputRows()
|
* @covers \Processes::createInputRows()
|
||||||
*/
|
*/
|
||||||
public function it_should_create_input_document()
|
public function it_should_create_input_document()
|
||||||
{
|
{
|
||||||
@@ -339,7 +341,7 @@ class ProcessesTest extends TestCase
|
|||||||
* This checks if the output documents structure is saved with the different
|
* This checks if the output documents structure is saved with the different
|
||||||
* parameters.
|
* parameters.
|
||||||
* @test
|
* @test
|
||||||
* @covers Processes::createOutputRows()
|
* @covers \Processes::createOutputRows()
|
||||||
*/
|
*/
|
||||||
public function it_should_create_output_document()
|
public function it_should_create_output_document()
|
||||||
{
|
{
|
||||||
@@ -432,7 +434,7 @@ class ProcessesTest extends TestCase
|
|||||||
/**
|
/**
|
||||||
* This gets the data structure of a project.
|
* This gets the data structure of a project.
|
||||||
* @test
|
* @test
|
||||||
* @covers Processes::getWorkflowData()
|
* @covers \Processes::getWorkflowData()
|
||||||
*/
|
*/
|
||||||
public function it_should_get_workflow_data()
|
public function it_should_get_workflow_data()
|
||||||
{
|
{
|
||||||
@@ -459,4 +461,40 @@ class ProcessesTest extends TestCase
|
|||||||
$result = $processes->getWorkflowData($process->PRO_UID);
|
$result = $processes->getWorkflowData($process->PRO_UID);
|
||||||
$this->assertNotNull($result);
|
$this->assertNotNull($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This test guarantees the replacement of new identifiers.
|
||||||
|
* @test
|
||||||
|
* @covers \Processes::renewAllDynaformGuid()
|
||||||
|
*/
|
||||||
|
public function it_should_renew_all_dynaform_guid()
|
||||||
|
{
|
||||||
|
$pathData = PATH_TRUNK . "/tests/resources/dynaformDataForRenewUids.json";
|
||||||
|
$data = file_get_contents($pathData);
|
||||||
|
$result = json_decode($data, JSON_OBJECT_AS_ARRAY);
|
||||||
|
$result = (object) $result;
|
||||||
|
$this->processes->renewAllDynaformGuid($result);
|
||||||
|
foreach ($result as $key => $value) {
|
||||||
|
$this->assertObjectHasAttribute($key, $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
//without PRO_DYNAFORMS
|
||||||
|
$result = json_decode($data, JSON_OBJECT_AS_ARRAY);
|
||||||
|
$result = (object) $result;
|
||||||
|
unset($result->process['PRO_DYNAFORMS']);
|
||||||
|
$this->processes->renewAllDynaformGuid($result);
|
||||||
|
foreach ($result as $key => $value) {
|
||||||
|
$this->assertObjectHasAttribute($key, $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
//for process inside PRO_DYNAFORMS
|
||||||
|
$result = json_decode($data, JSON_OBJECT_AS_ARRAY);
|
||||||
|
$result = (object) $result;
|
||||||
|
$result->process['PRO_DYNAFORMS'] = [];
|
||||||
|
$result->process['PRO_DYNAFORMS']['PROCESS'] = $result->dynaforms[0]['DYN_UID'];
|
||||||
|
$this->processes->renewAllDynaformGuid($result);
|
||||||
|
foreach ($result as $key => $value) {
|
||||||
|
$this->assertObjectHasAttribute($key, $result);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,109 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\classes\model;
|
||||||
|
|
||||||
|
use AdditionalTables;
|
||||||
|
use Exception;
|
||||||
|
use G;
|
||||||
|
use ProcessMaker\Model\AdditionalTables as AdditionalTablesModel;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class AdditionalTablesTest extends TestCase
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This tests the creation of a PMTable.
|
||||||
|
* @test
|
||||||
|
* @covers \AdditionalTables::create()
|
||||||
|
*/
|
||||||
|
public function it_should_create()
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
"ADD_TAB_UID" => "",
|
||||||
|
"ADD_TAB_NAME" => "PMT_TEST11",
|
||||||
|
"ADD_TAB_CLASS_NAME" => "PmtTest11",
|
||||||
|
"ADD_TAB_DESCRIPTION" => "",
|
||||||
|
"ADD_TAB_PLG_UID" => "",
|
||||||
|
"DBS_UID" => "workflow",
|
||||||
|
"PRO_UID" => "",
|
||||||
|
"ADD_TAB_TYPE" => "",
|
||||||
|
"ADD_TAB_GRID" => "",
|
||||||
|
"ADD_TAB_OFFLINE" => false,
|
||||||
|
"ADD_TAB_UPDATE_DATE" => "2019-10-22 19:52:52"
|
||||||
|
];
|
||||||
|
|
||||||
|
$additionalTables = new AdditionalTables();
|
||||||
|
$result = $additionalTables->create($data);
|
||||||
|
|
||||||
|
$additionalTablesModel = AdditionalTablesModel::where('ADD_TAB_UID', '=', $result)
|
||||||
|
->get()
|
||||||
|
->first();
|
||||||
|
$actual = $additionalTablesModel->toArray();
|
||||||
|
unset($data["ADD_TAB_UID"]);
|
||||||
|
|
||||||
|
$this->assertArraySubset($data, $actual);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This attempts to create a PMTable without correct data to cause an exception.
|
||||||
|
* @test
|
||||||
|
* @covers \AdditionalTables::create()
|
||||||
|
*/
|
||||||
|
public function it_should_create_without_data()
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
];
|
||||||
|
$additionalTables = new AdditionalTables();
|
||||||
|
$this->expectException(Exception::class);
|
||||||
|
$additionalTables->create($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This updates the data of a PMTable.
|
||||||
|
* @test
|
||||||
|
* @covers \AdditionalTables::update()
|
||||||
|
*/
|
||||||
|
public function it_should_update()
|
||||||
|
{
|
||||||
|
$additionalTables = factory(AdditionalTablesModel::class)->create();
|
||||||
|
|
||||||
|
$expected = [
|
||||||
|
"ADD_TAB_UID" => $additionalTables->ADD_TAB_UID,
|
||||||
|
"ADD_TAB_NAME" => "PMT_TEST11",
|
||||||
|
"ADD_TAB_CLASS_NAME" => "PmtTest11",
|
||||||
|
"DBS_UID" => "workflow",
|
||||||
|
"ADD_TAB_OFFLINE" => false,
|
||||||
|
"ADD_TAB_UPDATE_DATE" => "2019-10-22 19:53:11"
|
||||||
|
];
|
||||||
|
$additionalTables = new AdditionalTables();
|
||||||
|
$additionalTables->update($expected);
|
||||||
|
|
||||||
|
$additionalTables = AdditionalTablesModel::where('ADD_TAB_UID', '=', $expected['ADD_TAB_UID'])
|
||||||
|
->get()
|
||||||
|
->first();
|
||||||
|
|
||||||
|
$this->assertEquals($expected["ADD_TAB_NAME"], $additionalTables->ADD_TAB_NAME);
|
||||||
|
$this->assertEquals($expected["ADD_TAB_CLASS_NAME"], $additionalTables->ADD_TAB_CLASS_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It tries to update the data of a non-existent "PMTable".
|
||||||
|
* @test
|
||||||
|
* @covers \AdditionalTables::update()
|
||||||
|
*/
|
||||||
|
public function it_should_update_if_registry_not_exist()
|
||||||
|
{
|
||||||
|
$expected = [
|
||||||
|
"ADD_TAB_UID" => G::generateUniqueID(),
|
||||||
|
"ADD_TAB_NAME" => "PMT_TEST11",
|
||||||
|
"ADD_TAB_CLASS_NAME" => "PmtTest11",
|
||||||
|
"DBS_UID" => "workflow",
|
||||||
|
"ADD_TAB_OFFLINE" => false,
|
||||||
|
"ADD_TAB_UPDATE_DATE" => "2019-10-22 19:53:11"
|
||||||
|
];
|
||||||
|
|
||||||
|
$this->expectException(Exception::class);
|
||||||
|
$additionalTables = new AdditionalTables();
|
||||||
|
$additionalTables->update($expected);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,107 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\methods\cases;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||||
|
use ProcessMaker\Model\User;
|
||||||
|
use RBAC;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
|
||||||
|
class ProxyNewCasesListTest extends TestCase
|
||||||
|
{
|
||||||
|
use DatabaseTransactions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This sets the initial parameters for each test.
|
||||||
|
*/
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
parent::setUp(); // TODO: Change the autogenerated stub
|
||||||
|
$this->settingUserLogged();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This starts a valid user in session with the appropriate permissions.
|
||||||
|
* @global object $RBAC
|
||||||
|
*/
|
||||||
|
private function settingUserLogged()
|
||||||
|
{
|
||||||
|
global $RBAC;
|
||||||
|
|
||||||
|
$user = User::where('USR_ID', '=', 1)
|
||||||
|
->get()
|
||||||
|
->first();
|
||||||
|
|
||||||
|
$_SESSION['USER_LOGGED'] = $user['USR_UID'];
|
||||||
|
|
||||||
|
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
||||||
|
$RBAC->initRBAC();
|
||||||
|
$RBAC->loadUserRolePermission('PROCESSMAKER', $_SESSION['USER_LOGGED']);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It tests the result contains an error
|
||||||
|
*
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_should_test_there_is_an_error_in_the_proxy_new_cases_list_file()
|
||||||
|
{
|
||||||
|
//Turn on output buffering
|
||||||
|
ob_start();
|
||||||
|
|
||||||
|
//Call the tested file
|
||||||
|
require_once PATH_METHODS . 'cases/proxyNewCasesList.php';
|
||||||
|
|
||||||
|
//Return the contents of the output buffer
|
||||||
|
$outputBuffer = ob_get_contents();
|
||||||
|
//Clean the output buffer and turn off output buffering
|
||||||
|
ob_end_clean();
|
||||||
|
|
||||||
|
// This asserts there is an error in the output
|
||||||
|
$this->assertEquals('{"error":"ID_ACCESS_DENIED"}', $outputBuffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It tests the result contains an empty "search" field
|
||||||
|
*
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_should_test_the_response_of_the_proxy_new_cases_list_file()
|
||||||
|
{
|
||||||
|
$_REQUEST["paged"] = '';
|
||||||
|
$_REQUEST['count'] = '';
|
||||||
|
$_REQUEST["category"] = '';
|
||||||
|
$_REQUEST["process"] = '';
|
||||||
|
$_REQUEST["search"] = 'fsfaefwa';
|
||||||
|
$_REQUEST["filter"] = '';
|
||||||
|
$_REQUEST["dateFrom"] = '';
|
||||||
|
$_REQUEST["dateTo"] = '';
|
||||||
|
$_REQUEST["start"] = '';
|
||||||
|
$_REQUEST["limit"] = '';
|
||||||
|
$_REQUEST['sort'] = 'ASC';
|
||||||
|
$_REQUEST["dir"] = '';
|
||||||
|
$_REQUEST["action"] = 'todo';
|
||||||
|
$_REQUEST["user"] = '';
|
||||||
|
$_REQUEST["list"] = 'inbox';
|
||||||
|
$_REQUEST["filterStatus"] = '';
|
||||||
|
$_REQUEST['openApplicationUid'] = '';
|
||||||
|
|
||||||
|
//Turn on output buffering
|
||||||
|
ob_start();
|
||||||
|
|
||||||
|
//Call the tested file
|
||||||
|
require_once PATH_METHODS . 'cases/proxyNewCasesList.php';
|
||||||
|
|
||||||
|
//Return the contents of the output buffer
|
||||||
|
$outputBuffer = ob_get_contents();
|
||||||
|
|
||||||
|
//Clean the output buffer and turn off output buffering
|
||||||
|
ob_end_clean();
|
||||||
|
|
||||||
|
$result = json_decode($outputBuffer, true);
|
||||||
|
|
||||||
|
//This asserts that the search parameter has an empty value
|
||||||
|
$this->assertEmpty($result['filters']['search']);
|
||||||
|
}
|
||||||
|
}
|
||||||
76
tests/unit/workflow/engine/methods/groups/GroupsAjaxTest.php
Normal file
76
tests/unit/workflow/engine/methods/groups/GroupsAjaxTest.php
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\methods\groups;
|
||||||
|
|
||||||
|
use Faker\Factory;
|
||||||
|
use ProcessMaker\Model\Groupwf;
|
||||||
|
use ProcessMaker\Model\User;
|
||||||
|
use RBAC;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class GroupsAjaxTest extends TestCase
|
||||||
|
{
|
||||||
|
private $groups;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set up function
|
||||||
|
*/
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
parent::setUp();
|
||||||
|
$this->settingUserLogged();
|
||||||
|
Groupwf::truncate();
|
||||||
|
$this->createGroups();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create records in the GROUPSWF table
|
||||||
|
*/
|
||||||
|
private function createGroups()
|
||||||
|
{
|
||||||
|
$this->groups = factory(Groupwf::class, 10)->create();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This starts a valid user in session with the appropriate permissions.
|
||||||
|
* @global object $RBAC
|
||||||
|
*/
|
||||||
|
private function settingUserLogged()
|
||||||
|
{
|
||||||
|
global $RBAC;
|
||||||
|
|
||||||
|
$user = User::where('USR_ID', '=', 1)
|
||||||
|
->get()
|
||||||
|
->first();
|
||||||
|
|
||||||
|
$_SESSION['USER_LOGGED'] = $user['USR_UID'];
|
||||||
|
|
||||||
|
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
||||||
|
$RBAC->initRBAC();
|
||||||
|
$RBAC->loadUserRolePermission('PROCESSMAKER', $_SESSION['USER_LOGGED']);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This tests the answer of the option groupsList.
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_should_return_option_groups_list()
|
||||||
|
{
|
||||||
|
global $RBAC;
|
||||||
|
$_POST['action'] = 'groupsList';
|
||||||
|
$_REQUEST["dir"] = "DESC";
|
||||||
|
$_REQUEST["sort"] = "GRP_TITLE";
|
||||||
|
|
||||||
|
$fileName = PATH_METHODS . 'groups/groups_Ajax.php';
|
||||||
|
|
||||||
|
ob_start();
|
||||||
|
require_once $fileName;
|
||||||
|
$content = ob_get_clean();
|
||||||
|
$content = json_decode($content, JSON_OBJECT_AS_ARRAY);
|
||||||
|
|
||||||
|
$this->assertArrayHasKey("success", $content);
|
||||||
|
$this->assertArrayHasKey("groups", $content);
|
||||||
|
$this->assertTrue($content["success"]);
|
||||||
|
$this->assertTrue(is_array($content["groups"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -28,20 +28,21 @@ class UsersAjaxTest extends TestCase
|
|||||||
global $RBAC;
|
global $RBAC;
|
||||||
//Creates the user factory
|
//Creates the user factory
|
||||||
$user = factory(User::class)->create();
|
$user = factory(User::class)->create();
|
||||||
|
$usrUid = $user['USR_UID'];
|
||||||
//Creates the configuration factory
|
//Creates the configuration factory
|
||||||
factory(Configuration::class)->create([
|
factory(Configuration::class)->create([
|
||||||
'CFG_UID' => 'USER_PREFERENCES',
|
'CFG_UID' => 'USER_PREFERENCES',
|
||||||
'OBJ_UID' => '',
|
'OBJ_UID' => '',
|
||||||
'CFG_VALUE' => 'a:3:{s:12:"DEFAULT_LANG";s:0:"";s:12:"DEFAULT_MENU";s:8:"PM_SETUP";s:18:"DEFAULT_CASES_MENU";s:0:"";}',
|
'CFG_VALUE' => 'a:3:{s:12:"DEFAULT_LANG";s:0:"";s:12:"DEFAULT_MENU";s:8:"PM_SETUP";s:18:"DEFAULT_CASES_MENU";s:0:"";}',
|
||||||
'PRO_UID' => '',
|
'PRO_UID' => '',
|
||||||
'USR_UID' => $user['USR_UID'],
|
'USR_UID' => $usrUid,
|
||||||
'APP_UID' => '',
|
'APP_UID' => '',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
//Sets the needed variables
|
//Sets the needed variables
|
||||||
$_SESSION['USER_LOGGED'] = $user['USR_UID'];
|
$_SESSION['USER_LOGGED'] = $usrUid;
|
||||||
$_POST['action'] = 'userData';
|
$_POST['action'] = 'userData';
|
||||||
$_POST['USR_UID'] = $user['USR_UID'];
|
$_POST['USR_UID'] = $usrUid;
|
||||||
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
||||||
$RBAC->initRBAC();
|
$RBAC->initRBAC();
|
||||||
$RBAC->loadUserRolePermission('PROCESSMAKER', $_SESSION['USER_LOGGED']);
|
$RBAC->loadUserRolePermission('PROCESSMAKER', $_SESSION['USER_LOGGED']);
|
||||||
@@ -63,7 +64,7 @@ class UsersAjaxTest extends TestCase
|
|||||||
//Assert the call was success
|
//Assert the call was success
|
||||||
$this->assertTrue($res->success);
|
$this->assertTrue($res->success);
|
||||||
//Assert the result corresponds to the user logged
|
//Assert the result corresponds to the user logged
|
||||||
$this->assertEquals($user['USR_UID'], $res->user->USR_UID);
|
$this->assertEquals($usrUid, $res->user->USR_UID);
|
||||||
//Assert the default menu is set
|
//Assert the default menu is set
|
||||||
$this->assertEquals('PM_EDIT_USER_PROFILE_DEFAULT_MAIN_MENU_OPTIONS',
|
$this->assertEquals('PM_EDIT_USER_PROFILE_DEFAULT_MAIN_MENU_OPTIONS',
|
||||||
$res->permission->PREF_DEFAULT_MENUSELECTED);
|
$res->permission->PREF_DEFAULT_MENUSELECTED);
|
||||||
|
|||||||
@@ -0,0 +1,80 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace ProcessMaker\BusinessModel;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
|
use G;
|
||||||
|
use ProcessMaker\Model\Application;
|
||||||
|
use RBAC;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class DelegationTest
|
||||||
|
*
|
||||||
|
* @coversDefaultClass \ProcessMaker\BusinessModel\Cases
|
||||||
|
*/
|
||||||
|
class CasesTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This checks the delete case
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\BusinessModel\Cases::deleteCase()
|
||||||
|
* @test
|
||||||
|
* @expectedException Exception
|
||||||
|
*/
|
||||||
|
public function it_should_not_delete_case_without_permission()
|
||||||
|
{
|
||||||
|
// Set the RBAC
|
||||||
|
global $RBAC;
|
||||||
|
$_SESSION['USER_LOGGED'] = '00000000000000000000000000000002';
|
||||||
|
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
||||||
|
$RBAC->initRBAC();
|
||||||
|
|
||||||
|
$application = factory(Application::class)->create();
|
||||||
|
// Tried to delete case
|
||||||
|
$case = new Cases();
|
||||||
|
$case->deleteCase($application->APP_UID, $_SESSION['USER_LOGGED']);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This checks the delete case
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\BusinessModel\Cases::deleteCase()
|
||||||
|
* @test
|
||||||
|
* @expectedException Exception
|
||||||
|
*/
|
||||||
|
public function it_should_not_delete_case_in_todo_status()
|
||||||
|
{
|
||||||
|
// Set the RBAC
|
||||||
|
global $RBAC;
|
||||||
|
$_SESSION['USER_LOGGED'] = '00000000000000000000000000000001';
|
||||||
|
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
||||||
|
$RBAC->initRBAC();
|
||||||
|
|
||||||
|
$application = factory(Application::class)->create(['APP_STATUS' => 'TO_DO']);
|
||||||
|
// Tried to delete case
|
||||||
|
$case = new Cases();
|
||||||
|
$case->deleteCase($application->APP_UID, $_SESSION['USER_LOGGED']);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This checks the delete case
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\BusinessModel\Cases::deleteCase()
|
||||||
|
* @test
|
||||||
|
* @expectedException Exception
|
||||||
|
*/
|
||||||
|
public function it_should_not_delete_case_when_is_not_owner()
|
||||||
|
{
|
||||||
|
// Set the RBAC
|
||||||
|
global $RBAC;
|
||||||
|
$_SESSION['USER_LOGGED'] = '00000000000000000000000000000001';
|
||||||
|
$RBAC = RBAC::getSingleton(PATH_DATA, session_id());
|
||||||
|
$RBAC->initRBAC();
|
||||||
|
|
||||||
|
$application = factory(Application::class)->create(['APP_INIT_USER' => '00000000000000000000000000000002']);
|
||||||
|
// Tried to delete case
|
||||||
|
$case = new Cases();
|
||||||
|
$case->deleteCase($application->APP_UID, $_SESSION['USER_LOGGED']);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\src\ProcessMaker\BusinessModel;
|
||||||
|
|
||||||
|
use Faker\Factory;
|
||||||
|
use ProcessMaker\BusinessModel\Light;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class LightTest extends TestCase
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This verifies that the mobile_offline_tables_download_interval parameter
|
||||||
|
* is defined in the result returned by the getConfiguration() method.
|
||||||
|
*
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\BusinessModel\Light::getConfiguration
|
||||||
|
*/
|
||||||
|
public function it_should_return_mobile_offline_tables_download_interval_from_get_configuration_method()
|
||||||
|
{
|
||||||
|
$param = [
|
||||||
|
'fileLimit' => true,
|
||||||
|
'tz' => true,
|
||||||
|
];
|
||||||
|
$light = new Light();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* In the getConfiguration() method, the next section:
|
||||||
|
*
|
||||||
|
* $postMaxSize = $this->return_bytes(ini_get('post_max_size'));
|
||||||
|
* $uploadMaxFileSize = $this->return_bytes(ini_get('upload_max_filesize'));
|
||||||
|
* if ($postMaxSize < $uploadMaxFileSize) {
|
||||||
|
* $uploadMaxFileSize = $postMaxSize;
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* It can only be tested if you change the values of "post_max_size" and "upload_max_filesize"
|
||||||
|
* in php.ini, you can't use the ini_set() function.
|
||||||
|
* The mode change of these directives is "PHP_INI_PERDIR", where is entry can be
|
||||||
|
* set in php.ini, .htaccess, httpd.conf or .user.ini, see here:
|
||||||
|
* https://www.php.net/manual/es/ini.list.php
|
||||||
|
* https://www.php.net/manual/en/configuration.changes.modes.php
|
||||||
|
*/
|
||||||
|
$result = $light->getConfiguration($param);
|
||||||
|
|
||||||
|
$this->assertArrayHasKey('mobile_offline_tables_download_interval', $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This returns the value of mobile_offline_tables_download_interval
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\BusinessModel\Light::getConfiguration
|
||||||
|
*/
|
||||||
|
public function this_should_return_mobile_offline_tables_download_interval_inside_env()
|
||||||
|
{
|
||||||
|
$oldContent = "";
|
||||||
|
$path = PATH_CONFIG . "env.ini";
|
||||||
|
if (file_exists($path)) {
|
||||||
|
$oldContent = file_get_contents($path);
|
||||||
|
}
|
||||||
|
|
||||||
|
$expected = 30;
|
||||||
|
|
||||||
|
$content = "mobile_offline_tables_download_interval = {$expected};";
|
||||||
|
file_put_contents($path, $content);
|
||||||
|
|
||||||
|
$light = new Light();
|
||||||
|
$result = $light->getConfiguration([]);
|
||||||
|
$actual = $result['mobile_offline_tables_download_interval'];
|
||||||
|
|
||||||
|
file_put_contents($path, $oldContent);
|
||||||
|
|
||||||
|
$this->assertEquals($expected, $actual);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This returns the default value of mobile_offline_tables_download_interval.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\BusinessModel\Light::getConfiguration
|
||||||
|
*/
|
||||||
|
public function this_should_return_default_value_if_mobile_offline_tables_download_interval_inside_env_is_not_an_integer()
|
||||||
|
{
|
||||||
|
$oldContent = "";
|
||||||
|
$path = PATH_CONFIG . "env.ini";
|
||||||
|
if (file_exists($path)) {
|
||||||
|
$oldContent = file_get_contents($path);
|
||||||
|
}
|
||||||
|
|
||||||
|
$faker = $faker = Factory::create();
|
||||||
|
$alphanumeric = $faker->regexify('[A-Za-z0-9]{20}');
|
||||||
|
$content = "mobile_offline_tables_download_interval = '{$alphanumeric}';";
|
||||||
|
file_put_contents($path, $content);
|
||||||
|
|
||||||
|
$light = new Light();
|
||||||
|
$result = $light->getConfiguration([]);
|
||||||
|
$expected = (string) $result['mobile_offline_tables_download_interval'];
|
||||||
|
|
||||||
|
file_put_contents($path, $oldContent);
|
||||||
|
|
||||||
|
$this->assertTrue(ctype_digit($expected));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
namespace Tests\unit\workflow\engine\src\ProcessMaker\Core;
|
namespace Tests\unit\workflow\engine\src\ProcessMaker\Core;
|
||||||
|
|
||||||
|
use G;
|
||||||
|
use Faker\Factory;
|
||||||
use ProcessMaker\Core\System;
|
use ProcessMaker\Core\System;
|
||||||
use ProcessMaker\Model\EmailServerModel;
|
use ProcessMaker\Model\EmailServerModel;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
@@ -24,6 +26,8 @@ class SystemTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function it_should_init_laravel_configurations()
|
public function it_should_init_laravel_configurations()
|
||||||
{
|
{
|
||||||
|
$this->markTestIncomplete("@todo: Please correct this unit test");
|
||||||
|
|
||||||
$object = new System();
|
$object = new System();
|
||||||
$object->initLaravel();
|
$object->initLaravel();
|
||||||
|
|
||||||
@@ -59,4 +63,112 @@ class SystemTest extends TestCase
|
|||||||
$this->assertArrayHasKey('OAUTH_CLIENT_SECRET', $actual);
|
$this->assertArrayHasKey('OAUTH_CLIENT_SECRET', $actual);
|
||||||
$this->assertArrayHasKey('OAUTH_REFRESH_TOKEN', $actual);
|
$this->assertArrayHasKey('OAUTH_REFRESH_TOKEN', $actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It should return default system configuration parameters.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Core\System::getSystemConfiguration()
|
||||||
|
*/
|
||||||
|
public function it_should_return_default_system_configuration_parameters()
|
||||||
|
{
|
||||||
|
$result = System::getSystemConfiguration();
|
||||||
|
|
||||||
|
$this->assertArrayHasKey('server_hostname_requests_frontend', $result);
|
||||||
|
$this->assertArrayHasKey('disable_php_upload_execution', $result);
|
||||||
|
$this->assertArrayHasKey('mobile_offline_tables_download_interval', $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It should return default system configuration parameters without workspace.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Core\System::getSystemConfiguration()
|
||||||
|
*/
|
||||||
|
public function it_should_return_default_system_configuration_parameters_without_workspace()
|
||||||
|
{
|
||||||
|
config(["system.workspace" => '']);
|
||||||
|
putenv("REQUEST_URI=/sysworkflow");
|
||||||
|
|
||||||
|
$result = System::getSystemConfiguration();
|
||||||
|
|
||||||
|
$this->assertArrayHasKey('server_hostname_requests_frontend', $result);
|
||||||
|
$this->assertArrayHasKey('disable_php_upload_execution', $result);
|
||||||
|
$this->assertArrayHasKey('mobile_offline_tables_download_interval', $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It should return system configuration parameters defined inside env file.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Core\System::getSystemConfiguration()
|
||||||
|
*/
|
||||||
|
public function it_should_return_system_configuration_parameters_defined_inside_env_file()
|
||||||
|
{
|
||||||
|
$oldContent = "";
|
||||||
|
$path = PATH_CONFIG . "env.ini";
|
||||||
|
if (file_exists($path)) {
|
||||||
|
$oldContent = file_get_contents($path);
|
||||||
|
}
|
||||||
|
|
||||||
|
$expected = 30;
|
||||||
|
|
||||||
|
$content = "mobile_offline_tables_download_interval = {$expected};";
|
||||||
|
file_put_contents($path, $content);
|
||||||
|
|
||||||
|
$result = System::getSystemConfiguration();
|
||||||
|
$actual = $result['mobile_offline_tables_download_interval'];
|
||||||
|
|
||||||
|
file_put_contents($path, $oldContent);
|
||||||
|
|
||||||
|
$this->assertEquals($expected, $actual);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It should return default system configuration parameters defined inside env file when is not integer.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Core\System::getSystemConfiguration()
|
||||||
|
*/
|
||||||
|
public function it_should_return_default_system_configuration_parameters_defined_inside_env_file_when_is_not_an_integer()
|
||||||
|
{
|
||||||
|
$oldContent = "";
|
||||||
|
$path = PATH_CONFIG . "env.ini";
|
||||||
|
if (file_exists($path)) {
|
||||||
|
$oldContent = file_get_contents($path);
|
||||||
|
}
|
||||||
|
|
||||||
|
$faker = $faker = Factory::create();
|
||||||
|
$alphanumeric = $faker->regexify('[A-Za-z0-9]{20}');
|
||||||
|
$content = "mobile_offline_tables_download_interval = '{$alphanumeric}';";
|
||||||
|
file_put_contents($path, $content);
|
||||||
|
|
||||||
|
$result = System::getSystemConfiguration();
|
||||||
|
|
||||||
|
$expected = (string) $result['mobile_offline_tables_download_interval'];
|
||||||
|
|
||||||
|
file_put_contents($path, $oldContent);
|
||||||
|
|
||||||
|
$this->assertTrue(is_numeric($expected));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It should return proxy_pass defined inside env file.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Core\System::getSystemConfiguration()
|
||||||
|
*/
|
||||||
|
public function it_should_return_proxy_pass_defined_inside_env_file()
|
||||||
|
{
|
||||||
|
$oldContent = "";
|
||||||
|
$path = PATH_CONFIG . "env.ini";
|
||||||
|
if (file_exists($path)) {
|
||||||
|
$oldContent = file_get_contents($path);
|
||||||
|
}
|
||||||
|
|
||||||
|
$faker = $faker = Factory::create();
|
||||||
|
$content = "proxy_pass = '{$faker->password}';";
|
||||||
|
file_put_contents($path, $content);
|
||||||
|
|
||||||
|
$result = System::getSystemConfiguration();
|
||||||
|
|
||||||
|
file_put_contents($path, $oldContent);
|
||||||
|
|
||||||
|
$this->assertArrayHasKey("proxy_pass", $result);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,81 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\src\ProcessMaker\Model;
|
||||||
|
|
||||||
|
use ProcessMaker\Model\AdditionalTables;
|
||||||
|
use ProcessMaker\Model\Fields;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class AdditionalTablesTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Test belongs to ADD_TAB_UID
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\AdditionalTables::columns()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_has_a_columns_defined()
|
||||||
|
{
|
||||||
|
$table = factory(AdditionalTables::class)->create([
|
||||||
|
'ADD_TAB_UID' => function () {
|
||||||
|
return factory(Fields::class)->create()->ADD_TAB_UID;
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
$this->assertInstanceOf(Fields::class, $table->columns);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test scope query to get the offline tables
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\AdditionalTables::scopeOffline()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_filter_offline_table()
|
||||||
|
{
|
||||||
|
factory(AdditionalTables::class)->create(['ADD_TAB_OFFLINE' => 0]);
|
||||||
|
$table = factory(AdditionalTables::class)->create([
|
||||||
|
'ADD_TAB_OFFLINE' => 1
|
||||||
|
]);
|
||||||
|
$this->assertCount(1, $table->offline([$table->ADD_TAB_OFFLINE])->get());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test get the structure of offline tables
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\AdditionalTables::getTablesOfflineStructure()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_get_structure_from_offline_tables()
|
||||||
|
{
|
||||||
|
factory(Fields::class)->states('foreign_keys')->create();
|
||||||
|
$results = AdditionalTables::getTablesOfflineStructure();
|
||||||
|
$this->assertNotEmpty($results);
|
||||||
|
foreach ($results as $row) {
|
||||||
|
$this->assertArrayHasKey('add_tab_uid', $row);
|
||||||
|
$this->assertArrayHasKey('add_tab_name', $row);
|
||||||
|
$this->assertArrayHasKey('add_tab_description', $row);
|
||||||
|
$this->assertArrayHasKey('add_tab_class_name', $row);
|
||||||
|
$this->assertArrayHasKey('fields', $row);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test get the data of offline tables
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\AdditionalTables::getTablesOfflineData()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_get_data_from_offline_tables()
|
||||||
|
{
|
||||||
|
factory(Fields::class)->states('foreign_keys')->create();
|
||||||
|
$results = AdditionalTables::getTablesOfflineData();
|
||||||
|
$this->assertNotEmpty($results);
|
||||||
|
foreach ($results as $row) {
|
||||||
|
$this->assertArrayHasKey('add_tab_uid', $row);
|
||||||
|
$this->assertArrayHasKey('add_tab_name', $row);
|
||||||
|
$this->assertArrayHasKey('add_tab_description', $row);
|
||||||
|
$this->assertArrayHasKey('add_tab_class_name', $row);
|
||||||
|
$this->assertArrayHasKey('rows', $row);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\src\ProcessMaker\Model;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||||
|
use ProcessMaker\Model\Application;
|
||||||
|
use ProcessMaker\Model\Process;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class DelegationTest
|
||||||
|
*
|
||||||
|
* @coversDefaultClass \ProcessMaker\Model\Application
|
||||||
|
*/
|
||||||
|
class ApplicationTest extends TestCase
|
||||||
|
{
|
||||||
|
use DatabaseTransactions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This checks if return the columns used
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\Application::getByProUid()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_return_cases_by_process()
|
||||||
|
{
|
||||||
|
$process = factory(Process::class)->create();
|
||||||
|
factory(Application::class, 5)->create(['PRO_UID' => $process->PRO_UID]);
|
||||||
|
$cases = Application::getByProUid($process->PRO_UID);
|
||||||
|
foreach ($cases as $case) {
|
||||||
|
$this->assertEquals($case->PRO_UID, $process->PRO_UID);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This checks if return the columns used
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\Application::getCase()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_return_case_information()
|
||||||
|
{
|
||||||
|
$application = factory(Application::class)->create();
|
||||||
|
$result = Application::getCase($application->APP_UID);
|
||||||
|
$this->assertArrayHasKey('APP_STATUS', $result);
|
||||||
|
$this->assertArrayHasKey('APP_INIT_USER', $result);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\src\ProcessMaker\Model;
|
||||||
|
|
||||||
|
use ProcessMaker\Model\AdditionalTables;
|
||||||
|
use ProcessMaker\Model\Fields;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class FieldsTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Test belongs to ADD_TAB_UID
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\Fields::table()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_has_a_columns_defined()
|
||||||
|
{
|
||||||
|
$tableColumns = factory(Fields::class)->create([
|
||||||
|
'ADD_TAB_UID' => function () {
|
||||||
|
return factory(AdditionalTables::class)->create()->ADD_TAB_UID;
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
$this->assertInstanceOf(AdditionalTables::class, $tableColumns->table);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test scope and the query with a specific ADD_TAB_UID
|
||||||
|
*
|
||||||
|
* @covers \ProcessMaker\Model\Fields::scopeTable()
|
||||||
|
* @covers \ProcessMaker\Model\Fields::getFields()
|
||||||
|
* @test
|
||||||
|
*/
|
||||||
|
public function it_get_fields_from_specific_table()
|
||||||
|
{
|
||||||
|
$fields = factory(Fields::class)->create();
|
||||||
|
$result = Fields::getFields($fields->ADD_TAB_UID);
|
||||||
|
$this->assertNotEmpty($result);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -16,10 +16,14 @@ class BpmnWorkflowTest extends TestCase
|
|||||||
{
|
{
|
||||||
private $user;
|
private $user;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set up testing.
|
||||||
|
*/
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
$this->user = factory(User::class)->create();
|
$this->user = factory(User::class)->create();
|
||||||
|
Process::truncate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -158,6 +162,10 @@ class BpmnWorkflowTest extends TestCase
|
|||||||
'PRJ_NAME' => $projectData['prj_name']
|
'PRJ_NAME' => $projectData['prj_name']
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
factory(\ProcessMaker\Model\Process::class)->create([
|
||||||
|
'PRO_TITLE' => $projectData['prj_name']
|
||||||
|
]);
|
||||||
|
|
||||||
$this->expectException(Exception::class);
|
$this->expectException(Exception::class);
|
||||||
$bpmnWorkflow->createFromStruct($projectData, true, null);
|
$bpmnWorkflow->createFromStruct($projectData, true, null);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,128 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\unit\workflow\engine\src\ProcessMaker\Project;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
|
use Faker\Factory;
|
||||||
|
use G;
|
||||||
|
use ProcessMaker\Model\Dynaform;
|
||||||
|
use ProcessMaker\Model\Process;
|
||||||
|
use ProcessMaker\Model\WebEntry;
|
||||||
|
use ProcessMaker\Project\Workflow;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class WorkflowTest extends TestCase
|
||||||
|
{
|
||||||
|
private $workflow;
|
||||||
|
private $directories;
|
||||||
|
private $files;
|
||||||
|
private $faker;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method sets the values before starting any test.
|
||||||
|
*/
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
parent::setUp();
|
||||||
|
$this->workflow = new Workflow();
|
||||||
|
$this->directories = [];
|
||||||
|
$this->files = [];
|
||||||
|
$this->faker = Factory::create();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method is executed after each test.
|
||||||
|
*/
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
parent::tearDown();
|
||||||
|
foreach ($this->files as $value) {
|
||||||
|
unlink($value);
|
||||||
|
}
|
||||||
|
foreach ($this->directories as $value) {
|
||||||
|
rmdir($value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This test ensures that the getData method returns the correct data.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Project\Workflow::getData()
|
||||||
|
*/
|
||||||
|
public function it_should_return_the_data_when_the_project_id_is_valid()
|
||||||
|
{
|
||||||
|
$process = factory(Process::class)->create();
|
||||||
|
$dynaforms = factory(Dynaform::class, 5)->create([
|
||||||
|
'PRO_UID' => $process->PRO_UID
|
||||||
|
]);
|
||||||
|
factory(WebEntry::class, 5)->create([
|
||||||
|
'PRO_UID' => $process->PRO_UID
|
||||||
|
]);
|
||||||
|
|
||||||
|
//xmlForms
|
||||||
|
if (!is_dir(PATH_DYNAFORM)) {
|
||||||
|
mkdir(PATH_DYNAFORM);
|
||||||
|
}
|
||||||
|
$directory = PATH_DYNAFORM . $process->PRO_UID . "/";
|
||||||
|
$this->directories[] = $directory;
|
||||||
|
mkdir($directory);
|
||||||
|
foreach ($dynaforms as $dynaform) {
|
||||||
|
Dynaform::where('PRO_UID', $process->PRO_UID)
|
||||||
|
->where('DYN_UID', $dynaform->DYN_UID)
|
||||||
|
->update(['DYN_FILENAME' => $process->PRO_UID . '/' . $dynaform->DYN_UID]);
|
||||||
|
|
||||||
|
$dynUid = $dynaform->DYN_UID;
|
||||||
|
$data = '';
|
||||||
|
$filename = $directory . $dynUid . ".xml";
|
||||||
|
$this->files[] = $filename;
|
||||||
|
file_put_contents($filename, $data);
|
||||||
|
|
||||||
|
$filename = $directory . $dynUid . ".html";
|
||||||
|
$this->files[] = $filename;
|
||||||
|
file_put_contents($filename, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
//template
|
||||||
|
if (!is_dir(PATH_DATA_MAILTEMPLATES)) {
|
||||||
|
mkdir(PATH_DATA_MAILTEMPLATES);
|
||||||
|
}
|
||||||
|
$directory = PATH_DATA_MAILTEMPLATES . $process->PRO_UID;
|
||||||
|
$this->directories[] = $directory;
|
||||||
|
mkdir($directory);
|
||||||
|
|
||||||
|
$filename = $directory . "/test.html";
|
||||||
|
$this->files[] = $filename;
|
||||||
|
file_put_contents($filename, '');
|
||||||
|
|
||||||
|
//public files
|
||||||
|
if (!is_dir(PATH_DATA_PUBLIC)) {
|
||||||
|
mkdir(PATH_DATA_PUBLIC);
|
||||||
|
}
|
||||||
|
$directory = PATH_DATA_PUBLIC . $process->PRO_UID;
|
||||||
|
$this->directories[] = $directory;
|
||||||
|
mkdir($directory);
|
||||||
|
|
||||||
|
$filename = $directory . "/wsClient.php";
|
||||||
|
$this->files[] = $filename;
|
||||||
|
file_put_contents($filename, '');
|
||||||
|
|
||||||
|
$actual = $this->workflow->getData($process->PRO_UID);
|
||||||
|
|
||||||
|
$this->assertCount(2, $actual);
|
||||||
|
$this->assertArrayHasKey('process', $actual[0]);
|
||||||
|
$this->assertArrayHasKey('DYNAFORMS', $actual[1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This test should throw an exception when the parameter is not correct.
|
||||||
|
* @test
|
||||||
|
* @covers \ProcessMaker\Project\Workflow::getData()
|
||||||
|
*/
|
||||||
|
public function it_should_throw_exception_when_get_data_is_failed()
|
||||||
|
{
|
||||||
|
$proUid = $this->faker->regexify("/[a-zA-Z]{32}/");
|
||||||
|
|
||||||
|
$this->expectException(Exception::class);
|
||||||
|
$actual = $this->workflow->getData($proUid);
|
||||||
|
}
|
||||||
|
}
|
||||||
2
thirdparty/pear/DB.php
vendored
2
thirdparty/pear/DB.php
vendored
@@ -610,7 +610,7 @@ class DB
|
|||||||
$parsed['dbsyntax'] = $str;
|
$parsed['dbsyntax'] = $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!count($dsn)) {
|
if (!is_string($dsn)) {
|
||||||
return $parsed;
|
return $parsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
thirdparty/phing/types/Path.php
vendored
2
thirdparty/phing/types/Path.php
vendored
@@ -318,7 +318,7 @@ class Path extends DataType {
|
|||||||
try {
|
try {
|
||||||
$element .= self::resolveFile($project, $pathElement);
|
$element .= self::resolveFile($project, $pathElement);
|
||||||
} catch (BuildException $e) {
|
} catch (BuildException $e) {
|
||||||
$this->project->log("Dropping path element " . $pathElement
|
self::$project->log("Dropping path element " . $pathElement
|
||||||
. " as it is not valid relative to the project",
|
. " as it is not valid relative to the project",
|
||||||
PROJECT_MSG_VERBOSE);
|
PROJECT_MSG_VERBOSE);
|
||||||
}
|
}
|
||||||
|
|||||||
2
thirdparty/phing/util/StringHelper.php
vendored
2
thirdparty/phing/util/StringHelper.php
vendored
@@ -106,7 +106,7 @@ class StringHelper {
|
|||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public static function hashCode($string) {
|
public static function hashCode($string) {
|
||||||
return $this->encryptCrc32($string);
|
return self::encryptCrc32($string);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -190,7 +190,11 @@ CREATE TABLE ".$this->quoteIdentifier($table->getName())."
|
|||||||
|
|
||||||
foreach ($table->getIndices() as $index ) {
|
foreach ($table->getIndices() as $index ) {
|
||||||
$vendor = $index->getVendorSpecificInfo();
|
$vendor = $index->getVendorSpecificInfo();
|
||||||
$lines[] .= (($vendor && $vendor['Index_type'] == 'FULLTEXT') ? 'FULLTEXT ' : '') . "KEY " . $this->quoteIdentifier($index->getName()) . "(" . $this->getIndexColumnList($index) . ")";
|
$word = "KEY ";
|
||||||
|
if (!empty($index->getIndexType())) {
|
||||||
|
$word = $index->getIndexType() . " ";
|
||||||
|
}
|
||||||
|
$lines[] .= (($vendor && $vendor['Index_type'] == 'FULLTEXT') ? 'FULLTEXT ' : '') . $word . $this->quoteIdentifier($index->getName()) . "(" . $this->getIndexColumnList($index) . ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,6 +45,12 @@ class Index extends XMLElement {
|
|||||||
/** @var array */
|
/** @var array */
|
||||||
private $indexColumnSizes = array();
|
private $indexColumnSizes = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Index type of this column.
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $indexType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new instance with default characteristics (no name or
|
* Creates a new instance with default characteristics (no name or
|
||||||
* parent table, small column list size allocation, non-unique).
|
* parent table, small column list size allocation, non-unique).
|
||||||
@@ -192,6 +198,9 @@ class Index extends XMLElement {
|
|||||||
if (isset($attrib["size"])) {
|
if (isset($attrib["size"])) {
|
||||||
$this->indexColumnSizes[$name] = $attrib["size"];
|
$this->indexColumnSizes[$name] = $attrib["size"];
|
||||||
}
|
}
|
||||||
|
if (!empty($attrib["indexType"])) {
|
||||||
|
$this->indexType = $attrib["indexType"];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -273,4 +282,13 @@ class Index extends XMLElement {
|
|||||||
$result .= " </index>\n";
|
$result .= " </index>\n";
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the index type of this column.
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getIndexType()
|
||||||
|
{
|
||||||
|
return $this->indexType;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ class PhpNameGenerator implements NameGenerator {
|
|||||||
{
|
{
|
||||||
$name = "";
|
$name = "";
|
||||||
$tok = strtok($schemaName, self::STD_SEPARATOR_CHAR);
|
$tok = strtok($schemaName, self::STD_SEPARATOR_CHAR);
|
||||||
while($tok) {
|
while($tok !== false) {
|
||||||
$name .= ucfirst(strtolower($tok));
|
$name .= ucfirst(strtolower($tok));
|
||||||
$tok = strtok(self::STD_SEPARATOR_CHAR);
|
$tok = strtok(self::STD_SEPARATOR_CHAR);
|
||||||
}
|
}
|
||||||
@@ -110,7 +110,7 @@ class PhpNameGenerator implements NameGenerator {
|
|||||||
{
|
{
|
||||||
$name = "";
|
$name = "";
|
||||||
$tok = strtok($schemaName, self::STD_SEPARATOR_CHAR);
|
$tok = strtok($schemaName, self::STD_SEPARATOR_CHAR);
|
||||||
while($tok) {
|
while($tok !== false) {
|
||||||
$name .= ucfirst($tok);
|
$name .= ucfirst($tok);
|
||||||
$tok = strtok(self::STD_SEPARATOR_CHAR);
|
$tok = strtok(self::STD_SEPARATOR_CHAR);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ include_once 'phing/system/io/FileReader.php';
|
|||||||
* @version $Revision: 536 $
|
* @version $Revision: 536 $
|
||||||
* @package propel.engine.database.transform
|
* @package propel.engine.database.transform
|
||||||
*/
|
*/
|
||||||
class XmlToAppData extends AbstractHandler {
|
class XmlToAppData extends AbstractHandler
|
||||||
|
{
|
||||||
/** enables debug output */
|
/** enables debug output */
|
||||||
const DEBUG = false;
|
const DEBUG = false;
|
||||||
|
|
||||||
@@ -53,19 +53,17 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
private $currUnique;
|
private $currUnique;
|
||||||
private $currValidator;
|
private $currValidator;
|
||||||
private $currVendorObject;
|
private $currVendorObject;
|
||||||
|
|
||||||
private $isForReferenceOnly;
|
private $isForReferenceOnly;
|
||||||
private $currentPackage;
|
private $currentPackage;
|
||||||
private $currentXmlFile;
|
private $currentXmlFile;
|
||||||
private $defaultPackage;
|
private $defaultPackage;
|
||||||
|
|
||||||
private $encoding;
|
private $encoding;
|
||||||
|
|
||||||
/** two-dimensional array,
|
/** two-dimensional array,
|
||||||
first dimension is for schemas(key is the path to the schema file),
|
* first dimension is for schemas(key is the path to the schema file),
|
||||||
second is for tags within the schema */
|
* second is for tags within the schema
|
||||||
|
*/
|
||||||
private $schemasTagsStack = array();
|
private $schemasTagsStack = array();
|
||||||
|
|
||||||
public $parser;
|
public $parser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -142,7 +140,8 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
* qualified names are not available.
|
* qualified names are not available.
|
||||||
* @param string $attributes The specified or defaulted attributes
|
* @param string $attributes The specified or defaulted attributes
|
||||||
*/
|
*/
|
||||||
public function startElement($name, $attributes) {
|
public function startElement($name, $attributes)
|
||||||
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
@@ -165,7 +164,6 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ($parentTag == "database") {
|
} elseif ($parentTag == "database") {
|
||||||
|
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
@@ -208,7 +206,6 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ($parentTag == "table") {
|
} elseif ($parentTag == "table") {
|
||||||
|
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
@@ -224,6 +221,10 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
$this->currIndex = $this->currTable->addIndex($attributes);
|
$this->currIndex = $this->currTable->addIndex($attributes);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "fulltext":
|
||||||
|
$this->currIndex = $this->currTable->addIndex($attributes);
|
||||||
|
break;
|
||||||
|
|
||||||
case "unique":
|
case "unique":
|
||||||
$this->currUnique = $this->currTable->addUnique($attributes);
|
$this->currUnique = $this->currTable->addUnique($attributes);
|
||||||
break;
|
break;
|
||||||
@@ -243,7 +244,6 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ($parentTag == "column") {
|
} elseif ($parentTag == "column") {
|
||||||
|
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
@@ -258,7 +258,6 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ($parentTag == "foreign-key") {
|
} elseif ($parentTag == "foreign-key") {
|
||||||
|
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
@@ -273,7 +272,6 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ($parentTag == "index") {
|
} elseif ($parentTag == "index") {
|
||||||
|
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
@@ -288,7 +286,20 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
} elseif ($parentTag == "fulltext") {
|
||||||
|
|
||||||
|
switch ($name) {
|
||||||
|
case "index-column":
|
||||||
|
$attributes['indexType'] = "FULLTEXT";
|
||||||
|
$this->currIndex->addColumn($attributes);
|
||||||
|
break;
|
||||||
|
case "vendor":
|
||||||
|
$this->currVendorObject = new ObjectWithVendorSpecificData($this->currIndex, $attributes['type']);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
$this->_throwInvalidTagException($name);
|
||||||
|
}
|
||||||
} elseif ($parentTag == "unique") {
|
} elseif ($parentTag == "unique") {
|
||||||
|
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
@@ -323,14 +334,12 @@ class XmlToAppData extends AbstractHandler {
|
|||||||
default:
|
default:
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// it must be an invalid tag
|
// it must be an invalid tag
|
||||||
$this->_throwInvalidTagException($name);
|
$this->_throwInvalidTagException($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->pushCurrentSchemaTag($name);
|
$this->pushCurrentSchemaTag($name);
|
||||||
|
|
||||||
} catch (BuildException $e) {
|
} catch (BuildException $e) {
|
||||||
throw $e;
|
throw $e;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ PHP class or method name.
|
|||||||
note: the interface="true", requires that useManagers=true in the
|
note: the interface="true", requires that useManagers=true in the
|
||||||
properties file.
|
properties file.
|
||||||
-->
|
-->
|
||||||
<!ELEMENT table (column+,(foreign-key|index|unique|id-method-parameter|validator|vendor)*)>
|
<!ELEMENT table (column+,(foreign-key|index|fulltext|unique|id-method-parameter|validator|vendor)*)>
|
||||||
<!ATTLIST table
|
<!ATTLIST table
|
||||||
name CDATA #REQUIRED
|
name CDATA #REQUIRED
|
||||||
phpName CDATA #IMPLIED
|
phpName CDATA #IMPLIED
|
||||||
@@ -122,6 +122,11 @@ PHP class or method name.
|
|||||||
name CDATA #IMPLIED
|
name CDATA #IMPLIED
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<!ELEMENT fulltext (index-column+)>
|
||||||
|
<!ATTLIST fulltext
|
||||||
|
name CDATA #IMPLIED
|
||||||
|
>
|
||||||
|
|
||||||
<!ELEMENT index-column (vendor*)>
|
<!ELEMENT index-column (vendor*)>
|
||||||
<!ATTLIST index-column
|
<!ATTLIST index-column
|
||||||
name CDATA #REQUIRED
|
name CDATA #REQUIRED
|
||||||
|
|||||||
@@ -225,6 +225,14 @@
|
|||||||
<xs:attribute name="name" type="index_name" use="optional"/>
|
<xs:attribute name="name" type="index_name" use="optional"/>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="fulltext">
|
||||||
|
<xs:choice maxOccurs="unbounded">
|
||||||
|
<xs:element name="index-column" type="index-column" minOccurs="1" maxOccurs="unbounded"/>
|
||||||
|
<xs:element ref="vendor" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
|
</xs:choice>
|
||||||
|
<xs:attribute name="name" type="index_name" use="optional"/>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="unique">
|
<xs:complexType name="unique">
|
||||||
<xs:choice maxOccurs="unbounded">
|
<xs:choice maxOccurs="unbounded">
|
||||||
<xs:element name="unique-column" type="unique-column" minOccurs="1" maxOccurs="unbounded"/>
|
<xs:element name="unique-column" type="unique-column" minOccurs="1" maxOccurs="unbounded"/>
|
||||||
@@ -307,6 +315,7 @@
|
|||||||
<xs:element name="column" type="column" maxOccurs="unbounded"/>
|
<xs:element name="column" type="column" maxOccurs="unbounded"/>
|
||||||
<xs:element name="foreign-key" type="foreign-key" minOccurs="0" maxOccurs="unbounded"/>
|
<xs:element name="foreign-key" type="foreign-key" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
<xs:element name="index" type="index" minOccurs="0" maxOccurs="unbounded"/>
|
<xs:element name="index" type="index" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
|
<xs:element name="fulltext" type="fulltext" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
<xs:element name="unique" type="unique" minOccurs="0" maxOccurs="unbounded"/>
|
<xs:element name="unique" type="unique" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
<xs:element name="id-method-parameter" type="id-method-parameter" minOccurs="0" maxOccurs="unbounded"/>
|
<xs:element name="id-method-parameter" type="id-method-parameter" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
<xs:element name="validator" type="validator" minOccurs="0" maxOccurs="unbounded"/>
|
<xs:element name="validator" type="validator" minOccurs="0" maxOccurs="unbounded"/>
|
||||||
|
|||||||
@@ -101,6 +101,7 @@
|
|||||||
<xsl:apply-templates select='column'/>
|
<xsl:apply-templates select='column'/>
|
||||||
<xsl:apply-templates select='foreign-key'/>
|
<xsl:apply-templates select='foreign-key'/>
|
||||||
<xsl:apply-templates select='index'/>
|
<xsl:apply-templates select='index'/>
|
||||||
|
<xsl:apply-templates select='fulltext'/>
|
||||||
<xsl:apply-templates select='unique'/>
|
<xsl:apply-templates select='unique'/>
|
||||||
<xsl:apply-templates select='id-method-parameter'/>
|
<xsl:apply-templates select='id-method-parameter'/>
|
||||||
<xsl:apply-templates select='validator'/>
|
<xsl:apply-templates select='validator'/>
|
||||||
@@ -129,6 +130,13 @@
|
|||||||
</index>
|
</index>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match='fulltext'>
|
||||||
|
<fulltext>
|
||||||
|
<xsl:apply-templates select='@*'/>
|
||||||
|
<xsl:apply-templates select='index-column'/>
|
||||||
|
</fulltext>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match='unique'>
|
<xsl:template match='unique'>
|
||||||
<unique>
|
<unique>
|
||||||
<xsl:apply-templates select='@*'/>
|
<xsl:apply-templates select='@*'/>
|
||||||
|
|||||||
341
thirdparty/tcpdf/2dbarcodes.php
vendored
341
thirdparty/tcpdf/2dbarcodes.php
vendored
@@ -1,341 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : 2dbarcodes.php
|
|
||||||
// Version : 1.0.014
|
|
||||||
// Begin : 2009-04-07
|
|
||||||
// Last Update : 2012-04-30
|
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - info@tecnick.com
|
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
// Copyright (C) 2009-2012 Nicola Asuni - Tecnick.com LTD
|
|
||||||
//
|
|
||||||
// This file is part of TCPDF software library.
|
|
||||||
//
|
|
||||||
// TCPDF is free software: you can redistribute it and/or modify it
|
|
||||||
// under the terms of the GNU Lesser General Public License as
|
|
||||||
// published by the Free Software Foundation, either version 3 of the
|
|
||||||
// License, or (at your option) any later version.
|
|
||||||
//
|
|
||||||
// TCPDF is distributed in the hope that it will be useful, but
|
|
||||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
// See the GNU Lesser General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Lesser General Public License
|
|
||||||
// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// See LICENSE.TXT file for more information.
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Description : PHP class to creates array representations for
|
|
||||||
// 2D barcodes to be used with TCPDF.
|
|
||||||
//
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @file
|
|
||||||
* PHP class to creates array representations for 2D barcodes to be used with TCPDF.
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @version 1.0.014
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @class TCPDF2DBarcode
|
|
||||||
* PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @version 1.0.014
|
|
||||||
* @author Nicola Asuni
|
|
||||||
*/
|
|
||||||
class TCPDF2DBarcode {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Array representation of barcode.
|
|
||||||
* @protected
|
|
||||||
*/
|
|
||||||
protected $barcode_array = false;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is the class constructor.
|
|
||||||
* Return an array representations for 2D barcodes:<ul>
|
|
||||||
* <li>$arrcode['code'] code to be printed on text label</li>
|
|
||||||
* <li>$arrcode['num_rows'] required number of rows</li>
|
|
||||||
* <li>$arrcode['num_cols'] required number of columns</li>
|
|
||||||
* <li>$arrcode['bcode'][$r][$c] value of the cell is $r row and $c column (0 = transparent, 1 = black)</li></ul>
|
|
||||||
* @param $code (string) code to print
|
|
||||||
* @param $type (string) type of barcode: <ul><li>DATAMATRIX : Datamatrix (ISO/IEC 16022)</li><li>PDF417 : PDF417 (ISO/IEC 15438:2006)</li><li>PDF417,a,e,t,s,f,o0,o1,o2,o3,o4,o5,o6 : PDF417 with parameters: a = aspect ratio (width/height); e = error correction level (0-8); t = total number of macro segments; s = macro segment index (0-99998); f = file ID; o0 = File Name (text); o1 = Segment Count (numeric); o2 = Time Stamp (numeric); o3 = Sender (text); o4 = Addressee (text); o5 = File Size (numeric); o6 = Checksum (numeric). NOTES: Parameters t, s and f are required for a Macro Control Block, all other parametrs are optional. To use a comma character ',' on text options, replace it with the character 255: "\xff".</li><li>QRCODE : QRcode Low error correction</li><li>QRCODE,L : QRcode Low error correction</li><li>QRCODE,M : QRcode Medium error correction</li><li>QRCODE,Q : QRcode Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li><li>RAW: raw mode - comma-separad list of array rows</li><li>RAW2: raw mode - array rows are surrounded by square parenthesis.</li><li>TEST : Test matrix</li></ul>
|
|
||||||
*/
|
|
||||||
public function __construct($code, $type) {
|
|
||||||
$this->setBarcode($code, $type);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return an array representations of barcode.
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function getBarcodeArray() {
|
|
||||||
return $this->barcode_array;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Send barcode as SVG image object to the standard output.
|
|
||||||
* @param $w (int) Width of a single rectangle element in user units.
|
|
||||||
* @param $h (int) Height of a single rectangle element in user units.
|
|
||||||
* @param $color (string) Foreground color (in SVG format) for bar elements (background is transparent).
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
public function getBarcodeSVG($w=3, $h=3, $color='black') {
|
|
||||||
if(!class_exists('G')){
|
|
||||||
$realdocuroot = str_replace( '\\', '/', $_SERVER['DOCUMENT_ROOT'] );
|
|
||||||
$docuroot = explode( '/', $realdocuroot );
|
|
||||||
array_pop( $docuroot );
|
|
||||||
$pathhome = implode( '/', $docuroot ) . '/';
|
|
||||||
array_pop( $docuroot );
|
|
||||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
|
||||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
|
||||||
}
|
|
||||||
// send headers
|
|
||||||
$code = $this->getBarcodeSVGcode($w, $h, $color);
|
|
||||||
header('Content-Type: application/svg+xml');
|
|
||||||
header('Cache-Control: public, must-revalidate, max-age=0'); // HTTP/1.1
|
|
||||||
header('Pragma: public');
|
|
||||||
header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); // Date in the past
|
|
||||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
|
||||||
header('Content-Disposition: inline; filename="'.G::encryptOld($code).'.svg";');
|
|
||||||
//header('Content-Length: '.strlen($code));
|
|
||||||
echo $code;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return a SVG string representation of barcode.
|
|
||||||
* @param $w (int) Width of a single rectangle element in user units.
|
|
||||||
* @param $h (int) Height of a single rectangle element in user units.
|
|
||||||
* @param $color (string) Foreground color (in SVG format) for bar elements (background is transparent).
|
|
||||||
* @return string SVG code.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
public function getBarcodeSVGcode($w=3, $h=3, $color='black') {
|
|
||||||
// replace table for special characters
|
|
||||||
$repstr = array("\0" => '', '&' => '&', '<' => '<', '>' => '>');
|
|
||||||
$svg = '<'.'?'.'xml version="1.0" standalone="no"'.'?'.'>'."\n";
|
|
||||||
$svg .= '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'."\n";
|
|
||||||
$svg .= '<svg width="'.round(($this->barcode_array['num_cols'] * $w), 3).'" height="'.round(($this->barcode_array['num_rows'] * $h), 3).'" version="1.1" xmlns="http://www.w3.org/2000/svg">'."\n";
|
|
||||||
$svg .= "\t".'<desc>'.strtr($this->barcode_array['code'], $repstr).'</desc>'."\n";
|
|
||||||
$svg .= "\t".'<g id="elements" fill="'.$color.'" stroke="none">'."\n";
|
|
||||||
// print barcode elements
|
|
||||||
$y = 0;
|
|
||||||
// for each row
|
|
||||||
for ($r = 0; $r < $this->barcode_array['num_rows']; ++$r) {
|
|
||||||
$x = 0;
|
|
||||||
// for each column
|
|
||||||
for ($c = 0; $c < $this->barcode_array['num_cols']; ++$c) {
|
|
||||||
if ($this->barcode_array['bcode'][$r][$c] == 1) {
|
|
||||||
// draw a single barcode cell
|
|
||||||
$svg .= "\t\t".'<rect x="'.$x.'" y="'.$y.'" width="'.$w.'" height="'.$h.'" />'."\n";
|
|
||||||
}
|
|
||||||
$x += $w;
|
|
||||||
}
|
|
||||||
$y += $h;
|
|
||||||
}
|
|
||||||
$svg .= "\t".'</g>'."\n";
|
|
||||||
$svg .= '</svg>'."\n";
|
|
||||||
return $svg;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return an HTML representation of barcode.
|
|
||||||
* @param $w (int) Width of a single rectangle element in pixels.
|
|
||||||
* @param $h (int) Height of a single rectangle element in pixels.
|
|
||||||
* @param $color (string) Foreground color for bar elements (background is transparent).
|
|
||||||
* @return string HTML code.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
public function getBarcodeHTML($w=10, $h=10, $color='black') {
|
|
||||||
$html = '<div style="font-size:0;position:relative;width:'.($w * $this->barcode_array['num_cols']).'px;height:'.($h * $this->barcode_array['num_rows']).'px;">'."\n";
|
|
||||||
// print barcode elements
|
|
||||||
$y = 0;
|
|
||||||
// for each row
|
|
||||||
for ($r = 0; $r < $this->barcode_array['num_rows']; ++$r) {
|
|
||||||
$x = 0;
|
|
||||||
// for each column
|
|
||||||
for ($c = 0; $c < $this->barcode_array['num_cols']; ++$c) {
|
|
||||||
if ($this->barcode_array['bcode'][$r][$c] == 1) {
|
|
||||||
// draw a single barcode cell
|
|
||||||
$html .= '<div style="background-color:'.$color.';width:'.$w.'px;height:'.$h.'px;position:absolute;left:'.$x.'px;top:'.$y.'px;"> </div>'."\n";
|
|
||||||
}
|
|
||||||
$x += $w;
|
|
||||||
}
|
|
||||||
$y += $h;
|
|
||||||
}
|
|
||||||
$html .= '</div>'."\n";
|
|
||||||
return $html;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return a PNG image representation of barcode (requires GD or Imagick library).
|
|
||||||
* @param $w (int) Width of a single rectangle element in pixels.
|
|
||||||
* @param $h (int) Height of a single rectangle element in pixels.
|
|
||||||
* @param $color (array) RGB (0-255) foreground color for bar elements (background is transparent).
|
|
||||||
* @return image or false in case of error.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
public function getBarcodePNG($w=3, $h=3, $color=array(0,0,0)) {
|
|
||||||
// calculate image size
|
|
||||||
$width = ($this->barcode_array['num_cols'] * $w);
|
|
||||||
$height = ($this->barcode_array['num_rows'] * $h);
|
|
||||||
if (function_exists('imagecreate')) {
|
|
||||||
// GD library
|
|
||||||
$imagick = false;
|
|
||||||
$png = imagecreate($width, $height);
|
|
||||||
$bgcol = imagecolorallocate($png, 255, 255, 255);
|
|
||||||
imagecolortransparent($png, $bgcol);
|
|
||||||
$fgcol = imagecolorallocate($png, $color[0], $color[1], $color[2]);
|
|
||||||
} elseif (extension_loaded('imagick')) {
|
|
||||||
$imagick = true;
|
|
||||||
$bgcol = new imagickpixel('rgb(255,255,255');
|
|
||||||
$fgcol = new imagickpixel('rgb('.$color[0].','.$color[1].','.$color[2].')');
|
|
||||||
$png = new Imagick();
|
|
||||||
$png->newImage($width, $height, 'none', 'png');
|
|
||||||
$bar = new imagickdraw();
|
|
||||||
$bar->setfillcolor($fgcol);
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// print barcode elements
|
|
||||||
$y = 0;
|
|
||||||
// for each row
|
|
||||||
for ($r = 0; $r < $this->barcode_array['num_rows']; ++$r) {
|
|
||||||
$x = 0;
|
|
||||||
// for each column
|
|
||||||
for ($c = 0; $c < $this->barcode_array['num_cols']; ++$c) {
|
|
||||||
if ($this->barcode_array['bcode'][$r][$c] == 1) {
|
|
||||||
// draw a single barcode cell
|
|
||||||
if ($imagick) {
|
|
||||||
$bar->rectangle($x, $y, ($x + $w - 1), ($y + $h - 1));
|
|
||||||
} else {
|
|
||||||
imagefilledrectangle($png, $x, $y, ($x + $w - 1), ($y + $h - 1), $fgcol);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$x += $w;
|
|
||||||
}
|
|
||||||
$y += $h;
|
|
||||||
}
|
|
||||||
// send headers
|
|
||||||
header('Content-Type: image/png');
|
|
||||||
header('Cache-Control: public, must-revalidate, max-age=0'); // HTTP/1.1
|
|
||||||
header('Pragma: public');
|
|
||||||
header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); // Date in the past
|
|
||||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
|
||||||
if ($imagick) {
|
|
||||||
$png->drawimage($bar);
|
|
||||||
echo $png;
|
|
||||||
} else {
|
|
||||||
imagepng($png);
|
|
||||||
imagedestroy($png);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the barcode.
|
|
||||||
* @param $code (string) code to print
|
|
||||||
* @param $type (string) type of barcode: <ul><li>DATAMATRIX : Datamatrix (ISO/IEC 16022)</li><li>PDF417 : PDF417 (ISO/IEC 15438:2006)</li><li>PDF417,a,e,t,s,f,o0,o1,o2,o3,o4,o5,o6 : PDF417 with parameters: a = aspect ratio (width/height); e = error correction level (0-8); t = total number of macro segments; s = macro segment index (0-99998); f = file ID; o0 = File Name (text); o1 = Segment Count (numeric); o2 = Time Stamp (numeric); o3 = Sender (text); o4 = Addressee (text); o5 = File Size (numeric); o6 = Checksum (numeric). NOTES: Parameters t, s and f are required for a Macro Control Block, all other parametrs are optional. To use a comma character ',' on text options, replace it with the character 255: "\xff".</li><li>QRCODE : QRcode Low error correction</li><li>QRCODE,L : QRcode Low error correction</li><li>QRCODE,M : QRcode Medium error correction</li><li>QRCODE,Q : QRcode Better error correction</li><li>QRCODE,H : QR-CODE Best error correction</li><li>RAW: raw mode - comma-separad list of array rows</li><li>RAW2: raw mode - array rows are surrounded by square parenthesis.</li><li>TEST : Test matrix</li></ul>
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function setBarcode($code, $type) {
|
|
||||||
$mode = explode(',', $type);
|
|
||||||
$qrtype = strtoupper($mode[0]);
|
|
||||||
switch ($qrtype) {
|
|
||||||
case 'DATAMATRIX': { // DATAMATRIX (ISO/IEC 16022)
|
|
||||||
require_once(dirname(__FILE__).'/datamatrix.php');
|
|
||||||
$qrcode = new Datamatrix($code);
|
|
||||||
$this->barcode_array = $qrcode->getBarcodeArray();
|
|
||||||
$this->barcode_array['code'] = $code;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 'PDF417': { // PDF417 (ISO/IEC 15438:2006)
|
|
||||||
require_once(dirname(__FILE__).'/pdf417.php');
|
|
||||||
if (!isset($mode[1]) OR ($mode[1] === '')) {
|
|
||||||
$aspectratio = 2; // default aspect ratio (width / height)
|
|
||||||
} else {
|
|
||||||
$aspectratio = floatval($mode[1]);
|
|
||||||
}
|
|
||||||
if (!isset($mode[2]) OR ($mode[2] === '')) {
|
|
||||||
$ecl = -1; // default error correction level (auto)
|
|
||||||
} else {
|
|
||||||
$ecl = intval($mode[2]);
|
|
||||||
}
|
|
||||||
// set macro block
|
|
||||||
$macro = array();
|
|
||||||
if (isset($mode[3]) AND ($mode[3] !== '') AND isset($mode[4]) AND ($mode[4] !== '') AND isset($mode[5]) AND ($mode[5] !== '')) {
|
|
||||||
$macro['segment_total'] = intval($mode[3]);
|
|
||||||
$macro['segment_index'] = intval($mode[4]);
|
|
||||||
$macro['file_id'] = strtr($mode[5], "\xff", ',');
|
|
||||||
for ($i = 0; $i < 7; ++$i) {
|
|
||||||
$o = $i + 6;
|
|
||||||
if (isset($mode[$o]) AND ($mode[$o] !== '')) {
|
|
||||||
// add option
|
|
||||||
$macro['option_'.$i] = strtr($mode[$o], "\xff", ',');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$qrcode = new PDF417($code, $ecl, $aspectratio, $macro);
|
|
||||||
$this->barcode_array = $qrcode->getBarcodeArray();
|
|
||||||
$this->barcode_array['code'] = $code;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 'QRCODE': { // QR-CODE
|
|
||||||
require_once(dirname(__FILE__).'/qrcode.php');
|
|
||||||
if (!isset($mode[1]) OR (!in_array($mode[1],array('L','M','Q','H')))) {
|
|
||||||
$mode[1] = 'L'; // Ddefault: Low error correction
|
|
||||||
}
|
|
||||||
$qrcode = new QRcode($code, strtoupper($mode[1]));
|
|
||||||
$this->barcode_array = $qrcode->getBarcodeArray();
|
|
||||||
$this->barcode_array['code'] = $code;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 'RAW':
|
|
||||||
case 'RAW2': { // RAW MODE
|
|
||||||
// remove spaces
|
|
||||||
$code = preg_replace('/[\s]*/si', '', $code);
|
|
||||||
if (strlen($code) < 3) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if ($qrtype == 'RAW') {
|
|
||||||
// comma-separated rows
|
|
||||||
$rows = explode(',', $code);
|
|
||||||
} else { // RAW2
|
|
||||||
// rows enclosed in square parentheses
|
|
||||||
$code = substr($code, 1, -1);
|
|
||||||
$rows = explode('][', $code);
|
|
||||||
}
|
|
||||||
$this->barcode_array['num_rows'] = count($rows);
|
|
||||||
$this->barcode_array['num_cols'] = strlen($rows[0]);
|
|
||||||
$this->barcode_array['bcode'] = array();
|
|
||||||
foreach ($rows as $r) {
|
|
||||||
$this->barcode_array['bcode'][] = str_split($r, 1);
|
|
||||||
}
|
|
||||||
$this->barcode_array['code'] = $code;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 'TEST': { // TEST MODE
|
|
||||||
$this->barcode_array['num_rows'] = 5;
|
|
||||||
$this->barcode_array['num_cols'] = 15;
|
|
||||||
$this->barcode_array['bcode'] = array(
|
|
||||||
array(1,1,1,0,1,1,1,0,1,1,1,0,1,1,1),
|
|
||||||
array(0,1,0,0,1,0,0,0,1,0,0,0,0,1,0),
|
|
||||||
array(0,1,0,0,1,1,0,0,1,1,1,0,0,1,0),
|
|
||||||
array(0,1,0,0,1,0,0,0,0,0,1,0,0,1,0),
|
|
||||||
array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0));
|
|
||||||
$this->barcode_array['code'] = $code;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
$this->barcode_array = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} // end of class
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
2458
thirdparty/tcpdf/CHANGELOG.TXT
vendored
2458
thirdparty/tcpdf/CHANGELOG.TXT
vendored
File diff suppressed because it is too large
Load Diff
858
thirdparty/tcpdf/LICENSE.TXT
vendored
858
thirdparty/tcpdf/LICENSE.TXT
vendored
@@ -1,858 +0,0 @@
|
|||||||
**********************************************************************
|
|
||||||
* TCPDF LICENSE
|
|
||||||
**********************************************************************
|
|
||||||
|
|
||||||
TCPDF is free software: you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU Lesser General Public License as
|
|
||||||
published by the Free Software Foundation, either version 3 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
**********************************************************************
|
|
||||||
**********************************************************************
|
|
||||||
|
|
||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
|
|
||||||
This version of the GNU Lesser General Public License incorporates
|
|
||||||
the terms and conditions of version 3 of the GNU General Public
|
|
||||||
License, supplemented by the additional permissions listed below.
|
|
||||||
|
|
||||||
0. Additional Definitions.
|
|
||||||
|
|
||||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
||||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
||||||
General Public License.
|
|
||||||
|
|
||||||
"The Library" refers to a covered work governed by this License,
|
|
||||||
other than an Application or a Combined Work as defined below.
|
|
||||||
|
|
||||||
An "Application" is any work that makes use of an interface provided
|
|
||||||
by the Library, but which is not otherwise based on the Library.
|
|
||||||
Defining a subclass of a class defined by the Library is deemed a mode
|
|
||||||
of using an interface provided by the Library.
|
|
||||||
|
|
||||||
A "Combined Work" is a work produced by combining or linking an
|
|
||||||
Application with the Library. The particular version of the Library
|
|
||||||
with which the Combined Work was made is also called the "Linked
|
|
||||||
Version".
|
|
||||||
|
|
||||||
The "Minimal Corresponding Source" for a Combined Work means the
|
|
||||||
Corresponding Source for the Combined Work, excluding any source code
|
|
||||||
for portions of the Combined Work that, considered in isolation, are
|
|
||||||
based on the Application, and not on the Linked Version.
|
|
||||||
|
|
||||||
The "Corresponding Application Code" for a Combined Work means the
|
|
||||||
object code and/or source code for the Application, including any data
|
|
||||||
and utility programs needed for reproducing the Combined Work from the
|
|
||||||
Application, but excluding the System Libraries of the Combined Work.
|
|
||||||
|
|
||||||
1. Exception to Section 3 of the GNU GPL.
|
|
||||||
|
|
||||||
You may convey a covered work under sections 3 and 4 of this License
|
|
||||||
without being bound by section 3 of the GNU GPL.
|
|
||||||
|
|
||||||
2. Conveying Modified Versions.
|
|
||||||
|
|
||||||
If you modify a copy of the Library, and, in your modifications, a
|
|
||||||
facility refers to a function or data to be supplied by an Application
|
|
||||||
that uses the facility (other than as an argument passed when the
|
|
||||||
facility is invoked), then you may convey a copy of the modified
|
|
||||||
version:
|
|
||||||
|
|
||||||
a) under this License, provided that you make a good faith effort to
|
|
||||||
ensure that, in the event an Application does not supply the
|
|
||||||
function or data, the facility still operates, and performs
|
|
||||||
whatever part of its purpose remains meaningful, or
|
|
||||||
|
|
||||||
b) under the GNU GPL, with none of the additional permissions of
|
|
||||||
this License applicable to that copy.
|
|
||||||
|
|
||||||
3. Object Code Incorporating Material from Library Header Files.
|
|
||||||
|
|
||||||
The object code form of an Application may incorporate material from
|
|
||||||
a header file that is part of the Library. You may convey such object
|
|
||||||
code under terms of your choice, provided that, if the incorporated
|
|
||||||
material is not limited to numerical parameters, data structure
|
|
||||||
layouts and accessors, or small macros, inline functions and templates
|
|
||||||
(ten or fewer lines in length), you do both of the following:
|
|
||||||
|
|
||||||
a) Give prominent notice with each copy of the object code that the
|
|
||||||
Library is used in it and that the Library and its use are
|
|
||||||
covered by this License.
|
|
||||||
|
|
||||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
||||||
document.
|
|
||||||
|
|
||||||
4. Combined Works.
|
|
||||||
|
|
||||||
You may convey a Combined Work under terms of your choice that,
|
|
||||||
taken together, effectively do not restrict modification of the
|
|
||||||
portions of the Library contained in the Combined Work and reverse
|
|
||||||
engineering for debugging such modifications, if you also do each of
|
|
||||||
the following:
|
|
||||||
|
|
||||||
a) Give prominent notice with each copy of the Combined Work that
|
|
||||||
the Library is used in it and that the Library and its use are
|
|
||||||
covered by this License.
|
|
||||||
|
|
||||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
||||||
document.
|
|
||||||
|
|
||||||
c) For a Combined Work that displays copyright notices during
|
|
||||||
execution, include the copyright notice for the Library among
|
|
||||||
these notices, as well as a reference directing the user to the
|
|
||||||
copies of the GNU GPL and this license document.
|
|
||||||
|
|
||||||
d) Do one of the following:
|
|
||||||
|
|
||||||
0) Convey the Minimal Corresponding Source under the terms of this
|
|
||||||
License, and the Corresponding Application Code in a form
|
|
||||||
suitable for, and under terms that permit, the user to
|
|
||||||
recombine or relink the Application with a modified version of
|
|
||||||
the Linked Version to produce a modified Combined Work, in the
|
|
||||||
manner specified by section 6 of the GNU GPL for conveying
|
|
||||||
Corresponding Source.
|
|
||||||
|
|
||||||
1) Use a suitable shared library mechanism for linking with the
|
|
||||||
Library. A suitable mechanism is one that (a) uses at run time
|
|
||||||
a copy of the Library already present on the user's computer
|
|
||||||
system, and (b) will operate properly with a modified version
|
|
||||||
of the Library that is interface-compatible with the Linked
|
|
||||||
Version.
|
|
||||||
|
|
||||||
e) Provide Installation Information, but only if you would otherwise
|
|
||||||
be required to provide such information under section 6 of the
|
|
||||||
GNU GPL, and only to the extent that such information is
|
|
||||||
necessary to install and execute a modified version of the
|
|
||||||
Combined Work produced by recombining or relinking the
|
|
||||||
Application with a modified version of the Linked Version. (If
|
|
||||||
you use option 4d0, the Installation Information must accompany
|
|
||||||
the Minimal Corresponding Source and Corresponding Application
|
|
||||||
Code. If you use option 4d1, you must provide the Installation
|
|
||||||
Information in the manner specified by section 6 of the GNU GPL
|
|
||||||
for conveying Corresponding Source.)
|
|
||||||
|
|
||||||
5. Combined Libraries.
|
|
||||||
|
|
||||||
You may place library facilities that are a work based on the
|
|
||||||
Library side by side in a single library together with other library
|
|
||||||
facilities that are not Applications and are not covered by this
|
|
||||||
License, and convey such a combined library under terms of your
|
|
||||||
choice, if you do both of the following:
|
|
||||||
|
|
||||||
a) Accompany the combined library with a copy of the same work based
|
|
||||||
on the Library, uncombined with any other library facilities,
|
|
||||||
conveyed under the terms of this License.
|
|
||||||
|
|
||||||
b) Give prominent notice with the combined library that part of it
|
|
||||||
is a work based on the Library, and explaining where to find the
|
|
||||||
accompanying uncombined form of the same work.
|
|
||||||
|
|
||||||
6. Revised Versions of the GNU Lesser General Public License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions
|
|
||||||
of the GNU Lesser General Public License from time to time. Such new
|
|
||||||
versions will be similar in spirit to the present version, but may
|
|
||||||
differ in detail to address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Library as you received it specifies that a certain numbered version
|
|
||||||
of the GNU Lesser General Public License "or any later version"
|
|
||||||
applies to it, you have the option of following the terms and
|
|
||||||
conditions either of that published version or of any later version
|
|
||||||
published by the Free Software Foundation. If the Library as you
|
|
||||||
received it does not specify a version number of the GNU Lesser
|
|
||||||
General Public License, you may choose any version of the GNU Lesser
|
|
||||||
General Public License ever published by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Library as you received it specifies that a proxy can decide
|
|
||||||
whether future versions of the GNU Lesser General Public License shall
|
|
||||||
apply, that proxy's public statement of acceptance of any version is
|
|
||||||
permanent authorization for you to choose that version for the
|
|
||||||
Library.
|
|
||||||
|
|
||||||
**********************************************************************
|
|
||||||
**********************************************************************
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
|
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
|
||||||
that there is no warranty for this free software. For both users' and
|
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
|
||||||
authors of previous versions.
|
|
||||||
|
|
||||||
Some devices are designed to deny users access to install or run
|
|
||||||
modified versions of the software inside them, although the manufacturer
|
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
|
||||||
protecting users' freedom to change the software. The systematic
|
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
|
||||||
products. If such problems arise substantially in other domains, we
|
|
||||||
stand ready to extend this provision to those domains in future versions
|
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
|
||||||
Finally, every program is threatened constantly by software patents.
|
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
|
||||||
patents cannot be used to render the program non-free.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
|
||||||
notice like this when it starts in an interactive mode:
|
|
||||||
|
|
||||||
<program> Copyright (C) <year> <name of author>
|
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, your program's commands
|
|
||||||
might be different; for a GUI interface, you would use an "about box".
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
|
||||||
<http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
|
||||||
may consider it more useful to permit linking proprietary applications with
|
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License. But first, please read
|
|
||||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
||||||
|
|
||||||
**********************************************************************
|
|
||||||
**********************************************************************
|
|
||||||
97
thirdparty/tcpdf/README.TXT
vendored
97
thirdparty/tcpdf/README.TXT
vendored
@@ -1,97 +0,0 @@
|
|||||||
TCPDF - README
|
|
||||||
============================================================
|
|
||||||
|
|
||||||
I WISH TO IMPROVE AND EXPAND TCPDF BUT I NEED YOUR SUPPORT.
|
|
||||||
PLEASE MAKE A DONATION:
|
|
||||||
http://sourceforge.net/donate/index.php?group_id=128076
|
|
||||||
|
|
||||||
------------------------------------------------------------
|
|
||||||
|
|
||||||
Name: TCPDF
|
|
||||||
Version: 5.9.195
|
|
||||||
Release date: 2012-10-24
|
|
||||||
Author: Nicola Asuni
|
|
||||||
|
|
||||||
Copyright (c) 2002-2012:
|
|
||||||
Nicola Asuni
|
|
||||||
Tecnick.com LTD
|
|
||||||
Manor Coach House, Church Hill
|
|
||||||
Aldershot, Hants, GU12 4RQ
|
|
||||||
UK
|
|
||||||
www.tecnick.com
|
|
||||||
|
|
||||||
URLs:
|
|
||||||
http: www.tcpdf.org
|
|
||||||
http: www.sourceforge.net/projects/tcpdf
|
|
||||||
|
|
||||||
Description:
|
|
||||||
TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions.
|
|
||||||
|
|
||||||
Main Features:
|
|
||||||
* no external libraries are required for the basic functions;
|
|
||||||
* all standard page formats, custom page formats, custom margins and units of measure;
|
|
||||||
* UTF-8 Unicode and Right-To-Left languages;
|
|
||||||
* TrueTypeUnicode, OpenTypeUnicode v1, TrueType, OpenType v1, Type1 and CID-0 fonts;
|
|
||||||
* font subsetting;
|
|
||||||
* methods to publish some XHTML + CSS code, Javascript and Forms;
|
|
||||||
* images, graphic (geometric figures) and transformation methods;
|
|
||||||
* supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http: www.imagemagick.org/www/formats.html)
|
|
||||||
* 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, Datamatrix, QR-Code, PDF417;
|
|
||||||
* JPEG and PNG ICC profiles, Grayscale, RGB, CMYK, Spot Colors and Transparencies;
|
|
||||||
* automatic page header and footer management;
|
|
||||||
* document encryption up to 256 bit and digital signature certifications;
|
|
||||||
* transactions to UNDO commands;
|
|
||||||
* PDF annotations, including links, text and file attachments;
|
|
||||||
* text rendering modes (fill, stroke and clipping);
|
|
||||||
* multiple columns mode;
|
|
||||||
* no-write page regions;
|
|
||||||
* bookmarks, named destinations and table of content;
|
|
||||||
* text hyphenation;
|
|
||||||
* text stretching and spacing (tracking);
|
|
||||||
* automatic page break, line break and text alignments including justification;
|
|
||||||
* automatic page numbering and page groups;
|
|
||||||
* move and delete pages;
|
|
||||||
* page compression (requires php-zlib extension);
|
|
||||||
* XOBject Templates;
|
|
||||||
* Layers and object visibility.
|
|
||||||
* PDF/A-1b support.
|
|
||||||
|
|
||||||
Installation (full instructions on http: www.tcpdf.org):
|
|
||||||
1. copy the folder on your Web server
|
|
||||||
2. set your installation path and other parameters on the config/tcpdf_config.php
|
|
||||||
3. call the examples/example_001.php page with your browser to see an example
|
|
||||||
|
|
||||||
Source Code Documentation:
|
|
||||||
http://www.tcpdf.org
|
|
||||||
|
|
||||||
Additional Documentation:
|
|
||||||
http://www.tcpdf.org
|
|
||||||
|
|
||||||
License
|
|
||||||
Copyright (C) 2002-2012 Nicola Asuni - Tecnick.com LTD
|
|
||||||
|
|
||||||
TCPDF is free software: you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU Lesser General Public License as
|
|
||||||
published by the Free Software Foundation, either version 3 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
TCPDF is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
See the GNU Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the License
|
|
||||||
along with TCPDF. If not, see
|
|
||||||
<http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT>.
|
|
||||||
|
|
||||||
See LICENSE.TXT file for more information.
|
|
||||||
|
|
||||||
Third party fonts
|
|
||||||
This library includes third party font files released with different licenses.
|
|
||||||
These fonts are not required by TCPDF but have been included as you convenience.
|
|
||||||
The original TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files).
|
|
||||||
To get the original distribution archives please check the information on fonts subfolders:
|
|
||||||
- DejaVu fonts 2.33 (Bitstream) - Copyright, License and other info: fonts/dejavu-fonts-ttf-2.33
|
|
||||||
- GNU FreeFont (GNU-GPLv3) - Copyright, License and other info: fonts/freefont-20100919
|
|
||||||
|
|
||||||
============================================================
|
|
||||||
2301
thirdparty/tcpdf/barcodes.php
vendored
2301
thirdparty/tcpdf/barcodes.php
vendored
File diff suppressed because it is too large
Load Diff
38
thirdparty/tcpdf/composer.json
vendored
38
thirdparty/tcpdf/composer.json
vendored
@@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "tecnick.com/tcpdf",
|
|
||||||
"version": "5.9.195",
|
|
||||||
"homepage": "http://www.tcpdf.org/",
|
|
||||||
"type": "library",
|
|
||||||
"description": "TCPDF is a PHP class for generating PDF documents.",
|
|
||||||
"keywords": ["pdf","tcpdf","PDFD32000-2008","qrcode","datamatrix","pdf417","barcodes"],
|
|
||||||
"license": "LGPLv3",
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Nicola Asuni",
|
|
||||||
"email": "info@tecnick.com",
|
|
||||||
"homepage": "http://nicolaasuni.tecnick.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.0"
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"classmap": [
|
|
||||||
"fonts",
|
|
||||||
"config/lang",
|
|
||||||
"config",
|
|
||||||
"2dbarcodes.php",
|
|
||||||
"barcodes.php",
|
|
||||||
"datamatrix.php",
|
|
||||||
"encodings_maps.php",
|
|
||||||
"htmlcolors.php",
|
|
||||||
"pdf417.php",
|
|
||||||
"qrcode.php",
|
|
||||||
"spotcolors.php",
|
|
||||||
"tcpdf.php",
|
|
||||||
"tcpdf_filters.php",
|
|
||||||
"tcpdf_parser.php",
|
|
||||||
"unicode_data.php"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
47
thirdparty/tcpdf/config/lang/afr.php
vendored
47
thirdparty/tcpdf/config/lang/afr.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : afr.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Afrikaans
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Afrikaans
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Afrikaans
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'af';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'bladsy';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ara.php
vendored
47
thirdparty/tcpdf/config/lang/ara.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ara.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Arabic
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Arabic
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Arabic
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'rtl';
|
|
||||||
$l['a_meta_language'] = 'ar';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'صفحة';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/aze.php
vendored
47
thirdparty/tcpdf/config/lang/aze.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : aze.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Azerbaijani
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Azerbaijani
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Azerbaijani
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'az';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'səhifə';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/bel.php
vendored
47
thirdparty/tcpdf/config/lang/bel.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : bel.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Basque
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Basque
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Basque
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'be';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'старонкі';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/bra.php
vendored
47
thirdparty/tcpdf/config/lang/bra.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : eng.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Brazilian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Brazilian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Brazilian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'pt';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'página';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/bul.php
vendored
47
thirdparty/tcpdf/config/lang/bul.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : bul.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-03-22
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Arabic
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Bulgarian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2012-03-22
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Bulgarian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'bg';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'страница';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/cat.php
vendored
47
thirdparty/tcpdf/config/lang/cat.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : cat.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Catalan
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Catalan
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Catalan
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ca';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'pàgina';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ces.php
vendored
47
thirdparty/tcpdf/config/lang/ces.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ces.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-11-22
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Czech
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Czech
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Czech
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'cs';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'stránka';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/chi.php
vendored
47
thirdparty/tcpdf/config/lang/chi.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : chi.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Chinese (Simplified)
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Chinese (Simplified)
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Chinese (Simplified)
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'cn';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = '页面';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/cym.php
vendored
47
thirdparty/tcpdf/config/lang/cym.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : urd.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Welsh
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Welsh
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Welsh
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'cy';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'tudalen';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/dan.php
vendored
47
thirdparty/tcpdf/config/lang/dan.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : dan.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Danish
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Danish
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Danish
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'da';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'side';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/eng.php
vendored
47
thirdparty/tcpdf/config/lang/eng.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : eng.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// English
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: English
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// English
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'en';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'page';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/est.php
vendored
47
thirdparty/tcpdf/config/lang/est.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : est.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Estonian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Estonian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Estonian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'et';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'lehekülg';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/eus.php
vendored
47
thirdparty/tcpdf/config/lang/eus.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : eus.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Basque
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Basque
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Basque
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'eu';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'Orrialdearen';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/far.php
vendored
47
thirdparty/tcpdf/config/lang/far.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : far.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Farsi
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Farsi
|
|
||||||
* @author Sina Saeedi
|
|
||||||
* @since 2011-04-12
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Farsi
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'rtl';
|
|
||||||
$l['a_meta_language'] = 'fa';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'صفحه';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/fra.php
vendored
47
thirdparty/tcpdf/config/lang/fra.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : fra.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// French
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: French
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// French
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'fr';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'page';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ger.php
vendored
47
thirdparty/tcpdf/config/lang/ger.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ger.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-11-16
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// German
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: German
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// German
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'de';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'Seite';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/gle.php
vendored
47
thirdparty/tcpdf/config/lang/gle.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ind.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Irish
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Irish
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Irish
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ga';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'leathanach';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/glg.php
vendored
47
thirdparty/tcpdf/config/lang/glg.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : glg.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Galician
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Galician
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Galician
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'gl';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'Páxina';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/hat.php
vendored
47
thirdparty/tcpdf/config/lang/hat.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : hat.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Haitian Creole
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Haitian Creole
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Haitian Creole
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ht';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'paj';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/heb.php
vendored
47
thirdparty/tcpdf/config/lang/heb.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : heb.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Hebrew
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Hebrew
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Hebrew
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'rtl';
|
|
||||||
$l['a_meta_language'] = 'he';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'מקור:';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/hrv.php
vendored
47
thirdparty/tcpdf/config/lang/hrv.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : hrv.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Croatian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Croatian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Croatian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'hr';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'stranica';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/hun.php
vendored
47
thirdparty/tcpdf/config/lang/hun.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : hun.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Hungarian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Hungarian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Hungarian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'hu';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'oldal';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/hye.php
vendored
47
thirdparty/tcpdf/config/lang/hye.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : hye.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Armenian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Armenian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Armenian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'hy';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'էջ';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ind.php
vendored
47
thirdparty/tcpdf/config/lang/ind.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ind.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Indonesian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Indonesian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Indonesian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'id';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'halaman';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ita.php
vendored
47
thirdparty/tcpdf/config/lang/ita.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ita.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Italian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Italian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Italian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'it';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'pagina';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/jpn.php
vendored
47
thirdparty/tcpdf/config/lang/jpn.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : jpn.php
|
|
||||||
// Begin : 2011-01-24
|
|
||||||
// Last Update : 2011-01-24
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Japanese
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni - Translation by redcocker
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Japanese
|
|
||||||
* @author Nicola Asuni - Translation by redcocker
|
|
||||||
* @since 2012-01-24
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Japanese
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ja';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'ページ';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/kat.php
vendored
47
thirdparty/tcpdf/config/lang/kat.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : kat.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Georgian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Georgian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Georgian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ka';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'გვერდი';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/kor.php
vendored
47
thirdparty/tcpdf/config/lang/kor.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : kor.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Korean
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Korean
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Korean
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ko';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = '페이지';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/mkd.php
vendored
47
thirdparty/tcpdf/config/lang/mkd.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : mkd.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Macedonian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Macedonian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Macedonian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'mk';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'страница';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/mlt.php
vendored
47
thirdparty/tcpdf/config/lang/mlt.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : mlt.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Maltese
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Maltese
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Maltese
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'mt';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'paġna';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/msa.php
vendored
47
thirdparty/tcpdf/config/lang/msa.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : msa.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Malay
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Malay
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Malay
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ms';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'laman';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/nld.php
vendored
47
thirdparty/tcpdf/config/lang/nld.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : nld.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Dutch
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Dutch
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Dutch
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'nl';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'pagina';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/nob.php
vendored
47
thirdparty/tcpdf/config/lang/nob.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : nob.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Norwegian Bokmål
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Norwegian Bokmål
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Norwegian Bokmål
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'nb';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'side';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/pol.php
vendored
47
thirdparty/tcpdf/config/lang/pol.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : pol.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Polish
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Polish
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Polish
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'pl';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'strona';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/por.php
vendored
47
thirdparty/tcpdf/config/lang/por.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : por.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Portuguese
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Portuguese
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Portuguese
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'pt';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'página';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ron.php
vendored
47
thirdparty/tcpdf/config/lang/ron.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ron.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Romanian, Moldavian, Moldovan
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Romanian, Moldavian, Moldovan
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Romanian, Moldavian, Moldovan
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ro';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'pagina';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/rus.php
vendored
47
thirdparty/tcpdf/config/lang/rus.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : rus.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2012-07-25
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Russian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Russian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Russian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ru';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'страница';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/slv.php
vendored
47
thirdparty/tcpdf/config/lang/slv.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : slv.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Slovene
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Slovene
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Slovene
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'sl';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'stran';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/spa.php
vendored
47
thirdparty/tcpdf/config/lang/spa.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : spa.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Spanish; Castilian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Spanish; Castilian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Spanish; Castilian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'es';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'página';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/sqi.php
vendored
47
thirdparty/tcpdf/config/lang/sqi.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : sqi.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Albanian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Albanian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Albanian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'sq';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'faqe';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/srp.php
vendored
47
thirdparty/tcpdf/config/lang/srp.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : srp.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Serbian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Serbian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Serbian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'sr';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'страна';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/swa.php
vendored
47
thirdparty/tcpdf/config/lang/swa.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : swa.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Swahili
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Swahili
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Swahili
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'sw';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'ukurasa';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/swe.php
vendored
47
thirdparty/tcpdf/config/lang/swe.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : swe.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Swedish
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Swedish
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Swedish
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'sv';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'sida';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/ukr.php
vendored
47
thirdparty/tcpdf/config/lang/ukr.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : ukr.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2012-07-25
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Ukrainian
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Ukrainian
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Russian
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'ua';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'сторінка';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/urd.php
vendored
47
thirdparty/tcpdf/config/lang/urd.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : urd.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Urdu
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Urdu
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Urdu
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'rtl';
|
|
||||||
$l['a_meta_language'] = 'ur';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'صفحہ';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/yid.php
vendored
47
thirdparty/tcpdf/config/lang/yid.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : yid.php
|
|
||||||
// Begin : 2004-03-03
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Welsh
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Welsh
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2004-03-03
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Welsh
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'rtl';
|
|
||||||
$l['a_meta_language'] = 'yi';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = 'זייַט';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
47
thirdparty/tcpdf/config/lang/zho.php
vendored
47
thirdparty/tcpdf/config/lang/zho.php
vendored
@@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
//============================================================+
|
|
||||||
// File name : zho.php
|
|
||||||
// Begin : 2010-10-26
|
|
||||||
// Last Update : 2010-10-26
|
|
||||||
//
|
|
||||||
// Description : Language module for TCPDF
|
|
||||||
// (contains translated texts)
|
|
||||||
// Chinese
|
|
||||||
//
|
|
||||||
// Author: Nicola Asuni
|
|
||||||
//
|
|
||||||
// (c) Copyright:
|
|
||||||
// Nicola Asuni
|
|
||||||
// Tecnick.com LTD
|
|
||||||
// Manor Coach House, Church Hill
|
|
||||||
// Aldershot, Hants, GU12 4RQ
|
|
||||||
// UK
|
|
||||||
// www.tecnick.com
|
|
||||||
// info@tecnick.com
|
|
||||||
//============================================================+
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TCPDF language file (contains translated texts).
|
|
||||||
* @package com.tecnick.tcpdf
|
|
||||||
* @brief TCPDF language file: Chinese
|
|
||||||
* @author Nicola Asuni
|
|
||||||
* @since 2010-10-26
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Chinese
|
|
||||||
|
|
||||||
global $l;
|
|
||||||
$l = Array();
|
|
||||||
|
|
||||||
// PAGE META DESCRIPTORS --------------------------------------
|
|
||||||
|
|
||||||
$l['a_meta_charset'] = 'UTF-8';
|
|
||||||
$l['a_meta_dir'] = 'ltr';
|
|
||||||
$l['a_meta_language'] = 'zh';
|
|
||||||
|
|
||||||
// TRANSLATIONS --------------------------------------
|
|
||||||
$l['w_page'] = '頁面';
|
|
||||||
|
|
||||||
//============================================================+
|
|
||||||
// END OF FILE
|
|
||||||
//============================================================+
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user