Compare commits
24 Commits
v23.0.0.OS
...
v26.6.0.OS
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a4d895592 | ||
|
|
c05e815c17 | ||
|
|
6e77aa99c4 | ||
|
|
fd99ea299e | ||
|
|
c3344b99fa | ||
|
|
ca58e75556 | ||
|
|
bf43ed8730 | ||
|
|
b922a48141 | ||
|
|
26e55e8644 | ||
|
|
af9b9119ef | ||
|
|
afa345f374 | ||
|
|
a3d6430102 | ||
|
|
e625f6013a | ||
|
|
577ed9938f | ||
|
|
2ade4d9a4a | ||
|
|
a55c56215a | ||
|
|
16014bb38e | ||
|
|
a75325fb52 | ||
|
|
9cee4e91df | ||
|
|
8b276d54e6 | ||
|
|
f23856d70a | ||
|
|
fde94aa7fa | ||
|
|
025a8283ab | ||
|
|
51e3569501 |
27
.gitignore
vendored
27
.gitignore
vendored
@@ -1,12 +1,17 @@
|
|||||||
/.settings
|
.settings
|
||||||
/.buildpath
|
.buildpath
|
||||||
/.project
|
.project
|
||||||
/.idea/
|
.idea/
|
||||||
/build
|
build
|
||||||
/deployment/clients/dev/data/
|
deployment/clients/dev/data/
|
||||||
/deployment/clients/test/data/
|
deployment/clients/test/data/
|
||||||
/deployment/clients/local/data/
|
deployment/clients/local/data/
|
||||||
/.vagrant
|
.vagrant
|
||||||
/app/config.php
|
app/config.php
|
||||||
/app/data/*
|
app/data/*
|
||||||
|
cache.properties
|
||||||
|
node_modules/*
|
||||||
|
web/dist/*.map
|
||||||
|
web/admin/dist/*.map
|
||||||
|
web/modules/dist/*.map
|
||||||
.gitkeep
|
.gitkeep
|
||||||
|
|||||||
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@@ -21,9 +21,8 @@ Vagrant.configure(2) do |config|
|
|||||||
config.vm.hostname = "icehrm.open"
|
config.vm.hostname = "icehrm.open"
|
||||||
|
|
||||||
config.hostsupdater.aliases = [
|
config.hostsupdater.aliases = [
|
||||||
"app.dev",
|
"app.icehrm-open.test",
|
||||||
"app.app.dev",
|
"clients.icehrm-open.test"
|
||||||
"clients.app.dev"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
64
build.xml
64
build.xml
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project name="icehrm-pro" default="build">
|
<project name="icehrm" default="build">
|
||||||
<!-- By default, we assume all tools to be on the $PATH -->
|
<!-- By default, we assume all tools to be on the $PATH -->
|
||||||
<property name="toolsdir" value="${basedir}/tools/"/>
|
<property name="toolsdir" value="${basedir}/tools/"/>
|
||||||
<property name="destination" value="${basedir}/build/app"/>
|
<property name="destination" value="${basedir}/build/app"/>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<property name="installpath" value="/var/www/apps.gamonoid.com/icehrm-open-core"/>
|
<property name="installpath" value="/var/www/apps.gamonoid.com/icehrm-open-core"/>
|
||||||
|
|
||||||
<target name="build-ci"
|
<target name="build-ci"
|
||||||
depends="prepare,lint,phpcs,copyapp,phpunit"
|
depends="prepare,lint,phpcs-ci"
|
||||||
description=""/>
|
description=""/>
|
||||||
|
|
||||||
<target name="build"
|
<target name="build"
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
description=""/>
|
description=""/>
|
||||||
|
|
||||||
<target name="buildlocal"
|
<target name="buildlocal"
|
||||||
depends="prepare,lint,phpcs,copyapp,phpunit"
|
depends="prepare,lint,phpcs,copyapp"
|
||||||
description=""/>
|
description=""/>
|
||||||
|
|
||||||
<target name="releaseapp"
|
<target name="releaseapp"
|
||||||
depends="prepare,lint,copyapp,phpunit,release"
|
depends="prepare,lint,copyapp,release"
|
||||||
description=""/>
|
description=""/>
|
||||||
|
|
||||||
<target name="clean"
|
<target name="clean"
|
||||||
@@ -80,7 +80,6 @@
|
|||||||
<exec executable="${toolsdir}phploc">
|
<exec executable="${toolsdir}phploc">
|
||||||
<arg value="--count-tests" />
|
<arg value="--count-tests" />
|
||||||
<arg path="${basedir}/core/src" />
|
<arg path="${basedir}/core/src" />
|
||||||
<arg path="${basedir}/test" />
|
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@@ -94,7 +93,6 @@
|
|||||||
<arg value="--log-xml" />
|
<arg value="--log-xml" />
|
||||||
<arg path="${basedir}/build/logs/phploc.xml" />
|
<arg path="${basedir}/build/logs/phploc.xml" />
|
||||||
<arg path="${basedir}/core/src" />
|
<arg path="${basedir}/core/src" />
|
||||||
<arg path="${basedir}/test" />
|
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@@ -137,15 +135,13 @@
|
|||||||
<arg value="--extensions=php" />
|
<arg value="--extensions=php" />
|
||||||
<arg value="--ignore=autoload.php" />
|
<arg value="--ignore=autoload.php" />
|
||||||
<arg path="${basedir}/core/src" />
|
<arg path="${basedir}/core/src" />
|
||||||
<arg path="${basedir}/test/unit" />
|
|
||||||
<arg path="${basedir}/test/integration" />
|
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="phpcs-ci"
|
<target name="phpcs-ci"
|
||||||
depends="prepare"
|
depends="prepare"
|
||||||
description="Find coding standard violations using PHP_CodeSniffer and log result in XML format. Intended for usage within a continuous integration environment.">
|
description="Find coding standard violations using PHP_CodeSniffer and log result in XML format. Intended for usage within a continuous integration environment.">
|
||||||
<exec executable="${toolsdir}phpcs" output="/dev/null">
|
<exec executable="${toolsdir}phpcs" failonerror="true">
|
||||||
<arg value="--report=checkstyle" />
|
<arg value="--report=checkstyle" />
|
||||||
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
|
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
|
||||||
<arg value="--standard=PSR2" />
|
<arg value="--standard=PSR2" />
|
||||||
@@ -181,12 +177,41 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="phpunit-sa"
|
||||||
|
description="Run unit tests with PHPUnit">
|
||||||
|
<exec executable="${toolsdir}phpunit" failonerror="true">
|
||||||
|
<arg value="--configuration"/>
|
||||||
|
<arg path="${basedir}/phpunit.xml"/>
|
||||||
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="phpdox"
|
<target name="phpdox"
|
||||||
depends=""
|
depends=""
|
||||||
description="Generate project documentation using phpDox">
|
description="Generate project documentation using phpDox">
|
||||||
<exec executable="${toolsdir}phpdox"/>
|
<exec executable="${toolsdir}phpdox"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="copyjs"
|
||||||
|
description="Copy generated assets">
|
||||||
|
|
||||||
|
<delete includeemptydirs="true">
|
||||||
|
<fileset dir="${destination}">
|
||||||
|
<include name="web/admin/dist/**"/>
|
||||||
|
<include name="web/modules/dist/**"/>
|
||||||
|
<include name="web/dist/**"/>
|
||||||
|
</fileset>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<copy todir="${destination}" overwrite="true">
|
||||||
|
<fileset dir="${origin}">
|
||||||
|
<include name="web/admin/dist/**"/>
|
||||||
|
<include name="web/modules/dist/**"/>
|
||||||
|
<include name="web/dist/**"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="copyapp"
|
<target name="copyapp"
|
||||||
description="Copy generated files to QA app">
|
description="Copy generated files to QA app">
|
||||||
|
|
||||||
@@ -196,11 +221,16 @@
|
|||||||
</fileset>
|
</fileset>
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<copy todir="${destination}" overwrite="true">
|
<copy todir="${destination}" overwrite="true">
|
||||||
<fileset dir="${origin}">
|
<fileset dir="${origin}">
|
||||||
<include name="**/*"/>
|
<include name="**/*"/>
|
||||||
</fileset>
|
<exclude name="node_modules/**"/>
|
||||||
</copy>
|
<exclude name="web/admin/src/**"/>
|
||||||
|
<exclude name="web/modules/src/**"/>
|
||||||
|
<exclude name="web/api/**"/>
|
||||||
|
<exclude name="web/api-common/**"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
|
||||||
<delete includeemptydirs="true">
|
<delete includeemptydirs="true">
|
||||||
<fileset dir="${destination}">
|
<fileset dir="${destination}">
|
||||||
@@ -219,6 +249,9 @@
|
|||||||
<include name="cache.properties"/>
|
<include name="cache.properties"/>
|
||||||
<include name="phpdox.xml"/>
|
<include name="phpdox.xml"/>
|
||||||
<include name="phpunit.xml"/>
|
<include name="phpunit.xml"/>
|
||||||
|
<include name="web/admin/dist/*.map"/>
|
||||||
|
<include name="web/modules/dist/*.map"/>
|
||||||
|
<include name="web/dist/*.map"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
@@ -277,8 +310,5 @@
|
|||||||
<gzip destfile="${basedir}/build/release/${env.appname}_${env.Version}.tar.gz" src="${basedir}/build/release/${env.appname}_${env.Version}.tar"/>
|
<gzip destfile="${basedir}/build/release/${env.appname}_${env.Version}.tar.gz" src="${basedir}/build/release/${env.appname}_${env.Version}.tar"/>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|||||||
244
cache.properties
244
cache.properties
@@ -1,244 +0,0 @@
|
|||||||
#Sun Apr 29 05:47:35 CEST 2018
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/Common/Model/EmployeeExpenseApproval.php=db8eedd8fb151769acded489e9d616c1
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Common/Calculations/BasicOvertimeCalculator.php=9c96ae3f71796029d3f93e5c63783f53
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Email/SNSEmailSender.php=fa905e3ab63ea745c591e744d6741b6b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/Common/Model/SalaryComponent.php=31e89f1115de7986cd790c8e113ab6d5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Email/EmailSender.php=03a98d7d1bcc56a77cc5b3bfa46b79fd
|
|
||||||
/Users/Thilina/Projects/icehrm/test/bootstrap.php=391db040530140c40c84cbbc65645d58
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/InputCleaner.php=e86fcb9daf1d32a4328edf40a31152f8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Projects/Common/Model/Project.php=05b1cd967d67cb977558f2567d7f6cb6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/DataEntryBackup.php=9ab3a7d48dbdd377a90c505cf692c17e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/Skill.php=e1441a2526e24a7ada7d20b36ff9e355
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Permissions/Admin/Api/PermissionsAdminManager.php=c66e06b926b4006e8a2d7f2e77e0f1fa
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/Province.php=4a718577000772ab7591a2586f7c75c8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Loans/Common/Model/EmployeeCompanyLoan.php=abc8959df2ec0f3e19ff6da12c3163f9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Approval/ApprovalStatus.php=7a3bc0a73f237eb677254b245887f48f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/FileService.php=806ff6c25c7654c30e99b0418e1c1475
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Dashboard/User/Api/DashboardActionManager.php=3f797cf4807ad5cd4f881607142df049
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Cron/Task/EmailSenderTask.php=f0c93e7c807706922cb812723e51bd09
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Admin/Api/AttendanceUtil.php=34fe63a4c0f954451afae6c359ea5b38
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/Deduction.php=1e49d0fd8d4673e3fd094cfb0e467df4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/PayrollDataExport.php=83bd6faa73c75667ecf25091c3729abc
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Common/Model/Employee.php=f8814257c241892fcf45e1d409d6ab1b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Admin/Api/MetadataAdminManager.php=9f383f9c34ec98a8e2e701825c548a8a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/NewHiresEmployeeReport.php=64eab525953538d481dab6052dd76d81
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/DeductionGroup.php=c35db5b88aa4b0c7d78b8444688931b5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/Math/EvalMathFuncs.php=d6f7c26eab307d205ee8483d87a380cb
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/ModuleBuilder/ModuleTabGroup.php=d81cfc2b3dcad2f57317b1274c884d95
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/RestAccessToken.php=77c292675944ff887fc8b4c3f7b6da94
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/LDAPManager.php=e88dd0634a6ca372564faa5a1d540796
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/Admin/Api/ExpensesAdminManager.php=ef6961e298a55379ec4dfff8b9db77fc
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Dashboard/User/Api/DashboardModulesManager.php=2e8968121b445353ee864c76c44483d3
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/UserReport.php=0a8a8476e3088011cc54fda139567b56
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/Common/Model/EmployeeTravelRecordApproval.php=d84b2a1323f3663806cc30545e748cd4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/SupportedLanguage.php=3ec1220796f6e33641998a33f036d709
|
|
||||||
/Users/Thilina/Projects/icehrm/src/TimeSheets/Common/Model/QTDays.php=32a00e65a966331b776dc37cc0609edf
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/Common/Model/EmployeeSalary.php=ec80c4e8280d23568df79f59d1b32de8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/SimpleImage.php=fdfb7b2e71e14975ebce16de44ea9dee
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/User/Api/ExpensesModulesManager.php=4860a1fbb24f4074a6918b2c0b973e80
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/User/Api/EmployeesActionManager.php=7f495266d28737c779e1e9ab3c61e0db
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Approval/ApproveAdminActionManager.php=3c26b53f0e5141b8f4a033cbbd4c622e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Settings/Admin/Api/SettingsAdminManager.php=5e5df0056db6f9593128720581feca18
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/User/Api/TravelModulesManager.php=94c9204a67e99af9133cd2aa371cb6da
|
|
||||||
/Users/Thilina/Projects/icehrm/test/unit/UserAttendanceActionManagerUnit.php=1d71d366a13f253ef6931aa87202ac42
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/OvertimeRequestReport.php=3cd3bc887da768a32bfc61c152489528
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/User/Api/EmployeesModulesManager.php=ad9ab05afd9cf551870352dba82e6d69
|
|
||||||
/Users/Thilina/Projects/icehrm/test/helper/EmployeeTestDataHelper.php=65ec2048653c9e4e4359d9b6967a860d
|
|
||||||
/Users/Thilina/Projects/icehrm/test/integration/ApprovalStatusIntegration.php=8b9243e5cbb302513d906ff9de246acd
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/EmployeeTimeSheetData.php=9d612ee603fdf4e6b710eec725da2656
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/PayrollData.php=f1a49da4e6e5a91695dd96c9585e1686
|
|
||||||
/Users/Thilina/Projects/icehrm/src/TimeSheets/User/Api/TimeSheetsInitialize.php=d47372f12494019c1004a04cbe57013d
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Modules/Admin/Api/ModulesAdminManager.php=ef70889c3b3b9eae52800ce3a326d540
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Modules/Common/Model/Module.php=8f0d1680087f555f5628c53236c7625f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/Common/Model/ExpensesPaymentMethod.php=338ce9cabb90a291e88b940756b06701
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Company/Common/Model/Timezone.php=50aff3bc39221658c35041abdc55ad98
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/OvertimeSummaryReport.php=16d9e2f10de82f25d0965e2d327086b9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Common/Model/DataImport.php=a6af4d8acd5585932823889509cca581
|
|
||||||
/Users/Thilina/Projects/icehrm/src/FieldNames/Common/Model/FieldNameMapping.php=73bd1da0f6e51329dbe12930bb566ccd
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/ActiveEmployeeReport.php=261180dfbe69ab83d9d63646111695ba
|
|
||||||
/Users/Thilina/Projects/icehrm/test/unit/LanguageManagerUnit.php=ebb20febce875350bfddd7f0358e6ad0
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/LogManager.php=144ebae4d0ff60f0fd21e79a45aa6e6a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Dependents/Common/Model/EmployeeDependent.php=1f4b6cd6dfbc14269b53dbbac3730f9e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Import/PayrollDataImporter.php=7350ec94ef8a70ba6c263e53c70c7073
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/ExpenseReport.php=397c8deb446994b64e2b9fef2845bb89
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/OvertimeReport.php=f630ae5402ec7957f42b64fa46cd1923
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/EmployeeLeaveEntitlementReport.php=9be41bfeb88fd0171028203f6513c799
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Projects/User/Api/ProjectsModulesManager.php=4fc0463507ca7768a1e493d703ac2581
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Permissions/Common/Model/Permission.php=0745dd3786e95cfc5265c32f47f4ee4a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/Admin/Api/OvertimeActionManager.php=0b039c008daf52e64f9ce827eabdd25a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/User/Api/SalaryModulesManager.php=050d077e79532353a7d12a7221829b7c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Cron/IceTask.php=cc9b1481e824fd967eb503248eb92e29
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/EmployeeTimesheetReport.php=8661944cf39b10c441841a8af72cb988
|
|
||||||
/Users/Thilina/Projects/icehrm/src/EmergencyContacts/User/Api/EmergencyContactModulesManager.php=527888466137dad3da5c6bf5b7bf9b28
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/SettingsManager.php=ebed24cde74d7fb33cca4ba156389760
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/EmployeeLanguage.php=66127455502fb29181324c1cc25f93c4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Approval/ApproveCommonActionManager.php=c1b7efb8c4f3fe8199c7e0d6fdd1ccce
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/Common/Model/EmployeeOvertime.php=50c166318a354b05dc2ae0e442d43a33
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Api/ReportsModulesManager.php=1645b61be16b96d0085510f6a2d30b68
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/RestApiManager.php=c53180aa40576c5fe8c519b2b0a39e32
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/Payroll.php=5c7eb622aade003f693275944e041cc7
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Admin/Api/AttendanceActionManager.php=9045182bc0854647219b0a0418c37ffd
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/PDFReportBuilder.php=fbbc196b5ea432671667bcc239d8bf54
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Rest/EmployeeRestEndPoint.php=5a006d8637a05d63f19e130b37bdd97d
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/File.php=8211922ac309e1c3e5fc316a90bc0bf0
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Api/AbstractDataImporter.php=315bf5eec45aa13e174d412014e2237f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/NotificationManager.php=a739fd4177892d44e78efed1641072cc
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/SessionUtils.php=f5c4db2214dfb4d8bf5b9bfe5edb1bac
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/Admin/Api/TravelActionManager.php=0e2fdd403d3456ebda102d554349e9f4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/PayrollColumn.php=0f2e8fd9b44c038f163ae646d3c6f4b6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/Common/Model/EmployeeTravelRecord.php=5366a1927bd94630217ffbc9386ff605
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/TravelRequestReport.php=c4bdd4c88f4a7b15c8091a0dcbb5018a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/StatusChangeLogManager.php=b091e855d9800eea9d4190e0c75e3e8c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Admin/Api/QualificationsAdminManager.php=3037d64a2344a497ff0ceea52265d2a6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/EmployeeLeavesReport.php=bd5efb4666ca4103a2e7e98aa24e1c83
|
|
||||||
/Users/Thilina/Projects/icehrm/src/TimeSheets/User/Api/TimeSheetsActionManager.php=ef271183cf6e71d8db24b8d3369e19b9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/Common/Model/ExpensesCategory.php=e9c0e170b950a39994d0a33d5981374f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Email/SwiftMailer.php=eca37dc0add437ae1089c695b5074b90
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Import/AttendanceDataImporter.php=dc4dec4294b9feac08a5f996b85cab85
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/Common/Model/PayrollEmployee.php=1a01bd60d1f82fc6f3eeb1875006f659
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Crypt/AesCtr.php=4897c7fe9a510f38eeb91046127d79f7
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/AbstractModuleManager.php=5bb9fc5859bdd790753277a47752b0b9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/ImmigrationStatus.php=f0dc9a94bcc487df21d53387ae8e89ba
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/Admin/Api/SalaryAdminManager.php=8bedb5d82608974feedd1c094cac64fa
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/ClassBasedReportBuilder.php=fc77219539745bdb6364fc81bdda2516
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/BaseService.php=e0de0276b6a8b58a4e318848a45439b6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/PayrollColumnTemplate.php=cb69bf4717cfbaf0f395b931296efd9a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/Admin/Api/ExpensesActionManager.php=2997346b4574ccd83e564c338e38b189
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/EmployeeTimeTrackReport.php=eddda882fae0c258e97fb50aafe21061
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/Nationality.php=0f0cd1d95496f95ac9de08aa15e6b6a4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/ReportHandler.php=80b280cae34fdfbee864b05b07c6789a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/ExpenseReport.php=7c8d187bc57175a92b8bc0fa33e501f0
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/Admin/Api/OvertimeAdminManager.php=7ae7776e6445429a1f0158a5efd38c04
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/Common/Model/SalaryComponentType.php=d96878a0b1547f44731830526306ab56
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/Common/Model/EmployeeImmigration.php=1dcb690d0045699a1aa65eda033f9adf
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/MenuItemTemplate.php=7ad7eb3a874ec729ec1baf0760f0b4ed
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Admin/Api/EmployeesAdminManager.php=15e983c78e17191ced1a7eec13be0d3e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Cron/CronUtils.php=b55a1fe1c4ed55dc582e208b341f52b4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/Common/Model/EmployeeOvertimeApproval.php=edd2eedebb9f62a44f0e588c615654ce
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/EmployeeSkill.php=a02c5ceda0489aba4ed47df010d4892e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/EmployeeAttendanceReport.php=a20c94c986fa57c52daebbcbf4fa1f3f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/User/Api/OvertimeActionManager.php=f6d2c26500ed9e10b90bb5826d6c124e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Projects/Common/Model/Client.php=666b6d5ad575ddd9ccc198f5e98e1211
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Dependents/User/Api/DependentsModulesManager.php=409b6ea72b6ce0319bb12df6458d2bef
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Jobs/Common/Model/JobTitle.php=4765635589eb4cc84cec2e578faa1557
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/Cron.php=4f3da95d8dd8e6b4642e6a2c6390c5fe
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Projects/Admin/Api/ProjectsAdminManager.php=8f20c5277a8560a69318263166b804e3
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Loans/Common/Model/CompanyLoan.php=6e1e409dd612f22b47c6ffdcda4fe3a0
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Migration/MigrationManager.php=10ce5f1187ed06d2b12820a0d9d7e90a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/ReportsAdminManager.php=be16482fcb8d6714f13618407acf25a5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/CalendarTools.php=9f60bf1aaa928a02163680da60ac255c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Api/DataAdminManager.php=3913dc1f43ae1965956c420d0d9084c8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/TimeSheets/Common/Model/EmployeeTimeEntry.php=f69d37222ff6d528b5dde53fcbb5b3a8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/UIManager.php=03b64742f6595dedce18bba1372d4b20
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/MemcacheService.php=e07916b1c628686162c19fa26aad93d5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/EmployeeTimesheetReport.php=2ec16a7dccb131862f295ad97db9067b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/Country.php=f772b574b2b1310977a50daf9d2a51ef
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/Audit.php=31e7780e4e210a8c840188d2015d2e01
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Approval/ApproveModuleActionManager.php=834a7aad3a07c194a0a830cc353daec9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Loans/Admin/Api/LoansAdminManager.php=0954d425f553598a6f3a9dbefc19fb45
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/SubActionManager.php=7523ec5017da87c8d7d3e4438310d96f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/ApproveModel.php=7f15abbdae78812f15d65e7a165f6115
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/CustomFieldManager.php=7259e4d11e73fdd04984097e00233203
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Admin/Api/PayrollActionManager.php=177d85ae36ed00f8a42d9bb9e8f9aa1a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Loans/User/Api/LoansModulesManager.php=4f0650c7b4ab3ec6c241bd32c680dfca
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/Math/EvalMathStack.php=4b86e2041c19d8ef8eaf7f4ea630e116
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Users/Admin/Api/UsersAdminManager.php=695662b7186616d4379d0a588b5130e6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/Language.php=c904c6e3e2e167f5e79afffabf94716a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Macaw.php=5a2f26ffcb41c9f42af776a91c283572
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Common/Model/AttendanceStatus.php=ad80af2d596e584a3ab60a5fce4aac09
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Email/SMTPEmailSender.php=0df2a519ce3a2d61d486b9527782f72b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/FieldNames/Admin/Api/FieldNamesAdminManager.php=5eca8c33ccd8d9fc1c4e5b7fa81ed93c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/PayFrequency.php=9207a551d667bab9734aa041e02a1be1
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/CurrencyType.php=e9f5f17d4e18a706e4c4068f253c01ac
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Common/Model/EmployeeApproval.php=481ddd171d66e644bb442ab02e97b097
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Api/DataImporter.php=ad94e2de98e11c1d3f0f0b32c46f358c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/Common/Model/EmployeeExpense.php=29d2dccb5d009d392c4b8f44c59fcdd8
|
|
||||||
/Users/Thilina/Projects/icehrm/test/TestTemplate.php=8e6ff185d587f339892a9a720e2bfa5f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Crypt/Aes.php=d0b15a04faf73b0ff35efc308d09b6e7
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/LanguageManager.php=8df5d6d62bae8a5e14ab1cd486325af3
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/Education.php=6f992ef2bb13951f3c52f5209d73733b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/EmployeeLeavesReport.php=0bd5801ac4c9803db53198c68904d5f5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/TimeSheets/Common/Model/EmployeeTimeSheet.php=2a4e685315485e4933df5d2ba856d8fb
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/ClientProjectTimeReport.php=f860b3cff536b5074bb7d1e193c1c41d
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Expenses/User/Api/ExpensesActionManager.php=c8ce93f6877fd2cdbc963b5c38708f04
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/EmployeeAttendanceReport.php=600c1feca3eab6d724ac9661f2f514d5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Utils/Math/EvalMath.php=476cb2ee5306966d7cd7bee2f3202559
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/Migration.php=3f11c6dfaa18d4a6dcb2caa8d3677121
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Common/Model/DataImportFile.php=a0b3f8410e80862ba79aa9d8fed383d7
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/User/Api/TravelActionManager.php=e6241358886dc00138506f3bc4d13346
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Company/Common/Model/CompanyStructure.php=a1957202858bc093b29e8dfe48955cc6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Migration/AbstractMigration.php=324fe15e15a0ca2b0f50f4029ae10548
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/EmployeeCertification.php=96045388cba569f4ea9617dc8fbeded6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/PayslipTemplate.php=cc9bf7552cfccd84a0b9b1431f224f1f
|
|
||||||
/Users/Thilina/Projects/icehrm/test/test.includes.php=d87bcd9386b3271b62818e2b86df6c28
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Company/Admin/Api/CompanyAdminManager.php=484a8b669d5fed117f1f40f289f2c6f4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Email/PHPMailer.php=54789d10177cc5075cb4d50838b05821
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/EmployeeEducation.php=8ba4cbc034b5ee23d593cc3352cf46a9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Reports/TerminatedEmployeeReport.php=1b8b58d6e85eb77e45aaf44f426025ea
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Users/Admin/Api/UsersEmailSender.php=87247955c331115e482aa3e577eca0b4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/IceConstants.php=5f7497997d12c27dab080b6f34640df1
|
|
||||||
/Users/Thilina/Projects/icehrm/test/test.config.php=2d82ac9b697f10bb9bd6d760f63d2be4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/Common/Model/ImmigrationDocument.php=c0636d2ce3e7d89d9e4ebb00c8d1450f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/ModuleBuilder/ModuleBuilder.php=29fed2a27587032060efc02c7a30a838
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/PayslipReport.php=a7197be66726cf126c196bf6beccb907
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/EmployeeTimeTrackReport.php=ce6f2b098845233342c336f837001554
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/PDFReportBuilderInterface.php=cc049c4c1b86e5a5e4fd99ddf24e563d
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/User/Api/QualificationsModulesManager.php=e668d64139ecc146af9ebaea2f91e1fe
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/RestEndPoint.php=86136262a2e2a8f45564d17123dd5812
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/S3FileSystem.php=6308aca72380cef1981625946b59652f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Cron/Task/EmailIceTask.php=b754a286061db310b3f18677946d7b43
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Import/EmployeeDataImporter.php=d1b66e2d042335df792fa8913d363d5f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Projects/Common/Model/EmployeeProject.php=b0de956de8ec4c423604195b96f57df9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/Report.php=498c96015d1be2b31d8cd0bcedea7fab
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/CustomFieldValue.php=a9b7d8db9ee113345298ba49f9354be8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/Cron/IceCron.php=edb023962095493d7daa728793ceaf9c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Settings/Admin/Api/SettingsInitialize.php=148bc391f5d101121f915a590f991a6b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Dashboard/Admin/Api/DashboardActionManager.php=5e8e996f9f4b77f1fbd10e026a5d1351
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Admin/Api/PayrollAdminManager.php=9bac9a6ed8406c9eb6fe7ef666aee482
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Jobs/Admin/Api/JobsAdminManager.php=12546328edffcc5bda7e84f6a8c56d9e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Jobs/Common/Model/PayGrade.php=55f2f83ff22136154b14460b6b37632a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/EmergencyContacts/Common/Model/EmergencyContact.php=6ec07210d94e695732c6d1a6a0fb34be
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Admin/Api/EmployeesActionManager.php=63c6ccf63f54eab8556c893cf47f983c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/CalculationHook.php=bbfa6f83e4042db9640b67c131274118
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Users/Common/Model/User.php=cc9b6c966b40678574fdd35bb1f16cb2
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Users/Admin/Api/UsersActionManager.php=b65c97c665190f9fb011cc8d0b97888c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/User/Api/AttendanceModulesManager.php=f1b34fae71cc963e197b41ed2ca032ca
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/IceResponse.php=bb74495c33fab87e96f72b610cfd5374
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Qualifications/Common/Model/Certification.php=e81a7f90a10799d97a918e2cb071c1a9
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/BaseModel.php=d932a9bb126c174000b9c51a8cb4d2f6
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/StatusChangeLog.php=0745140bddda3f06915dcfcc6ac97ce8
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/AbstractInitialize.php=841a38244ca1d44b008f67a6b45df348
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/EmployeeTimeSheetData.php=2d6e95947963949b1c5150269d7527f7
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Data/Admin/Api/DataActionManager.php=82f3ced08b946ca6e10a83c6e07475db
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/OvertimeReport.php=431965980b2458019398d2ed6d7fc39a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Metadata/Common/Model/Ethnicity.php=5f5935cdeab1b41ac0d2db9f6973f6b0
|
|
||||||
/Users/Thilina/Projects/icehrm/test/integration/MigrationManagerIntegration.php=f0f5bccf120067b34396f1e61fd6d20a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/CSVReportBuilderInterface.php=6ada9a15e850c09162fc75020d6b00e4
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Payroll/Common/Model/PayrollCalculations.php=70d1b733b1adbb6c6a2ea0dcec89efca
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Travel/Admin/Api/TravelAdminManager.php=9b3c6e369e2264d2bc9fca122e8ed90c
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/ReportFile.php=0a766e94902b5473ef1fa24583cf2481
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Modules/Admin/Api/ModulesActionManager.php=c4d592d8930201a883a5d1ea71a037af
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/IceEmail.php=02bd3cd01cb37ab05d763e468cba3835
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/ReportBuilderInterface.php=dd7e723c48ec4f97db98ffec0d0f39cb
|
|
||||||
/Users/Thilina/Projects/icehrm/src/TimeSheets/User/Api/TimeSheetsModulesManager.php=63a8c4364cd579be46b60a2e83f8f87f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Common/Model/ArchivedEmployee.php=6056e5073538c0d7a22dea52b6c25374
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/ReportBuilder.php=9b0e8e996157caebcf17a2a342ba0f6e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Users/Common/Model/UserRole.php=8d7dbcdf68c2c5a7a4d4f73dbb07d63b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Salary/Common/Model/PayFrequency.php=fab16310b7db7bb9aace5a6b038c9d2a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/Notification.php=0b06b249e456508d5a8ce06b453efe6b
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Admin/Api/AttendanceDashboardManager.php=c08fc7c021dd0c0780851c308225291f
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/TravelRequestReport.php=810d405042307fe9c6ca82e082c3673e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Common/Model/Attendance.php=aa0945e6fc70e6e3418d0e09f7110082
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Employees/Common/Model/EmploymentStatus.php=11365db49528f08847e0dfbf1b31472d
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Admin/Api/AttendanceAdminManager.php=21e4a22a3eb290704181e5a4a7a5df7a
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/HistoryManager.php=4741dd856bb81ec2e27bd016afb8e042
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Dashboard/Admin/Api/DashboardAdminManager.php=800b72969de1b8c311a8e1b7d2940c79
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/User/Api/OvertimeModulesManager.php=b29d52a4e3f021cdd786f41cbf1b9837
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/User/Reports/OvertimeSummaryReport.php=3918d7210957040977b8a43c580abae0
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Classes/ModuleBuilder/ModuleTab.php=89136363d7520967c2d42e175052f4d5
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Reports/Admin/Api/CSVReportBuilder.php=5c5f7175cc2aff776388c3281cea9cf3
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Model/Setting.php=5b9440e9211662f5ed69f29794b6054d
|
|
||||||
/Users/Thilina/Projects/icehrm/src/FieldNames/Common/Model/CustomField.php=88578da07f1f07bae868e17b4a8e4cf7
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/User/Api/AttendanceActionManager.php=feaa97dd192e7faec2045aba7dc03125
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Overtime/Common/Model/OvertimeCategory.php=e9c90b23155e3fe1c7d9dd9cef462d1e
|
|
||||||
/Users/Thilina/Projects/icehrm/src/Attendance/Common/Calculations/CaliforniaOvertimeCalculator.php=a1a5ff46939030747f505710fbd49ffd
|
|
||||||
@@ -1,47 +1,32 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'attendance_monitor';
|
$moduleName = 'attendance';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
$photoAttendance = \Classes\SettingsManager::getInstance()->getSetting('Attendance: Photo Attendance');
|
$photoAttendance = \Classes\SettingsManager::getInstance()->getSetting('Attendance: Photo Attendance');
|
||||||
|
$mapAttendance = \Classes\SettingsManager::getInstance()->getSetting('Attendance: Request Attendance Location on Mobile');
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
||||||
<li class="active"><a id="tabAttendance" href="#tabPageAttendance"><?=t('Monitor Attendance')?></a></li>
|
<li class="active"><a id="tabAttendance" href="#tabPageAttendance"><?=t('Monitor Attendance')?></a></li>
|
||||||
<li class=""><a id="tabAttendanceStatus" href="#tabPageAttendanceStatus"><?=t('Current Clocked In Status')?></a></li>
|
<li class=""><a id="tabAttendanceStatus" href="#tabPageAttendanceStatus"><?=t('Current Clocked In Status')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPageAttendance">
|
<div class="tab-pane active" id="tabPageAttendance">
|
||||||
<div id="Attendance" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Attendance" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="AttendanceForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="AttendanceForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageAttendanceStatus">
|
<div class="tab-pane" id="tabPageAttendanceStatus">
|
||||||
<div id="AttendanceStatus" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="AttendanceStatus" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
@@ -51,47 +36,69 @@ $photoAttendance = \Classes\SettingsManager::getInstance()->getSetting('Attendan
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal" id="attendancePhotoModel" tabindex="-1" role="dialog" aria-labelledby="messageModelLabel" aria-hidden="true">
|
<div class="modal" id="attendancePhotoModel" tabindex="-1" role="dialog" aria-labelledby="messageModelLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><li class="fa fa-times"/></button>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><li class="fa fa-times"/></button>
|
||||||
<h3 style="font-size: 17px;">Attendance Details</h3>
|
<h3 style="font-size: 17px;">Attendance Details</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="row" style="background: #f3f4f5; padding: 10px;text-align: center;">
|
<div class="row" style="background: #f3f4f5; padding: 10px;text-align: center;">
|
||||||
<h4 id="attendnaceCanvasEmp"></h4>
|
<h4 id="attendnaceCanvasEmp"></h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="background: #f3f4f5; padding: 10px;">
|
<div class="row" style="background: #f3f4f5; padding: 10px;">
|
||||||
<div class="col-sm-6" style="text-align: center;">
|
<div id="attendnaceCanvasPunchInTimeWraper" class="col-sm-6" style="text-align: center;">
|
||||||
<canvas id="attendnaceCanvasIn" height="156" width="208" style="border: 1px #222 dotted;"></canvas>
|
<b>In: </b><span id="attendnaceCanvasPunchInTime"></span>
|
||||||
<hr/>
|
</div>
|
||||||
<span id="attendnaceCanvasPunchInTime"></span>
|
<div id="attendnaceCanvasPunchOutTimeWrapper" class="col-sm-6" style="text-align: center;">
|
||||||
</div>
|
<b>Out: </b><span id="attendnaceCanvasPunchOutTime"></span>
|
||||||
<div class="col-sm-6" style="text-align: center;">
|
</div>
|
||||||
<canvas id="attendnaceCanvasOut" height="156" width="208" style="border: 1px #222 dotted;"></canvas>
|
</div>
|
||||||
<hr/>
|
<div id="attendancePhoto" class="row" style="background: #f3f4f5; padding: 10px;display:none;">
|
||||||
<span id="attendnaceCanvasPunchOutTime"></span>
|
<div class="col-sm-6" style="text-align: center;">
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="col-sm-6" style="text-align: center;">
|
||||||
</div>
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="attendanceMap" class="row" style="background: #f3f4f5; padding: 10px;display:none;">
|
||||||
|
<div id="attendnaceMapCanvasInWrapper" class="col-sm-6" style="text-align: center;">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="attendnaceMapCanvasOutWrapper" class="col-sm-6" style="text-align: center;">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6" style="text-align: center;">
|
||||||
|
<span>Location: <span id="punchInLocation"></span></span>
|
||||||
|
<br/>
|
||||||
|
IP Address: <span id="punchInIp"></span>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6" style="text-align: center;">
|
||||||
|
<span>Location: <span id="punchOutLocation"></span></span>
|
||||||
|
<br/>
|
||||||
|
IP Address: <span id="punchOutIp"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var modJsList = new Array();
|
var modJsList = new Array();
|
||||||
modJsList['tabAttendance'] = new AttendanceAdapter('Attendance','Attendance','','in_time desc');
|
modJsList['tabAttendance'] = new AttendanceAdapter('Attendance','Attendance','','in_time desc');
|
||||||
modJsList['tabAttendance'].setRemoteTable(true);
|
modJsList['tabAttendance'].setRemoteTable(true);
|
||||||
modJsList['tabAttendance'].setPhotoAttendance(<?=$photoAttendance == '1'?>);
|
modJsList['tabAttendance'].setPhotoAttendance(<?=$photoAttendance == '1' || $mapAttendance == '1'?>);
|
||||||
modJsList['tabAttendanceStatus'] = new AttendanceStatusAdapter('AttendanceStatus','AttendanceStatus','','');
|
modJsList['tabAttendanceStatus'] = new AttendanceStatusAdapter('AttendanceStatus','AttendanceStatus','','');
|
||||||
modJsList['tabAttendanceStatus'].setShowAddNew(false);
|
modJsList['tabAttendanceStatus'].setShowAddNew(false);
|
||||||
var modJs = modJsList['tabAttendance'];
|
var modJs = modJsList['tabAttendance'];
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"label": "Monitor Attendance",
|
"label": "Monitor Attendance",
|
||||||
"menu": "Employees",
|
"menu": "Employees",
|
||||||
"order": "8",
|
"order": "8",
|
||||||
"icon": "fa-clock-o",
|
"icon": "fa-clock",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin",
|
"Admin",
|
||||||
"Manager"
|
"Manager"
|
||||||
|
|||||||
@@ -1,27 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'company_structure';
|
$moduleName = 'company_structure';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
@@ -57,7 +41,7 @@ path.link {
|
|||||||
<li class="active"><a id="tabCompanyStructure" href="#tabPageCompanyStructure"><?=t('Company Structure')?></a></li>
|
<li class="active"><a id="tabCompanyStructure" href="#tabPageCompanyStructure"><?=t('Company Structure')?></a></li>
|
||||||
<li><a id="tabCompanyGraph" href="#tabPageCompanyGraph"><?=t('Company Graph')?></a></li>
|
<li><a id="tabCompanyGraph" href="#tabPageCompanyGraph"><?=t('Company Graph')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPageCompanyStructure">
|
<div class="tab-pane active" id="tabPageCompanyStructure">
|
||||||
<div id="CompanyStructure" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="CompanyStructure" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"label":"Company Structure",
|
"label":"Company Structure",
|
||||||
"menu":"Admin",
|
"menu":"Admin",
|
||||||
"order":"2",
|
"order":"2",
|
||||||
"icon":"fa-building-o",
|
"icon":"fa-building",
|
||||||
"user_levels":["Admin","Manager"],
|
"user_levels":["Admin","Manager"],
|
||||||
"dashboardPosition":2,
|
"dashboardPosition":2,
|
||||||
|
|
||||||
|
|||||||
@@ -1,85 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'dashboard';
|
$moduleName = 'dashboard';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|
||||||
$invoices = [];
|
|
||||||
$numOfUnpaidInvoices = 0;
|
|
||||||
if (class_exists('\\Billing\\Admin\\Api\\BillingActionManager')) {
|
|
||||||
$billingActionManager = new \Billing\Admin\Api\BillingActionManager();
|
|
||||||
|
|
||||||
$invoices = $billingActionManager->getInvoices(null)->getData();
|
|
||||||
if(!empty($invoices)){
|
|
||||||
$invoices = json_decode(json_encode($invoices));
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach($invoices as $inv){
|
|
||||||
if($inv->status == "Sent"){
|
|
||||||
$numOfUnpaidInvoices++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php if($numOfUnpaidInvoices == 1){?>
|
|
||||||
<div class="callout callout-warning lead" style="font-size: 14px;">
|
|
||||||
<h4>You have a pending invoice</h4>
|
|
||||||
<p style="font-weight: bold;">
|
|
||||||
You have a pending invoice. Please make you complete the payment so we can provide a better service.
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
<a href="<?=CLIENT_BASE_URL?>?g=admin&n=billing&m=admin_System#tabInvoice" class="btn btn-success btm-xs"><i class="fa fa-checkout"></i> Make a Payment</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<?php }else if($numOfUnpaidInvoices > 1){?>
|
|
||||||
<div class="callout callout-danger lead" style="font-size: 14px;">
|
|
||||||
<h4>You have <?=$numOfUnpaidInvoices?> pending invoices</h4>
|
|
||||||
<p style="font-weight: bold;">
|
|
||||||
You have <?=$numOfUnpaidInvoices?> pending invoice. None of your employees are currently allowed to login. Please make sure you complete payments to all the invoices to restore your service.
|
|
||||||
Please logout and login after completing the payment to get your service restored.
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
<a href="<?=CLIENT_BASE_URL?>?g=admin&n=billing&m=admin_System#tabInvoice" class="btn btn-success btm-xs"><i class="fa fa-checkout"></i> Make a Payment</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<?php if(\Utils\SessionUtils::getSessionObject('account_locked') == "1"){?>
|
|
||||||
<div class="callout callout-danger lead" style="font-size: 14px;">
|
|
||||||
<h4>Your Trial Has Expired</h4>
|
|
||||||
<p style="font-weight: bold;">
|
|
||||||
Your Icehrm Trial has expired. Please upgrade subscription to continue. If not upgraded your account will be deleted with in few days.
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
<a href="<?=CLIENT_BASE_URL?>?g=admin&n=billing&m=admin_System" class="btn btn-success btm-xs"><i class="fa fa-checkout"></i> Upgrade Subscription</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$moduleManagers = \Classes\BaseService::getInstance()->getModuleManagers();
|
$moduleManagers = \Classes\BaseService::getInstance()->getModuleManagers();
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$moduleName = 'data';
|
$moduleName = 'data';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -159,9 +159,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin-left:10px;margin-top:20px;">
|
||||||
|
<div id="customFieldsCont">
|
||||||
|
|
||||||
<div id="customFieldsCont">
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$moduleName = 'employees';
|
$moduleName = 'employees';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
@@ -16,8 +17,7 @@ $customFields = \Classes\BaseService::getInstance()->getCustomFields("Employee")
|
|||||||
<li class="active"><a id="tabEmployee" href="#tabPageEmployee"><?=t('Employees')?></a></li>
|
<li class="active"><a id="tabEmployee" href="#tabPageEmployee"><?=t('Employees')?></a></li>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
|
||||||
<?php if($user->user_level == "Admin"){
|
<?php if ($user->user_level == "Admin") { ?>
|
||||||
?>
|
|
||||||
<li><a id="tabEmployeeSkill" href="#tabPageEmployeeSkill"><?=t('Skills')?></a></li>
|
<li><a id="tabEmployeeSkill" href="#tabPageEmployeeSkill"><?=t('Skills')?></a></li>
|
||||||
<li><a id="tabEmployeeEducation" href="#tabPageEmployeeEducation"><?=t('Education')?></a></li>
|
<li><a id="tabEmployeeEducation" href="#tabPageEmployeeEducation"><?=t('Education')?></a></li>
|
||||||
<li><a id="tabEmployeeCertification" href="#tabPageEmployeeCertification"><?=t('Certifications')?></a></li>
|
<li><a id="tabEmployeeCertification" href="#tabPageEmployeeCertification"><?=t('Certifications')?></a></li>
|
||||||
@@ -28,8 +28,7 @@ $customFields = \Classes\BaseService::getInstance()->getCustomFields("Employee")
|
|||||||
<li><a id="tabEmployeeDocument" href="#tabPageEmployeeDocument"><?=t('Documents')?></a></li>
|
<li><a id="tabEmployeeDocument" href="#tabPageEmployeeDocument"><?=t('Documents')?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
<?php if($user->user_level == "Admin"){
|
<?php if ($user->user_level == "Admin"){ ?>
|
||||||
?>
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" id="terminatedEmployeeMenu" class="dropdown-toggle" data-toggle="dropdown" aria-controls="terminatedEmployeeMenu-contents"><?=t('Deactivated Employees')?> <span class="caret"></span></a>
|
<a href="#" id="terminatedEmployeeMenu" class="dropdown-toggle" data-toggle="dropdown" aria-controls="terminatedEmployeeMenu-contents"><?=t('Deactivated Employees')?> <span class="caret"></span></a>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="terminatedEmployeeMenu" id="terminatedEmployeeMenu-contents">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="terminatedEmployeeMenu" id="terminatedEmployeeMenu-contents">
|
||||||
@@ -37,7 +36,7 @@ $customFields = \Classes\BaseService::getInstance()->getCustomFields("Employee")
|
|||||||
<li><a id="tabArchivedEmployee" href="#tabPageArchivedEmployee"><?=t('Terminated Employee Data')?></a></li>
|
<li><a id="tabArchivedEmployee" href="#tabPageArchivedEmployee"><?=t('Terminated Employee Data')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<?php }?>
|
<?php } ?>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@@ -131,17 +130,13 @@ $customFields = \Classes\BaseService::getInstance()->getCustomFields("Employee")
|
|||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var modJsList = new Array();
|
var modJsList = new Array();
|
||||||
<?php if($user->user_level != "Admin"){
|
<?php if($user->user_level != "Admin"){ ?>
|
||||||
?>
|
|
||||||
modJsList['tabEmployee'] = new EmployeeAdapter('Employee','Employee',{"status":"Active"});
|
modJsList['tabEmployee'] = new EmployeeAdapter('Employee','Employee',{"status":"Active"});
|
||||||
modJsList['tabEmployee'].setShowAddNew(false);
|
modJsList['tabEmployee'].setShowAddNew(false);
|
||||||
<?php
|
modJsList['tabEmployee'].setShowDelete(false);
|
||||||
}else{
|
<?php }else{ ?>
|
||||||
?>
|
|
||||||
modJsList['tabEmployee'] = new EmployeeAdapter('Employee','Employee',{"status":"Active"});
|
modJsList['tabEmployee'] = new EmployeeAdapter('Employee','Employee',{"status":"Active"});
|
||||||
<?php
|
<?php } ?>
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
modJsList['tabEmployee'].setRemoteTable(true);
|
modJsList['tabEmployee'].setRemoteTable(true);
|
||||||
modJsList['tabEmployee'].setFieldNameMap(<?=json_encode($fieldNameMap)?>);
|
modJsList['tabEmployee'].setFieldNameMap(<?=json_encode($fieldNameMap)?>);
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of Ice Framework.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'fieldnames';
|
$moduleName = 'fieldnames';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"label": "Employee Custom Fields",
|
"label": "Employee Custom Fields",
|
||||||
"menu": "Admin",
|
"menu": "Admin",
|
||||||
"order": "83",
|
"order": "83",
|
||||||
"icon": "fa-sliders",
|
"icon": "fa-ruler-horizontal",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin"
|
"Admin"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,26 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
$moduleName = 'jobs';
|
$moduleName = 'jobs';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -1,52 +1,36 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'CompanyLoans';
|
$moduleName = 'loans';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
||||||
<li class="active"><a id="tabCompanyLoan" href="#tabPageCompanyLoan"><?=t('Loan Types')?></a></li>
|
<li class="active"><a id="tabCompanyLoan" href="#tabPageCompanyLoan"><?=t('Loan Types')?></a></li>
|
||||||
<li><a id="tabEmployeeCompanyLoan" href="#tabPageEmployeeCompanyLoan"><?=t('Employee Loans')?></a></li>
|
<li><a id="tabEmployeeCompanyLoan" href="#tabPageEmployeeCompanyLoan"><?=t('Employee Loans')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPageCompanyLoan">
|
<div class="tab-pane active" id="tabPageCompanyLoan">
|
||||||
<div id="CompanyLoan" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="CompanyLoan" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="CompanyLoanForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="CompanyLoanForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageEmployeeCompanyLoan">
|
<div class="tab-pane" id="tabPageEmployeeCompanyLoan">
|
||||||
<div id="EmployeeCompanyLoan" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="EmployeeCompanyLoan" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="EmployeeCompanyLoanForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="EmployeeCompanyLoanForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -61,4 +45,4 @@ modJsList['tabEmployeeCompanyLoan'] = new EmployeeCompanyLoanAdapter('EmployeeCo
|
|||||||
var modJs = modJsList['tabCompanyLoan'];
|
var modJs = modJsList['tabCompanyLoan'];
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"label": "Company Loans",
|
"label": "Company Loans",
|
||||||
"menu": "Admin",
|
"menu": "Admin",
|
||||||
"order": "89",
|
"order": "89",
|
||||||
"icon": "fa-shield",
|
"icon": "fa-money-check",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin"
|
"Admin"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Admin":"fa-cubes",
|
"Admin":"fa-cubes",
|
||||||
"Employees":"fa-users",
|
"Employees":"fa-grip-horizontal",
|
||||||
"Admin Reports":"fa-file-text",
|
"Admin Reports":"fa-book-reader",
|
||||||
"System":"fa-cogs",
|
"System":"fa-cogs",
|
||||||
"Insights":"fa-bar-chart-o",
|
"Insights":"fa-chart-line",
|
||||||
"Payroll":"fa-money"
|
"Payroll":"fa-file-archive"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,27 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
This file is part of Ice Framework.
|
|
||||||
|
|
||||||
Ice Framework 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.
|
|
||||||
|
|
||||||
Ice Framework 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 Ice Framework. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
|
||||||
|
|
||||||
$moduleName = 'metadata';
|
$moduleName = 'metadata';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
"label": "Manage Metadata",
|
"label": "Manage Metadata",
|
||||||
"menu": "System",
|
"menu": "System",
|
||||||
"order": "6",
|
"order": "6",
|
||||||
"icon": "fa-sort-alpha-asc",
|
"icon": "fa-microchip",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin"
|
"Admin"
|
||||||
],
|
],
|
||||||
"permissions": [],
|
"permissions": [],
|
||||||
"model_namespace": "\\Metadata\\Common\\Model",
|
"model_namespace": "\\Metadata\\Common\\Model",
|
||||||
"manager": "\\Metadata\\Admin\\Api\\MetadataAdminManager"
|
"manager": "\\Metadata\\Admin\\Api\\MetadataAdminManager"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,27 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'Modules';
|
$moduleName = 'modules';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -1,27 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'travel';
|
$moduleName = 'overtime';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$moduleName = 'payroll';
|
$moduleName = 'payroll';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -1,43 +1,27 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'Permissions';
|
$moduleName = 'permissions';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
||||||
<li class="active"><a id="tabPermission" href="#tabPagePermission"><?=t('Permissions')?></a></li>
|
<li class="active"><a id="tabPermission" href="#tabPagePermission"><?=t('Permissions')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPagePermission">
|
<div class="tab-pane active" id="tabPagePermission">
|
||||||
<div id="Permission" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Permission" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="PermissionForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="PermissionForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -51,4 +35,4 @@ modJsList['tabPermission'].setShowAddNew(false);
|
|||||||
var modJs = modJsList['tabPermission'];
|
var modJs = modJsList['tabPermission'];
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -1,61 +1,45 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'projects';
|
$moduleName = 'projects';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
||||||
<li class="active"><a id="tabClient" href="#tabPageClient"><?=t('Clients')?></a></li>
|
<li class="active"><a id="tabClient" href="#tabPageClient"><?=t('Clients')?></a></li>
|
||||||
<li><a id="tabProject" href="#tabPageProject"><?=t('Projects')?></a></li>
|
<li><a id="tabProject" href="#tabPageProject"><?=t('Projects')?></a></li>
|
||||||
<li><a id="tabEmployeeProject" href="#tabPageEmployeeProject"><?=t('Employee Projects')?></a></li>
|
<li><a id="tabEmployeeProject" href="#tabPageEmployeeProject"><?=t('Employee Projects')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPageClient">
|
<div class="tab-pane active" id="tabPageClient">
|
||||||
<div id="Client" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Client" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="ClientForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="ClientForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageProject">
|
<div class="tab-pane" id="tabPageProject">
|
||||||
<div id="Project" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Project" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="ProjectForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="ProjectForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageEmployeeProject">
|
<div class="tab-pane" id="tabPageEmployeeProject">
|
||||||
<div id="EmployeeProject" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="EmployeeProject" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="EmployeeProjectForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="EmployeeProjectForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -110,4 +94,4 @@ modJsList['tabEmployeeProject'].setShowEdit(false);
|
|||||||
var modJs = modJsList['tabClient'];
|
var modJs = modJsList['tabClient'];
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -1,62 +1,46 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'company_structure';
|
$moduleName = 'qualifications';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
||||||
<li class="active"><a id="tabSkill" href="#tabPageSkill"><?=t('Skills')?></a></li>
|
<li class="active"><a id="tabSkill" href="#tabPageSkill"><?=t('Skills')?></a></li>
|
||||||
<li><a id="tabEducation" href="#tabPageEducation"><?=t('Education')?></a></li>
|
<li><a id="tabEducation" href="#tabPageEducation"><?=t('Education')?></a></li>
|
||||||
<li><a id="tabCertification" href="#tabPageCertification"><?=t('Certifications')?></a></li>
|
<li><a id="tabCertification" href="#tabPageCertification"><?=t('Certifications')?></a></li>
|
||||||
<li><a id="tabLanguage" href="#tabPageLanguage"><?=t('Languages')?></a></li>
|
<li><a id="tabLanguage" href="#tabPageLanguage"><?=t('Languages')?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPageSkill">
|
<div class="tab-pane active" id="tabPageSkill">
|
||||||
<div id="Skill" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Skill" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="SkillForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="SkillForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageEducation">
|
<div class="tab-pane" id="tabPageEducation">
|
||||||
<div id="Education" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Education" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="EducationForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="EducationForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageCertification">
|
<div class="tab-pane" id="tabPageCertification">
|
||||||
<div id="Certification" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="Certification" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="CertificationForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="CertificationForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageLanguage">
|
<div class="tab-pane" id="tabPageLanguage">
|
||||||
@@ -124,4 +108,4 @@ modJsList['tabLanguage'].setShowEdit(false);
|
|||||||
var modJs = modJsList['tabSkill'];
|
var modJs = modJsList['tabSkill'];
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"label": "Qualifications Setup",
|
"label": "Qualifications Setup",
|
||||||
"menu": "Admin",
|
"menu": "Admin",
|
||||||
"order": "4",
|
"order": "4",
|
||||||
"icon": "fa-check-square-o",
|
"icon": "fa-check-square",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin",
|
"Admin",
|
||||||
"Manager"
|
"Manager"
|
||||||
@@ -25,4 +25,4 @@
|
|||||||
},
|
},
|
||||||
"model_namespace": "\\Qualifications\\Common\\Model",
|
"model_namespace": "\\Qualifications\\Common\\Model",
|
||||||
"manager": "\\Qualifications\\Admin\\Api\\QualificationsAdminManager"
|
"manager": "\\Qualifications\\Admin\\Api\\QualificationsAdminManager"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$moduleName = 'Reports';
|
$moduleName = 'reports';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"label": "Reports",
|
"label": "Reports",
|
||||||
"menu": "Admin Reports",
|
"menu": "Admin Reports",
|
||||||
"order": "1",
|
"order": "1",
|
||||||
"icon": "fa-file-o",
|
"icon": "fa-window-maximize",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin",
|
"Admin",
|
||||||
"Manager"
|
"Manager"
|
||||||
@@ -11,4 +11,4 @@
|
|||||||
"permissions": [],
|
"permissions": [],
|
||||||
"model_namespace": "\\Reports\\Common\\Model",
|
"model_namespace": "\\Reports\\Common\\Model",
|
||||||
"manager": "\\Reports\\Admin\\Api\\ReportsAdminManager"
|
"manager": "\\Reports\\Admin\\Api\\ReportsAdminManager"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$moduleName = 'salary';
|
$moduleName = 'salary';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
"label": "Salary",
|
"label": "Salary",
|
||||||
"menu": "Payroll",
|
"menu": "Payroll",
|
||||||
"order": "1",
|
"order": "1",
|
||||||
"icon": "fa-money",
|
"icon": "fa-money-check-alt",
|
||||||
"user_levels": [
|
"user_levels": [
|
||||||
"Admin"
|
"Admin"
|
||||||
],
|
],
|
||||||
"permissions": [],
|
"permissions": [],
|
||||||
"model_namespace": "\\Salary\\Common\\Model",
|
"model_namespace": "\\Salary\\Common\\Model",
|
||||||
"manager": "\\Salary\\Admin\\Api\\SalaryAdminManager"
|
"manager": "\\Salary\\Admin\\Api\\SalaryAdminManager"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,27 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'settings';
|
$moduleName = 'settings';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -1,27 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'travel';
|
$moduleName = 'travel';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
|||||||
@@ -4,14 +4,23 @@ Your account in <b>IceHrm</b> has been created on <a href="#_url_#">#_url_#</a><
|
|||||||
<b>Please find your account information below:</b><br/><br/>
|
<b>Please find your account information below:</b><br/><br/>
|
||||||
Username: <b>#_username_#</b><br/>
|
Username: <b>#_username_#</b><br/>
|
||||||
Email: <b>#_email_#</b> (You can use, username or email to login)<br/>
|
Email: <b>#_email_#</b> (You can use, username or email to login)<br/>
|
||||||
Password: <b>#_password_#</b> (Strongly advised to change this password once logged in)<br/>
|
Temporary Password: <b>#_password_#</b> (Strongly advised to change this password once logged in)<br/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
To get started, follow this link: <b><a href="#_url_#">#_url_#</a></b><br/><br/>
|
Login to IceHrm here: (<b><a href="#_url_#">#_url_#</a></b>)<br/>
|
||||||
|
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0" style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; margin: 30px auto; padding: 0; text-align: center;">
|
||||||
|
<tr>
|
||||||
|
<td align="center" style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; -webkit-box-sizing: border-box; box-sizing: border-box;">
|
||||||
|
<div style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; -webkit-box-sizing: border-box; box-sizing: border-box;">
|
||||||
|
<a href="#_url_#" class="button" style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; -webkit-box-sizing: border-box; box-sizing: border-box; display: inline-block; width: 200px; border-radius: 3px; color: #ffffff; font-size: 15px; line-height: 45px; text-align: center; text-decoration: none; -webkit-text-size-adjust: none; mso-hide: all; background-color: #22BC66;" target="_blank">Get Started</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
<font face="Arial, sans-serif" size="1" color="#4a4a4a">
|
<font face="Arial, sans-serif" size="1" color="#4a4a4a">
|
||||||
THIS IS AN AUTOMATED EMAIL - REPLIES WILL BE SENT TO #_adminEmail_#
|
THIS IS AN AUTOMATED EMAIL - REPLIES WILL BE SENT TO #_adminEmail_#
|
||||||
</font>
|
</font>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|||||||
@@ -1,66 +1,49 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
This file is part of iCE Hrm.
|
Copyright (c) 2018 [Glacies UG, Berlin, Germany] (http://glacies.de)
|
||||||
|
Developer: Thilina Hasantha (http://lk.linkedin.com/in/thilinah | https://github.com/thilinah)
|
||||||
iCE Hrm 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.
|
|
||||||
|
|
||||||
iCE Hrm 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 iCE Hrm. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$moduleName = 'users';
|
$moduleName = 'users';
|
||||||
|
$moduleGroup = 'admin';
|
||||||
define('MODULE_PATH',dirname(__FILE__));
|
define('MODULE_PATH',dirname(__FILE__));
|
||||||
include APP_BASE_PATH.'header.php';
|
include APP_BASE_PATH.'header.php';
|
||||||
include APP_BASE_PATH.'modulejslibs.inc.php';
|
include APP_BASE_PATH.'modulejslibs.inc.php';
|
||||||
|
$csrf = \Classes\BaseService::getInstance()->generateCsrf('User');
|
||||||
?><div class="span9">
|
?><div class="span9">
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
<ul class="nav nav-tabs" id="modTab" style="margin-bottom:0px;margin-left:5px;border-bottom: none;">
|
||||||
<li class="active"><a id="tabUser" href="#tabPageUser"><?=t('Users')?></a></li>
|
<li class="active"><a id="tabUser" href="#tabPageUser"><?=t('Users')?></a></li>
|
||||||
<li class=""><a id="tabUserRole" href="#tabPageUserRole"><?=t('User Roles')?></a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="tabPageUser">
|
<div class="tab-pane active" id="tabPageUser">
|
||||||
<div id="User" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<div id="User" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="UserForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<div id="UserForm" class="reviewBlock" data-content="Form" data-csrf="<?=$csrf?>" style="padding-left:5px;display:none;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="tabPageUserRole">
|
<!-- <div class="tab-pane" id="tabPageUserRole">-->
|
||||||
<div id="UserRole" class="reviewBlock" data-content="List" style="padding-left:5px;">
|
<!-- <div id="UserRole" class="reviewBlock" data-content="List" style="padding-left:5px;">-->
|
||||||
|
<!---->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div id="UserRoleForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">
|
<!-- <div id="UserRoleForm" class="reviewBlock" data-content="Form" style="padding-left:5px;display:none;">-->
|
||||||
|
<!---->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var modJsList = new Array();
|
var modJsList = new Array();
|
||||||
modJsList['tabUser'] = new UserAdapter('User');
|
modJsList['tabUser'] = new UserAdapter('User');
|
||||||
<?php if(isset($_REQUEST['action']) && $_REQUEST['action'] == "new" && isset($_REQUEST['object'])){?>
|
modJsList['tabUser'].setCSRFRequired(true);
|
||||||
modJsList['tabUser'].newInitObject = JSON.parse(Base64.decode('<?=$_REQUEST['object']?>'));
|
<?php if(isset($_GET['action']) && $_GET['action'] == "new" && isset($_GET['object'])){?>
|
||||||
|
modJsList['tabUser'].newInitObject = JSON.parse(Base64.decode('<?=$_GET['object']?>'));
|
||||||
<?php }?>
|
<?php }?>
|
||||||
modJsList['tabUserRole'] = new UserRoleAdapter('UserRole');
|
modJsList['tabUserRole'] = new UserRoleAdapter('UserRole');
|
||||||
var modJs = modJsList['tabUser'];
|
var modJs = modJsList['tabUser'];
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include APP_BASE_PATH.'footer.php';?>
|
<?php include APP_BASE_PATH.'footer.php';?>
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ if(!defined('HOME_LINK_OTHERS')){
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Version
|
//Version
|
||||||
define('VERSION', '23.0.0.OS');
|
define('VERSION', '26.6.0.OS');
|
||||||
define('CACHE_VALUE', '23.0.0.OS');
|
define('CACHE_VALUE', '26.6.0.OS');
|
||||||
define('VERSION_NUMBER', '2300');
|
define('VERSION_NUMBER', '2660');
|
||||||
define('VERSION_DATE', '21/05/2018');
|
define('VERSION_DATE', '23/07/2019');
|
||||||
|
|
||||||
if(!defined('CONTACT_EMAIL')){define('CONTACT_EMAIL','icehrm@gamonoid.com');}
|
if(!defined('CONTACT_EMAIL')){define('CONTACT_EMAIL','icehrm@gamonoid.com');}
|
||||||
if(!defined('KEY_PREFIX')){define('KEY_PREFIX','IceHrm');}
|
if(!defined('KEY_PREFIX')){define('KEY_PREFIX','IceHrm');}
|
||||||
|
|||||||
@@ -10,13 +10,11 @@ if(!$crons){
|
|||||||
|
|
||||||
\Utils\LogManager::getInstance()->info(CLIENT_NAME." cron count :".count($crons));
|
\Utils\LogManager::getInstance()->info(CLIENT_NAME." cron count :".count($crons));
|
||||||
foreach($crons as $cron){
|
foreach($crons as $cron){
|
||||||
$count++;
|
|
||||||
$iceCron = new \Classes\Cron\IceCron($cron);
|
$iceCron = new \Classes\Cron\IceCron($cron);
|
||||||
\Utils\LogManager::getInstance()->info(CLIENT_NAME." check cron :".$cron->name);
|
\Utils\LogManager::getInstance()->info(CLIENT_NAME." check cron :".$cron->name);
|
||||||
if($iceCron->isRunNow()){
|
if($iceCron->isRunNow()){
|
||||||
\Utils\LogManager::getInstance()->info(CLIENT_NAME." execute cron :".$cron->name);
|
\Utils\LogManager::getInstance()->info(CLIENT_NAME." execute cron :".$cron->name);
|
||||||
$iceCron->execute();
|
$iceCron->execute();
|
||||||
sleep(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -80,8 +80,6 @@ if (!isset($_REQUEST['objects'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
\Utils\LogManager::getInstance()->debug("Row Count Filter Query:" . $countFilterQuery);
|
|
||||||
\Utils\LogManager::getInstance()->debug("Row Count Filter Query Data:" . json_encode($countFilterQueryData));
|
|
||||||
|
|
||||||
if (in_array($table, \Classes\BaseService::getInstance()->userTables)
|
if (in_array($table, \Classes\BaseService::getInstance()->userTables)
|
||||||
&& !$skipProfileRestriction && !$isSubOrdinates) {
|
&& !$skipProfileRestriction && !$isSubOrdinates) {
|
||||||
@@ -89,8 +87,6 @@ if (!isset($_REQUEST['objects'])) {
|
|||||||
$sql = "Select count(id) as count from "
|
$sql = "Select count(id) as count from "
|
||||||
. $obj->_table . " where " . SIGN_IN_ELEMENT_MAPPING_FIELD_NAME . " = ? " . $countFilterQuery;
|
. $obj->_table . " where " . SIGN_IN_ELEMENT_MAPPING_FIELD_NAME . " = ? " . $countFilterQuery;
|
||||||
array_unshift($countFilterQueryData, $cemp);
|
array_unshift($countFilterQueryData, $cemp);
|
||||||
\Utils\LogManager::getInstance()->debug("Count Filter Query 1:" . $sql);
|
|
||||||
\Utils\LogManager::getInstance()->debug("Count Filter Query Data 1:" . json_encode($countFilterQueryData));
|
|
||||||
|
|
||||||
$rowCount = $obj->DB()->Execute($sql, $countFilterQueryData);
|
$rowCount = $obj->DB()->Execute($sql, $countFilterQueryData);
|
||||||
} else {
|
} else {
|
||||||
@@ -166,20 +162,12 @@ if (!isset($_REQUEST['objects'])) {
|
|||||||
$sql = "Select count(id) as count from " . $obj->_table .
|
$sql = "Select count(id) as count from " . $obj->_table .
|
||||||
" where " . $obj->getUserOnlyMeAccessField() . " in (" . $subordinatesIds . ") "
|
" where " . $obj->getUserOnlyMeAccessField() . " in (" . $subordinatesIds . ") "
|
||||||
. $countFilterQuery;
|
. $countFilterQuery;
|
||||||
\Utils\LogManager::getInstance()->debug("Count Filter Query 2:" . $sql);
|
|
||||||
\Utils\LogManager::getInstance()->debug(
|
|
||||||
"Count Filter Query Data 2:" . json_encode($countFilterQueryData)
|
|
||||||
);
|
|
||||||
$rowCount = $obj->DB()->Execute($sql, $countFilterQueryData);
|
$rowCount = $obj->DB()->Execute($sql, $countFilterQueryData);
|
||||||
} else {
|
} else {
|
||||||
$sql = "Select count(id) as count from " . $obj->_table;
|
$sql = "Select count(id) as count from " . $obj->_table;
|
||||||
if (!empty($countFilterQuery)) {
|
if (!empty($countFilterQuery)) {
|
||||||
$sql .= " where 1=1 " . $countFilterQuery;
|
$sql .= " where 1=1 " . $countFilterQuery;
|
||||||
}
|
}
|
||||||
\Utils\LogManager::getInstance()->debug("Count Filter Query 3:" . $sql);
|
|
||||||
\Utils\LogManager::getInstance()->debug(
|
|
||||||
"Count Filter Query Data 3:" . json_encode($countFilterQueryData)
|
|
||||||
);
|
|
||||||
$rowCount = $obj->DB()->Execute($sql, $countFilterQueryData);
|
$rowCount = $obj->DB()->Execute($sql, $countFilterQueryData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -214,12 +202,23 @@ if (!isset($_REQUEST['objects'])) {
|
|||||||
$row["_org"] = \Classes\BaseService::getInstance()->cleanUpAdoDB($item);
|
$row["_org"] = \Classes\BaseService::getInstance()->cleanUpAdoDB($item);
|
||||||
$output['aaData'][] = $row;
|
$output['aaData'][] = $row;
|
||||||
}
|
}
|
||||||
echo json_encode($output);
|
|
||||||
|
try {
|
||||||
|
echo \Classes\BaseService::getInstance()->safeJsonEncode($output);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
\Utils\LogManager::getInstance()->error($e->getMessage());
|
||||||
|
echo json_encode(['status' => 'Error']);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$output = array();
|
$output = array();
|
||||||
foreach ($data as $item) {
|
foreach ($data as $item) {
|
||||||
unset($item->keysToIgnore);
|
unset($item->keysToIgnore);
|
||||||
$output[] = \Classes\BaseService::getInstance()->cleanUpAdoDB($item);
|
$output[] = \Classes\BaseService::getInstance()->cleanUpAdoDB($item);
|
||||||
}
|
}
|
||||||
echo json_encode($output);
|
try {
|
||||||
|
echo \Classes\BaseService::getInstance()->safeJsonEncode($output);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
\Utils\LogManager::getInstance()->error($e->getMessage());
|
||||||
|
echo json_encode(['status' => 'Error']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
312
core/data/payroll/Ghana-Payroll.txt
Normal file
312
core/data/payroll/Ghana-Payroll.txt
Normal file
@@ -0,0 +1,312 @@
|
|||||||
|
{
|
||||||
|
"name": "Ghana Payroll Calculation",
|
||||||
|
"description": "",
|
||||||
|
"deductions": [
|
||||||
|
{
|
||||||
|
"id": "101",
|
||||||
|
"name": "Housing Allowance (10%)",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[\"1\"]",
|
||||||
|
"payrollColumn": null,
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X*0.1\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "102",
|
||||||
|
"name": "Overtime Allowance (10%)",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[\"1\"]",
|
||||||
|
"payrollColumn": null,
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X*0.1\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "103",
|
||||||
|
"name": "SSNIT",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[\"1\"]",
|
||||||
|
"payrollColumn": null,
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X*0.055\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "104",
|
||||||
|
"name": "Tax - Ghana",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": null,
|
||||||
|
"rangeAmounts": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "106",
|
||||||
|
"name": "Next 108 GHC",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "112",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"216\",\"upperCondition\":\"lt\",\"upperLimit\":\"324\",\"amount\":\"X*0.05\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gte\",\"lowerLimit\":\"324\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"5.4\",\"id\":\"rangeAmounts_2\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "107",
|
||||||
|
"name": "Next 151 GHC",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "112",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"324\",\"upperCondition\":\"lt\",\"upperLimit\":\"475\",\"amount\":\"(X-324) * 0.1\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gte\",\"lowerLimit\":\"259\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"15.10\",\"id\":\"rangeAmounts_2\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "108",
|
||||||
|
"name": "Next 2765 GHC",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "112",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"475\",\"upperCondition\":\"lt\",\"upperLimit\":\"3240\",\"amount\":\"(X - 475) * 0.175\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gte\",\"lowerLimit\":\"3240\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"483.88\",\"id\":\"rangeAmounts_2\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "111",
|
||||||
|
"name": "Remaining after 3240 GHC",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "112",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"gte\",\"lowerLimit\":\"3240\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"(X-3240)*0.25\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"id": "105",
|
||||||
|
"name": "GH - Salary (Basic)",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[\"1\"]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "1",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "106",
|
||||||
|
"name": "GH - Housing Allowance",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"101\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "2",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "107",
|
||||||
|
"name": "GH - Overtime Allowance",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"102\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "3",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "108",
|
||||||
|
"name": "GH - Total",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"106\",\"107\",\"105\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "4",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "109",
|
||||||
|
"name": "GH - SSNIT",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"103\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "5",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "112",
|
||||||
|
"name": "GH - Taxable Income",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"106\",\"105\"]",
|
||||||
|
"sub_columns": "[\"109\"]",
|
||||||
|
"colorder": "7",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "113",
|
||||||
|
"name": "GH - Next 108 GHC",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"106\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "9",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "114",
|
||||||
|
"name": "GH - Next 151 GHC",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"107\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "10",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "115",
|
||||||
|
"name": "GH - Next 2765 GHC",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"108\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "11",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "120",
|
||||||
|
"name": "GH - Remaining after 3240 GHC",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"111\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "12",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "121",
|
||||||
|
"name": "GH - Overtime Allow. Tax",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "13",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "[{\"name\":\"O\",\"column\":\"107\",\"id\":\"calculation_columns_1\"}]",
|
||||||
|
"calculation_function": "O*0.05"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "122",
|
||||||
|
"name": "GH - Total (PAYE Tax)",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"113\",\"114\",\"115\",\"121\",\"120\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "14",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "123",
|
||||||
|
"name": "GH - Deductions - Sub Total",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"109\",\"122\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "15",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "125",
|
||||||
|
"name": "GH - Final Total",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"108\"]",
|
||||||
|
"sub_columns": "[\"123\"]",
|
||||||
|
"colorder": "16",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"salaryComponents": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"name": "Basic Salary",
|
||||||
|
"componentType": "1",
|
||||||
|
"details": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"salaryComponentTypes": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"code": "B001",
|
||||||
|
"name": "Basic"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"samplePayroll": {
|
||||||
|
"name": "Germany Payroll Calculation",
|
||||||
|
"pay_period": "4",
|
||||||
|
"columns": "[\"126\",\"127\",\"131\",\"129\",\"128\",\"133\",\"130\",\"132\"]",
|
||||||
|
"date_start": "2017-08-01",
|
||||||
|
"date_end": "2017-08-31",
|
||||||
|
"status": "Draft"
|
||||||
|
},
|
||||||
|
"payslipTemplate": {
|
||||||
|
"name": "Sample Payslip Template",
|
||||||
|
"data": "[{\"type\":\"Company Logo\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_1\"},{\"type\":\"Company Name\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_2\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_5\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"126\",\"label\":\"Basic Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_3\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"127\",\"label\":\"Car Allowance\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_4\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"130\",\"label\":\"Payment for Hours Worked\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_6\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_7\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"131\",\"label\":\"Gross Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_8\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"132\",\"label\":\"Tax 19%\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_9\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_10\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"133\",\"label\":\"Net Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_11\"}]",
|
||||||
|
"status": null,
|
||||||
|
"created": "2017-09-08 21:12:40",
|
||||||
|
"updated": "2017-09-08 21:12:40"
|
||||||
|
}
|
||||||
|
}
|
||||||
188
core/data/payroll/Sample-Country-Payroll.txt
Normal file
188
core/data/payroll/Sample-Country-Payroll.txt
Normal file
@@ -0,0 +1,188 @@
|
|||||||
|
{
|
||||||
|
"name": "Sample Country Payroll",
|
||||||
|
"description": "",
|
||||||
|
"deductions": [
|
||||||
|
{
|
||||||
|
"id": "112",
|
||||||
|
"name": "DE - Tax",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "131",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":0,\"upperCondition\":\"No Upper Limit\",\"upperLimit\":0,\"amount\":\"X * 0.19\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"id": "126",
|
||||||
|
"name": "DE - Basic Salary",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[\"1\"]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "1",
|
||||||
|
"editable": "Yes",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "127",
|
||||||
|
"name": "DE - Car Allowance",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[\"3\"]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "2",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "128",
|
||||||
|
"name": "DE - Hours Worked per Month",
|
||||||
|
"calculation_hook": "AttendanceUtil_getTimeWorkedHours",
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "3",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "129",
|
||||||
|
"name": "DE - Hourly Pay",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[\"5\"]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "4",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "130",
|
||||||
|
"name": "DE - Payment for Hours Worked",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "5",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "[{\"name\":\"X\",\"column\":\"128\",\"id\":\"calculation_columns_1\"},{\"name\":\"Y\",\"column\":\"129\",\"id\":\"calculation_columns_2\"}]",
|
||||||
|
"calculation_function": "X * Y"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "131",
|
||||||
|
"name": "DE - Gross Salary",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"126\",\"127\",\"130\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "6",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "132",
|
||||||
|
"name": "DE - Tax",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"112\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "7",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "133",
|
||||||
|
"name": "DE - Net Salary",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"131\"]",
|
||||||
|
"sub_columns": "[\"132\"]",
|
||||||
|
"colorder": "8",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"salaryComponents": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"name": "Basic Salary",
|
||||||
|
"componentType": "1",
|
||||||
|
"details": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "3",
|
||||||
|
"name": "Car Allowance",
|
||||||
|
"componentType": "2",
|
||||||
|
"details": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "5",
|
||||||
|
"name": "Regular Hourly Pay",
|
||||||
|
"componentType": "3",
|
||||||
|
"details": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"salaryComponentTypes": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"code": "B001",
|
||||||
|
"name": "Basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2",
|
||||||
|
"code": "B002",
|
||||||
|
"name": "Allowance"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "3",
|
||||||
|
"code": "B003",
|
||||||
|
"name": "Hourly"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"samplePayroll": {
|
||||||
|
"name": "Sample Country Payroll",
|
||||||
|
"pay_period": "4",
|
||||||
|
"columns": "[\"126\",\"127\",\"131\",\"129\",\"128\",\"133\",\"130\",\"132\"]",
|
||||||
|
"date_start": "2017-08-01",
|
||||||
|
"date_end": "2017-08-31",
|
||||||
|
"status": "Draft"
|
||||||
|
},
|
||||||
|
"payslipTemplate": {
|
||||||
|
"name": "Sample Payslip Template",
|
||||||
|
"data": "[{\"type\":\"Company Logo\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_1\"},{\"type\":\"Company Name\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_2\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_5\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"126\",\"label\":\"Basic Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_3\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"127\",\"label\":\"Car Allowance\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_4\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"130\",\"label\":\"Payment for Hours Worked\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_6\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_7\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"131\",\"label\":\"Gross Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_8\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"132\",\"label\":\"Tax 19%\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_9\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_10\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"133\",\"label\":\"Net Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_11\"}]",
|
||||||
|
"status": null,
|
||||||
|
"created": "2017-09-08 21:12:40",
|
||||||
|
"updated": "2017-09-08 21:12:40"
|
||||||
|
}
|
||||||
|
}
|
||||||
264
core/data/payroll/SriLanka-Payroll.txt
Normal file
264
core/data/payroll/SriLanka-Payroll.txt
Normal file
@@ -0,0 +1,264 @@
|
|||||||
|
{
|
||||||
|
"name": "Sri Lanka Payroll Calculation",
|
||||||
|
"description": "",
|
||||||
|
"deductions": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"name": "EPF Employee Contribution",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "7",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.08\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2",
|
||||||
|
"name": "EPF Employer Contribution",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "7",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.12\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "3",
|
||||||
|
"name": "ETF Employer Contribution",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "7",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.03\",\"id\":\"rangeAmounts_1\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "4",
|
||||||
|
"name": "PAYE Tax",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "12",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"lte\",\"upperLimit\":\"62500\",\"amount\":\"0\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"62500\",\"upperCondition\":\"lte\",\"upperLimit\":\"104167\",\"amount\":\"X*0.04 - 2500\",\"id\":\"rangeAmounts_2\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"104167\",\"upperCondition\":\"lte\",\"upperLimit\":\"145833\",\"amount\":\"X*0.08 - 6667\",\"id\":\"rangeAmounts_3\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"145833\",\"upperCondition\":\"lte\",\"upperLimit\":\"187500\",\"amount\":\"X*0.12-12500\",\"id\":\"rangeAmounts_4\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"187500\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"X*0.16 - 20000\",\"id\":\"rangeAmounts_5\"}]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "5",
|
||||||
|
"name": "Stamp Duty",
|
||||||
|
"componentType": "[]",
|
||||||
|
"component": "[]",
|
||||||
|
"payrollColumn": "12",
|
||||||
|
"rangeAmounts": "[{\"lowerCondition\":\"No Lower Limit\",\"lowerLimit\":\"0\",\"upperCondition\":\"lte\",\"upperLimit\":\"25000\",\"amount\":\"0\",\"id\":\"rangeAmounts_1\"},{\"lowerCondition\":\"gt\",\"lowerLimit\":\"25000\",\"upperCondition\":\"No Upper Limit\",\"upperLimit\":\"0\",\"amount\":\"25\",\"id\":\"rangeAmounts_2\"}]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"id": "5",
|
||||||
|
"name": "LK - Basic Salary",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[\"1\"]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "5",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "6",
|
||||||
|
"name": "LK - Fixed Allowance",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[\"2\"]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "6",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "7",
|
||||||
|
"name": "LK - Gross Pay",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"5\",\"6\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "7",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "8",
|
||||||
|
"name": "LK - EPF Employee Contribution",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"1\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "8",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "9",
|
||||||
|
"name": "LK - EPF Employer Contribution",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"2\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "9",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "10",
|
||||||
|
"name": "LK - ETF Employer Contribution",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"3\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "10",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "11",
|
||||||
|
"name": "LK - Total EPF 20%",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"8\",\"9\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "11",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "12",
|
||||||
|
"name": "LK - Total for PAYE",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"7\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "12",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "13",
|
||||||
|
"name": "LK - PAYE Tax",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"4\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "13",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "14",
|
||||||
|
"name": "LK - Stamp Duty",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[\"5\"]",
|
||||||
|
"add_columns": "[]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "14",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "15",
|
||||||
|
"name": "LK - Total Deductions",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"8\",\"13\",\"14\"]",
|
||||||
|
"sub_columns": "[]",
|
||||||
|
"colorder": "15",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "16",
|
||||||
|
"name": "LK - Salary to Bank",
|
||||||
|
"calculation_hook": null,
|
||||||
|
"salary_components": "[]",
|
||||||
|
"deductions": "[]",
|
||||||
|
"add_columns": "[\"7\"]",
|
||||||
|
"sub_columns": "[\"15\"]",
|
||||||
|
"colorder": "16",
|
||||||
|
"editable": "No",
|
||||||
|
"enabled": "Yes",
|
||||||
|
"default_value": "0.00",
|
||||||
|
"calculation_columns": "",
|
||||||
|
"calculation_function": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"salaryComponents": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"name": "Basic Salary",
|
||||||
|
"componentType": "1",
|
||||||
|
"details": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2",
|
||||||
|
"name": "Fixed Allowance",
|
||||||
|
"componentType": "1",
|
||||||
|
"details": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"salaryComponentTypes": [
|
||||||
|
{
|
||||||
|
"id": "1",
|
||||||
|
"code": "B001",
|
||||||
|
"name": "Basic"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"samplePayroll": {
|
||||||
|
"name": "Sri Lanka Payroll Sample",
|
||||||
|
"pay_period": "4",
|
||||||
|
"columns": "[\"5\",\"8\",\"9\",\"10\",\"6\",\"7\",\"13\",\"16\",\"14\",\"15\",\"11\",\"12\"]",
|
||||||
|
"date_start": "2016-03-01",
|
||||||
|
"date_end": "2016-03-31",
|
||||||
|
"status": "Draft"
|
||||||
|
},
|
||||||
|
"payslipTemplate": {
|
||||||
|
"name": "Sri Lanka - Default Payslip",
|
||||||
|
"data": "[{\"type\":\"Company Logo\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"#000000\",\"status\":\"Show\",\"id\":\"data_1\"},{\"type\":\"Company Name\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"\",\"status\":\"Show\",\"id\":\"data_2\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"\",\"status\":\"Show\",\"id\":\"data_8\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"5\",\"label\":\"Basic Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_3\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"6\",\"label\":\"Fixed Allowance\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_4\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"7\",\"label\":\"Gross Pay\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_11\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"fontSize\":\"Normal\",\"fontStyle\":\"Normal\",\"fontColor\":\"\",\"status\":\"Show\",\"id\":\"data_9\"},{\"type\":\"Text\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"Deductions\",\"status\":\"Show\",\"id\":\"data_13\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"8\",\"label\":\"EPF Employee Contribution\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_6\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"13\",\"label\":\"PAYE Tax\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_14\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"14\",\"label\":\"Stamp Duty\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_15\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"15\",\"label\":\"Total Deductions\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_16\"},{\"type\":\"Separators\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_17\"},{\"type\":\"Text\",\"payrollColumn\":\"NULL\",\"label\":\"\",\"text\":\"Employer Contributions\",\"status\":\"Show\",\"id\":\"data_18\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"9\",\"label\":\"EPF Employer Contribution\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_19\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"7\",\"label\":\"ETF Employer Contribution\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_20\"},{\"type\":\"Separators\",\"payrollColumn\":\"7\",\"label\":\"\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_21\"},{\"type\":\"Text\",\"payrollColumn\":\"7\",\"label\":\"\",\"text\":\"Totals\",\"status\":\"Show\",\"id\":\"data_22\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"11\",\"label\":\"Total EPF 20%\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_23\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"12\",\"label\":\"Total for PAYE\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_24\"},{\"type\":\"Payroll Column\",\"payrollColumn\":\"16\",\"label\":\"Net Salary\",\"text\":\"\",\"status\":\"Show\",\"id\":\"data_25\"}]",
|
||||||
|
"status": null,
|
||||||
|
"created": "2016-06-29 22:07:12",
|
||||||
|
"updated": "2016-06-29 22:07:12"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -15,7 +15,6 @@
|
|||||||
modJsList[prop].setEmailTemplates(<?=json_encode($emailTemplates)?>);
|
modJsList[prop].setEmailTemplates(<?=json_encode($emailTemplates)?>);
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
modJsList[prop].setUser(<?=json_encode($user)?>);
|
modJsList[prop].setUser(<?=json_encode($user)?>);
|
||||||
//Test
|
|
||||||
<?php if(isset($_REQUEST['action']) && $_REQUEST['action'] == "new"){?>
|
<?php if(isset($_REQUEST['action']) && $_REQUEST['action'] == "new"){?>
|
||||||
if(modJsList[prop].newInitObject == undefined || modJsList[prop].newInitObject == null){
|
if(modJsList[prop].newInitObject == undefined || modJsList[prop].newInitObject == null){
|
||||||
modJsList[prop].initFieldMasterData(null,modJsList[prop].renderForm);
|
modJsList[prop].initFieldMasterData(null,modJsList[prop].renderForm);
|
||||||
@@ -29,21 +28,13 @@
|
|||||||
modJsList[prop].setCurrentProfile(<?=json_encode($activeProfile)?>);
|
modJsList[prop].setCurrentProfile(<?=json_encode($activeProfile)?>);
|
||||||
modJsList[prop].setInstanceId('<?=$baseService->getInstanceId()?>');
|
modJsList[prop].setInstanceId('<?=$baseService->getInstanceId()?>');
|
||||||
modJsList[prop].setNoJSONRequests('<?=$noJSONRequests?>');
|
modJsList[prop].setNoJSONRequests('<?=$noJSONRequests?>');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Other static js objects
|
|
||||||
|
|
||||||
var timeUtils = new TimeUtils();
|
|
||||||
timeUtils.setServerGMToffset('<?=$diffHoursBetweenServerTimezoneWithGMT?>');
|
|
||||||
|
|
||||||
var clientUrl = '<?=CLIENT_BASE_URL?>';
|
var clientUrl = '<?=CLIENT_BASE_URL?>';
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include 'popups.php';?>
|
<?php include 'popups.php';?>
|
||||||
<?php include APP_BASE_PATH.'js/bootstrapDataTable.php';?>
|
<script src="<?=BASE_URL?>js/bootstrap-datatable.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,17 +1,27 @@
|
|||||||
<?php
|
<?php
|
||||||
$logoFileName = CLIENT_BASE_PATH."data/logo.png";
|
$logoFileUrl = \Classes\UIManager::getInstance()->getCompanyLogoUrl();
|
||||||
$logoFileUrl = CLIENT_BASE_URL."data/logo.png";
|
|
||||||
if(!file_exists($logoFileName)){
|
|
||||||
$logoFileUrl = BASE_URL."images/logo.png";
|
|
||||||
}
|
|
||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
|
||||||
<title><?=$meta->title?></title>
|
<?php if (!empty(\Classes\BaseService::getInstance()->getGAKey())) { ?>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<!-- Google Analytics -->
|
||||||
<meta name="description" content="">
|
<script>
|
||||||
<meta name="author" content="">
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
|
ga('create', '<?=\Classes\BaseService::getInstance()->getGAKey()?>', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
<!-- End Google Analytics -->
|
||||||
|
<?php } else { ?>
|
||||||
|
<script>window.ga = [];</script>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title><?=$companyName?></title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="shortcut icon" href="https://icehrm.s3.amazonaws.com/images/icon16.png">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
<link rel="image_src" href="<?=!empty($meta->imageUrl)?$meta->imageUrl:$logoFileUrl?>"/>
|
<link rel="image_src" href="<?=!empty($meta->imageUrl)?$meta->imageUrl:$logoFileUrl?>"/>
|
||||||
<meta property="og:image" content="<?=!empty($meta->imageUrl)?$meta->imageUrl:$logoFileUrl?>"/>
|
<meta property="og:image" content="<?=!empty($meta->imageUrl)?$meta->imageUrl:$logoFileUrl?>"/>
|
||||||
@@ -20,76 +30,20 @@ if(!file_exists($logoFileName)){
|
|||||||
<meta property="og:description" content="<?=$meta->description?>"/>
|
<meta property="og:description" content="<?=$meta->description?>"/>
|
||||||
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>themecss/bootstrap.min.css" rel="stylesheet">
|
<link href="<?=BASE_URL?>dist/third-party.css?v=<?=$cssVersion?>" rel="stylesheet">
|
||||||
<link href="<?=BASE_URL?>themecss/font-awesome.min.css" rel="stylesheet">
|
<script type="text/javascript" src="<?=BASE_URL?>dist/third-party.js?v=<?=$jsVersion?>"></script>
|
||||||
<link href="<?=BASE_URL?>themecss/ionicons.min.css" rel="stylesheet">
|
<script type="text/javascript" src="<?=BASE_URL?>dist/common.js?v=<?=$jsVersion?>"></script>
|
||||||
|
|
||||||
|
<!-- Can not bundle - Start-->
|
||||||
|
<script src="<?=BASE_URL?>js/jquery.timepicker.js"></script>
|
||||||
|
<script src="<?=BASE_URL?>js/bootstrap-datetimepicker.js"></script>
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/jquery2.0.2.min.js"></script>
|
<link href="<?=BASE_URL?>bower_components/flag-icon-css/css/flag-icon.min.css" rel="stylesheet">
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/jquery-ui.js"></script>
|
<!-- Can not bundle - End-->
|
||||||
|
<script type="text/javascript" src="<?=BASE_URL.'admin/dist/candidates.js'?>?v=<?=$jsVersion?>"></script>
|
||||||
<script src="<?=BASE_URL?>themejs/bootstrap.js"></script>
|
<script>
|
||||||
<script src="<?=BASE_URL?>js/jquery.placeholder.js"></script>
|
var baseUrl = '<?=CLIENT_BASE_URL?>service.php';
|
||||||
<script src="<?=BASE_URL?>js/base64.js"></script>
|
var CLIENT_BASE_URL = '<?=CLIENT_BASE_URL?>';
|
||||||
|
</script>
|
||||||
|
|
||||||
<script src="<?=BASE_URL?>js/bootstrap-datepicker.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/jquery.timepicker.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/bootstrap-datetimepicker.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/fullcalendar.min.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/select2/select2.min.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/bootstrap-colorpicker-2.1.1/js/bootstrap-colorpicker.min.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>themecss/datatables/dataTables.bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/jquery.timepicker.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/datepicker.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/bootstrap-datetimepicker.min.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/fullcalendar.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>js/select2/select2.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>js/bootstrap-colorpicker-2.1.1/css/bootstrap-colorpicker.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>themecss/AdminLTE.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<script src="<?=BASE_URL?>themejs/plugins/datatables/jquery.dataTables.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>themejs/plugins/datatables/dataTables.bootstrap.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>themejs/AdminLTE/app.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>css/style.css?v=<?=$cssVersion?>" rel="stylesheet">
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>bower_components/tinymce/tinymce.min.js"></script>
|
|
||||||
<link href="<?=BASE_URL?>bower_components/simplemde/dist/simplemde.min.css" rel="stylesheet">
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>bower_components/simplemde/dist/simplemde.min.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/signature_pad.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/date.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/json2.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/CrockfordInheritance.v0.1.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/Base.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/AdapterBase.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/FormValidation.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/Notifications.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/TimeUtils.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/AesCrypt.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<?php include APP_BASE_PATH.'/modulejslibs.inc.php';?>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
||||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
<script>
|
|
||||||
var baseUrl = '<?=CLIENT_BASE_URL?>service.php';
|
|
||||||
var CLIENT_BASE_URL = '<?=CLIENT_BASE_URL?>';
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/app-global.js"></script>
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<?php if(isset($emailTemplates)){?>
|
<?php if(isset($emailTemplates)){?>
|
||||||
modJsList[prop].setEmailTemplates(<?=json_encode($emailTemplates)?>);
|
modJsList[prop].setEmailTemplates(<?=json_encode($emailTemplates)?>);
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
modJsList[prop].setUser(<?=json_encode($user)?>);
|
modJsList[prop].setUser(<?=json_encode(\Classes\BaseService::getInstance()->cleanUpUser($user))?>);
|
||||||
<?php if(isset($_REQUEST['action']) && $_REQUEST['action'] == "new"){?>
|
<?php if(isset($_REQUEST['action']) && $_REQUEST['action'] == "new"){?>
|
||||||
if(modJsList[prop].newInitObject == undefined || modJsList[prop].newInitObject == null){
|
if(modJsList[prop].newInitObject == undefined || modJsList[prop].newInitObject == null){
|
||||||
modJsList[prop].initFieldMasterData(null,modJsList[prop].renderForm);
|
modJsList[prop].initFieldMasterData(null,modJsList[prop].renderForm);
|
||||||
@@ -42,13 +42,8 @@
|
|||||||
|
|
||||||
|
|
||||||
//Other static js objects
|
//Other static js objects
|
||||||
|
var timeUtils = setupTimeUtils('<?=$diffHoursBetweenServerTimezoneWithGMT?>');
|
||||||
var timeUtils = new TimeUtils();
|
var notificationManager = setupNotifications('<?=CLIENT_BASE_URL?>service.php');
|
||||||
timeUtils.setServerGMToffset('<?=$diffHoursBetweenServerTimezoneWithGMT?>');
|
|
||||||
|
|
||||||
var notificationManager = new NotificationManager();
|
|
||||||
notificationManager.setBaseUrl('<?=CLIENT_BASE_URL?>service.php');
|
|
||||||
notificationManager.setTimeUtils(timeUtils);
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$notificationTemplates = array();
|
$notificationTemplates = array();
|
||||||
@@ -85,7 +80,7 @@
|
|||||||
if(tabName!= undefined && tabName != "" && modJsList[tabName] != undefined && modJsList[tabName] != null){
|
if(tabName!= undefined && tabName != "" && modJsList[tabName] != undefined && modJsList[tabName] != null){
|
||||||
$("#"+tabName).click();
|
$("#"+tabName).click();
|
||||||
}else{
|
}else{
|
||||||
<?php if(!isset($_REQUEST['action']) && $_REQUEST['action'] != "new"){?>
|
<?php if(!isset($_REQUEST['action'])){?>
|
||||||
modJs.get([]);
|
modJs.get([]);
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
}
|
}
|
||||||
@@ -143,6 +138,7 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
<?php include 'popups.php';?>
|
<?php include 'popups.php';?>
|
||||||
<?php include APP_BASE_PATH.'js/bootstrapDataTable.php';?>
|
<script src="<?=BASE_URL?>js/bootstrap-datatable.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
128
core/header.php
128
core/header.php
@@ -1,33 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
This file is part of Ice Framework.
|
|
||||||
|
|
||||||
Ice Framework 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.
|
|
||||||
|
|
||||||
Ice Framework 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 Ice Framework. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd]
|
|
||||||
Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah)
|
|
||||||
*/
|
|
||||||
if (!defined('MODULE_NAME')) {
|
if (!defined('MODULE_NAME')) {
|
||||||
define('MODULE_NAME', $moduleName);
|
define('MODULE_NAME', $moduleName);
|
||||||
}
|
}
|
||||||
include 'includes.inc.php';
|
include 'includes.inc.php';
|
||||||
|
|
||||||
if(empty($user)){
|
if(empty($user) || empty($user->email)){
|
||||||
$actualLink = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
|
$actualLinkArray = explode('/',$_SERVER['REQUEST_URI']);
|
||||||
header("Location:".CLIENT_BASE_URL."login.php?next=".\Base64Url\Base64Url::encode($actualLink));
|
header("Location:".CLIENT_BASE_URL."login.php?next=".\Base64Url\Base64Url::encode($actualLinkArray[count($actualLinkArray) - 1]));
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,17 +68,23 @@ $meta = json_decode(file_get_contents(MODULE_PATH."/meta.json"),true);
|
|||||||
|
|
||||||
include('configureUIManager.php');
|
include('configureUIManager.php');
|
||||||
|
|
||||||
|
$chatUserProfile = \Classes\UIManager::getInstance()->getCurrentProfile();
|
||||||
|
|
||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!-- Google Analytics -->
|
<?php if (!empty(\Classes\BaseService::getInstance()->getGAKey())) { ?>
|
||||||
<script>
|
<!-- Google Analytics -->
|
||||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
<script>
|
||||||
ga('create', '<?=\Classes\BaseService::getInstance()->getGAKey()?>', 'auto');
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
ga('send', 'pageview');
|
ga('create', '<?=\Classes\BaseService::getInstance()->getGAKey()?>', 'auto');
|
||||||
</script>
|
ga('send', 'pageview');
|
||||||
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
</script>
|
||||||
<!-- End Google Analytics -->
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
<!-- End Google Analytics -->
|
||||||
|
<?php } else { ?>
|
||||||
|
<script>window.ga = [];</script>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title><?=$companyName?></title>
|
<title><?=$companyName?></title>
|
||||||
@@ -108,86 +93,20 @@ include('configureUIManager.php');
|
|||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>themecss/bootstrap.min.css" rel="stylesheet">
|
<link href="<?=BASE_URL?>dist/third-party.css?v=<?=$cssVersion?>" rel="stylesheet">
|
||||||
<link href="<?=BASE_URL?>themecss/font-awesome.min.css" rel="stylesheet">
|
<script type="text/javascript" src="<?=BASE_URL?>dist/third-party.js?v=<?=$jsVersion?>"></script>
|
||||||
<link href="<?=BASE_URL?>themecss/ionicons.min.css" rel="stylesheet">
|
<script type="text/javascript" src="<?=BASE_URL?>dist/common.js?v=<?=$jsVersion?>"></script>
|
||||||
<link href="<?=BASE_URL?>bower_components/material-design-icons/iconfont/material-icons.css" rel="stylesheet">
|
|
||||||
|
|
||||||
|
<!-- Can not bundle - Start-->
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/jquery2.0.2.min.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/jquery-ui.js"></script>
|
|
||||||
|
|
||||||
<script src="<?=BASE_URL?>themejs/bootstrap.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/jquery.placeholder.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/base64.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
<script src="<?=BASE_URL?>js/bootstrap-datepicker.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/jquery.timepicker.js"></script>
|
<script src="<?=BASE_URL?>js/jquery.timepicker.js"></script>
|
||||||
<script src="<?=BASE_URL?>js/bootstrap-datetimepicker.js"></script>
|
<script src="<?=BASE_URL?>js/bootstrap-datetimepicker.js"></script>
|
||||||
<script src="<?=BASE_URL?>js/select2/select2.min.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/bootstrap-colorpicker-2.1.1/js/bootstrap-colorpicker.min.js"></script>
|
|
||||||
|
|
||||||
<!--fullcaledar-->
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>js/fullcaledar/fullcalendar.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>js/fullcaledar/fullcalendar.print.css" rel="stylesheet" media="print">
|
|
||||||
<script src="<?=BASE_URL?>js/fullcaledar/lib/moment.min.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/fullcaledar/fullcalendar.min.js"></script>
|
|
||||||
|
|
||||||
<script src="<?=BASE_URL?>js/clipboard.js"></script>
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>themecss/datatables/dataTables.bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/jquery.timepicker.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/datepicker.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>css/bootstrap-datetimepicker.min.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>js/select2/select2.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>js/bootstrap-colorpicker-2.1.1/css/bootstrap-colorpicker.min.css" rel="stylesheet">
|
|
||||||
<link href="<?=BASE_URL?>bower_components/flag-icon-css/css/flag-icon.min.css" rel="stylesheet">
|
<link href="<?=BASE_URL?>bower_components/flag-icon-css/css/flag-icon.min.css" rel="stylesheet">
|
||||||
|
<!-- Can not bundle - End-->
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>themecss/AdminLTE.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<script src="<?=BASE_URL?>themejs/plugins/datatables/jquery.dataTables.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script src="<?=BASE_URL?>themejs/plugins/datatables/dataTables.bootstrap.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script src="<?=BASE_URL?>themejs/AdminLTE/app.js?v=<?=$jsVersion?>"></script>
|
|
||||||
|
|
||||||
|
|
||||||
<link href="<?=BASE_URL?>css/style.css?v=<?=$cssVersion?>" rel="stylesheet">
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>bower_components/tinymce/tinymce.min.js"></script>
|
|
||||||
<link href="<?=BASE_URL?>bower_components/simplemde/dist/simplemde.min.css" rel="stylesheet">
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>bower_components/simplemde/dist/simplemde.min.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>bower_components/inputmask/dist/min/jquery.inputmask.bundle.min.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/signature_pad.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/date.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/json2.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/CrockfordInheritance.v0.1.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/Base.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/AdapterBase.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/FormValidation.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/Notifications.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/TimeUtils.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/ConversationsAdapter.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/AesCrypt.js?v=<?=$jsVersion?>"></script>
|
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>api/SocialShare.js?v=<?=$jsVersion?>"></script>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="<?=BASE_URL?>js/html5shiv.js"></script>
|
|
||||||
<script src="<?=BASE_URL?>js/respond.min.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
<script>
|
<script>
|
||||||
var baseUrl = '<?=CLIENT_BASE_URL?>service.php';
|
var baseUrl = '<?=CLIENT_BASE_URL?>service.php';
|
||||||
var CLIENT_BASE_URL = '<?=CLIENT_BASE_URL?>';
|
var CLIENT_BASE_URL = '<?=CLIENT_BASE_URL?>';
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="<?=BASE_URL?>js/app-global.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="skin-blue" data-turbolinks="false">
|
<body class="skin-blue" data-turbolinks="false">
|
||||||
@@ -214,6 +133,9 @@ include('configureUIManager.php');
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
<?php if(\Classes\UIManager::getInstance()->getCurrentLanguageCode() === 'ar') {?>
|
||||||
|
<link href="<?=BASE_URL?>css/rtl.css" rel="stylesheet">
|
||||||
|
<?php } ?>
|
||||||
<div class="wrapper row-offcanvas row-offcanvas-left">
|
<div class="wrapper row-offcanvas row-offcanvas-left">
|
||||||
<div id="iceloader" style="
|
<div id="iceloader" style="
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
1962
core/lang/ar.po
Normal file
1962
core/lang/ar.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1903,3 +1903,60 @@ msgstr "Gespräche"
|
|||||||
|
|
||||||
msgid "Start Now"
|
msgid "Start Now"
|
||||||
msgstr "Jetzt anfangen"
|
msgstr "Jetzt anfangen"
|
||||||
|
|
||||||
|
msgid "Company Assets"
|
||||||
|
msgstr "Betriebsvermögen"
|
||||||
|
|
||||||
|
msgid "Asset Types"
|
||||||
|
msgstr "Asset-Typ"
|
||||||
|
|
||||||
|
msgid "Asset Name"
|
||||||
|
msgstr "Asset-Name"
|
||||||
|
|
||||||
|
msgid "Performance"
|
||||||
|
msgstr "Performance"
|
||||||
|
|
||||||
|
msgid "Performance Review"
|
||||||
|
msgstr "Leistungsbeurteilung"
|
||||||
|
|
||||||
|
msgid "Performance Reviews"
|
||||||
|
msgstr "Leistungsbeurteilungen"
|
||||||
|
|
||||||
|
msgid "Review"
|
||||||
|
msgstr "Rezension"
|
||||||
|
|
||||||
|
msgid "Reviews"
|
||||||
|
msgstr "Bewertungen"
|
||||||
|
|
||||||
|
msgid "Review Feedback"
|
||||||
|
msgstr "Rückmeldung überprüfen"
|
||||||
|
|
||||||
|
msgid "Review Template"
|
||||||
|
msgstr "Vorlage überprüfen"
|
||||||
|
|
||||||
|
msgid "Template"
|
||||||
|
msgstr "Vorlage"
|
||||||
|
|
||||||
|
msgid "Review Date"
|
||||||
|
msgstr "Prüfungsdatum"
|
||||||
|
|
||||||
|
msgid "Self Assessment Due On"
|
||||||
|
msgstr "Selbsteinschätzung fällig am"
|
||||||
|
|
||||||
|
msgid "Review Period Start"
|
||||||
|
msgstr "Überprüfungszeitraum starten"
|
||||||
|
|
||||||
|
msgid "Review Period End"
|
||||||
|
msgstr "Periodenende überprüfen"
|
||||||
|
|
||||||
|
msgid "Attendees"
|
||||||
|
msgstr "Teilnehmer"
|
||||||
|
|
||||||
|
msgid "Performance Reviews Coordinated by Me"
|
||||||
|
msgstr "Performance Reviews koordiniert von mir"
|
||||||
|
|
||||||
|
msgid "Provide Feedback"
|
||||||
|
msgstr "Rückmeldung geben"
|
||||||
|
|
||||||
|
msgid "Review Status"
|
||||||
|
msgstr "Überprüfen Sie den Status"
|
||||||
|
|||||||
@@ -1903,3 +1903,60 @@ msgstr "Conversations"
|
|||||||
|
|
||||||
msgid "Start Now"
|
msgid "Start Now"
|
||||||
msgstr "Start Now"
|
msgstr "Start Now"
|
||||||
|
|
||||||
|
msgid "Company Assets"
|
||||||
|
msgstr "Company Assets"
|
||||||
|
|
||||||
|
msgid "Asset Types"
|
||||||
|
msgstr "Asset Types"
|
||||||
|
|
||||||
|
msgid "Asset Name"
|
||||||
|
msgstr "Asset Name"
|
||||||
|
|
||||||
|
msgid "Performance"
|
||||||
|
msgstr "Performance"
|
||||||
|
|
||||||
|
msgid "Performance Review"
|
||||||
|
msgstr "Performance Review"
|
||||||
|
|
||||||
|
msgid "Performance Reviews"
|
||||||
|
msgstr "Performance Reviews"
|
||||||
|
|
||||||
|
msgid "Review"
|
||||||
|
msgstr "Review"
|
||||||
|
|
||||||
|
msgid "Reviews"
|
||||||
|
msgstr "Reviews"
|
||||||
|
|
||||||
|
msgid "Review Feedback"
|
||||||
|
msgstr "Review Feedback"
|
||||||
|
|
||||||
|
msgid "Review Template"
|
||||||
|
msgstr "Review Template"
|
||||||
|
|
||||||
|
msgid "Template"
|
||||||
|
msgstr "Template"
|
||||||
|
|
||||||
|
msgid "Review Date"
|
||||||
|
msgstr "Review Date"
|
||||||
|
|
||||||
|
msgid "Self Assessment Due On"
|
||||||
|
msgstr "Self Assessment Due On"
|
||||||
|
|
||||||
|
msgid "Review Period Start"
|
||||||
|
msgstr "Review Period Start"
|
||||||
|
|
||||||
|
msgid "Review Period End"
|
||||||
|
msgstr "Review Period End"
|
||||||
|
|
||||||
|
msgid "Attendees"
|
||||||
|
msgstr "Attendees"
|
||||||
|
|
||||||
|
msgid "Performance Reviews Coordinated by Me"
|
||||||
|
msgstr "Performance Reviews Coordinated by Me"
|
||||||
|
|
||||||
|
msgid "Provide Feedback"
|
||||||
|
msgstr "Provide Feedback"
|
||||||
|
|
||||||
|
msgid "Review Status"
|
||||||
|
msgstr "Review Status"
|
||||||
|
|||||||
621
core/lang/es.po
621
core/lang/es.po
File diff suppressed because it is too large
Load Diff
1962
core/lang/fi.po
Normal file
1962
core/lang/fi.po
Normal file
File diff suppressed because it is too large
Load Diff
645
core/lang/fr.po
645
core/lang/fr.po
File diff suppressed because it is too large
Load Diff
@@ -1903,3 +1903,60 @@ msgstr "conversazioni"
|
|||||||
|
|
||||||
msgid "Start Now"
|
msgid "Start Now"
|
||||||
msgstr "Avviare ora"
|
msgstr "Avviare ora"
|
||||||
|
|
||||||
|
msgid "Company Assets"
|
||||||
|
msgstr "I beni aziendali"
|
||||||
|
|
||||||
|
msgid "Asset Types"
|
||||||
|
msgstr "Tipi di cespite"
|
||||||
|
|
||||||
|
msgid "Asset Name"
|
||||||
|
msgstr "Asset Nome"
|
||||||
|
|
||||||
|
msgid "Performance"
|
||||||
|
msgstr "Prestazione"
|
||||||
|
|
||||||
|
msgid "Performance Review"
|
||||||
|
msgstr "Valutazione delle prestazioni"
|
||||||
|
|
||||||
|
msgid "Performance Reviews"
|
||||||
|
msgstr "Recensioni sulle prestazioni"
|
||||||
|
|
||||||
|
msgid "Review"
|
||||||
|
msgstr "Revisione"
|
||||||
|
|
||||||
|
msgid "Reviews"
|
||||||
|
msgstr "Recensioni"
|
||||||
|
|
||||||
|
msgid "Review Feedback"
|
||||||
|
msgstr "Rivedi il feedback"
|
||||||
|
|
||||||
|
msgid "Review Template"
|
||||||
|
msgstr "Modello di recensione"
|
||||||
|
|
||||||
|
msgid "Template"
|
||||||
|
msgstr "Modello"
|
||||||
|
|
||||||
|
msgid "Review Date"
|
||||||
|
msgstr "Data della recensione"
|
||||||
|
|
||||||
|
msgid "Self Assessment Due On"
|
||||||
|
msgstr "Autovalutazione dovuta"
|
||||||
|
|
||||||
|
msgid "Review Period Start"
|
||||||
|
msgstr "Esaminare l'inizio del periodo"
|
||||||
|
|
||||||
|
msgid "Review Period End"
|
||||||
|
msgstr "Revisione periodo fine"
|
||||||
|
|
||||||
|
msgid "Attendees"
|
||||||
|
msgstr "I partecipanti"
|
||||||
|
|
||||||
|
msgid "Performance Reviews Coordinated by Me"
|
||||||
|
msgstr "Recensioni sulle prestazioni coordinate da me"
|
||||||
|
|
||||||
|
msgid "Provide Feedback"
|
||||||
|
msgstr "Fornire un feedback"
|
||||||
|
|
||||||
|
msgid "Review Status"
|
||||||
|
msgstr "Verifica lo stato"
|
||||||
|
|||||||
@@ -1903,3 +1903,60 @@ msgstr "会話"
|
|||||||
|
|
||||||
msgid "Start Now"
|
msgid "Start Now"
|
||||||
msgstr "今すぐ開始"
|
msgstr "今すぐ開始"
|
||||||
|
|
||||||
|
msgid "Company Assets"
|
||||||
|
msgstr "会社の資産"
|
||||||
|
|
||||||
|
msgid "Asset Types"
|
||||||
|
msgstr "資産タイプ"
|
||||||
|
|
||||||
|
msgid "Asset Name"
|
||||||
|
msgstr "資産名"
|
||||||
|
|
||||||
|
msgid "Performance"
|
||||||
|
msgstr "パフォーマンス"
|
||||||
|
|
||||||
|
msgid "Performance Review"
|
||||||
|
msgstr "人事考課"
|
||||||
|
|
||||||
|
msgid "Performance Reviews"
|
||||||
|
msgstr "パフォーマンス・レビュー"
|
||||||
|
|
||||||
|
msgid "Review"
|
||||||
|
msgstr "レビュー"
|
||||||
|
|
||||||
|
msgid "Reviews"
|
||||||
|
msgstr "レビュー"
|
||||||
|
|
||||||
|
msgid "Review Feedback"
|
||||||
|
msgstr "フィードバックを確認する"
|
||||||
|
|
||||||
|
msgid "Review Template"
|
||||||
|
msgstr "レビューテンプレート"
|
||||||
|
|
||||||
|
msgid "Template"
|
||||||
|
msgstr "テンプレート"
|
||||||
|
|
||||||
|
msgid "Review Date"
|
||||||
|
msgstr "レビュー日"
|
||||||
|
|
||||||
|
msgid "Self Assessment Due On"
|
||||||
|
msgstr "セルフアセスメントの期限"
|
||||||
|
|
||||||
|
msgid "Review Period Start"
|
||||||
|
msgstr "審査期間の開始"
|
||||||
|
|
||||||
|
msgid "Review Period End"
|
||||||
|
msgstr "期間終了の確認"
|
||||||
|
|
||||||
|
msgid "Attendees"
|
||||||
|
msgstr "出席者"
|
||||||
|
|
||||||
|
msgid "Performance Reviews Coordinated by Me"
|
||||||
|
msgstr "私が調整したパフォーマンスレビュー"
|
||||||
|
|
||||||
|
msgid "Provide Feedback"
|
||||||
|
msgstr "フィードバックを提供します"
|
||||||
|
|
||||||
|
msgid "Review Status"
|
||||||
|
msgstr "審査ステータス"
|
||||||
|
|||||||
1962
core/lang/nl.po
Normal file
1962
core/lang/nl.po
Normal file
File diff suppressed because it is too large
Load Diff
1962
core/lang/no.po
Normal file
1962
core/lang/no.po
Normal file
File diff suppressed because it is too large
Load Diff
697
core/lang/pl.po
697
core/lang/pl.po
File diff suppressed because it is too large
Load Diff
1962
core/lang/pt.po
Normal file
1962
core/lang/pt.po
Normal file
File diff suppressed because it is too large
Load Diff
1962
core/lang/sr.po
Normal file
1962
core/lang/sr.po
Normal file
File diff suppressed because it is too large
Load Diff
1962
core/lang/sv.po
Normal file
1962
core/lang/sv.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1903,3 +1903,60 @@ msgstr "对话"
|
|||||||
|
|
||||||
msgid "Start Now"
|
msgid "Start Now"
|
||||||
msgstr "现在开始"
|
msgstr "现在开始"
|
||||||
|
|
||||||
|
msgid "Company Assets"
|
||||||
|
msgstr "公司资产"
|
||||||
|
|
||||||
|
msgid "Asset Types"
|
||||||
|
msgstr "资产类型"
|
||||||
|
|
||||||
|
msgid "Asset Name"
|
||||||
|
msgstr "资产名称"
|
||||||
|
|
||||||
|
msgid "Performance"
|
||||||
|
msgstr "性能"
|
||||||
|
|
||||||
|
msgid "Performance Review"
|
||||||
|
msgstr "性能评估"
|
||||||
|
|
||||||
|
msgid "Performance Reviews"
|
||||||
|
msgstr "绩效评估"
|
||||||
|
|
||||||
|
msgid "Review"
|
||||||
|
msgstr "评论"
|
||||||
|
|
||||||
|
msgid "Reviews"
|
||||||
|
msgstr "评测"
|
||||||
|
|
||||||
|
msgid "Review Feedback"
|
||||||
|
msgstr "回顾反馈"
|
||||||
|
|
||||||
|
msgid "Review Template"
|
||||||
|
msgstr "审核模板"
|
||||||
|
|
||||||
|
msgid "Template"
|
||||||
|
msgstr "模板"
|
||||||
|
|
||||||
|
msgid "Review Date"
|
||||||
|
msgstr "审核日期"
|
||||||
|
|
||||||
|
msgid "Self Assessment Due On"
|
||||||
|
msgstr "到期的自我评估"
|
||||||
|
|
||||||
|
msgid "Review Period Start"
|
||||||
|
msgstr "查看期间开始"
|
||||||
|
|
||||||
|
msgid "Review Period End"
|
||||||
|
msgstr "查看期末"
|
||||||
|
|
||||||
|
msgid "Attendees"
|
||||||
|
msgstr "与会者"
|
||||||
|
|
||||||
|
msgid "Performance Reviews Coordinated by Me"
|
||||||
|
msgstr "性能评估由我协调"
|
||||||
|
|
||||||
|
msgid "Provide Feedback"
|
||||||
|
msgstr "提供反馈信息"
|
||||||
|
|
||||||
|
msgid "Review Status"
|
||||||
|
msgstr "审核状态"
|
||||||
|
|||||||
@@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
@version V5.11 5 May 2010 (c) 2000-2010 John Lim (jlim#natsoft.com). All rights reserved.
|
@version V5.11 5 May 2010 (c) 2000-2010 John Lim (jlim#natsoft.com). All rights reserved.
|
||||||
Latest version is available at http://adodb.sourceforge.net
|
Latest version is available at http://adodb.sourceforge.net
|
||||||
|
|
||||||
Released under both BSD license and Lesser GPL library license.
|
Released under both BSD license and Lesser GPL library license.
|
||||||
Whenever there is any discrepancy between the two licenses,
|
Whenever there is any discrepancy between the two licenses,
|
||||||
the BSD license will take precedence.
|
the BSD license will take precedence.
|
||||||
|
|
||||||
Active Record implementation. Superset of Zend Framework's.
|
Active Record implementation. Superset of Zend Framework's.
|
||||||
|
|
||||||
Version 0.92
|
Version 0.92
|
||||||
|
|
||||||
See http://www-128.ibm.com/developerworks/java/library/j-cb03076/?ca=dgr-lnxw01ActiveRecord
|
See http://www-128.ibm.com/developerworks/java/library/j-cb03076/?ca=dgr-lnxw01ActiveRecord
|
||||||
for info on Ruby on Rails Active Record implementation
|
for info on Ruby on Rails Active Record implementation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ class ADODB_Active_Table {
|
|||||||
|
|
||||||
// $db = database connection
|
// $db = database connection
|
||||||
// $index = name of index - can be associative, for an example see
|
// $index = name of index - can be associative, for an example see
|
||||||
// http://phplens.com/lens/lensforum/msgs.php?id=17790
|
// http://phplens.com/lens/lensforum/msgs.php?id=17790
|
||||||
// returns index into $_ADODB_ACTIVE_DBS
|
// returns index into $_ADODB_ACTIVE_DBS
|
||||||
function ADODB_SetDatabaseAdapter(&$db, $index=false)
|
function ADODB_SetDatabaseAdapter(&$db, $index=false)
|
||||||
{
|
{
|
||||||
@@ -58,23 +58,23 @@ function ADODB_SetDatabaseAdapter(&$db, $index=false)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($d->db->_connectionID === $db->_connectionID && $db->database == $d->db->database) {
|
if ($d->db->_connectionID === $db->_connectionID && $db->database == $d->db->database) {
|
||||||
$obj = $d;
|
$obj = $d;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($index == false) $index = sizeof($_ADODB_ACTIVE_DBS);
|
if ($index == false) $index = sizeof($_ADODB_ACTIVE_DBS);
|
||||||
|
|
||||||
if(!isset($obj)) {
|
if(!isset($obj)) {
|
||||||
$obj = new ADODB_Active_DB();
|
$obj = new ADODB_Active_DB();
|
||||||
$obj->db = $db;
|
$obj->db = $db;
|
||||||
$obj->tables = array();
|
$obj->tables = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$_ADODB_ACTIVE_DBS[$index] = $obj;
|
$_ADODB_ACTIVE_DBS[$index] = $obj;
|
||||||
|
|
||||||
return $index;
|
return $index;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -82,8 +82,8 @@ function ADODB_SetDatabaseAdapter(&$db, $index=false)
|
|||||||
class ADODB_Active_Record {
|
class ADODB_Active_Record {
|
||||||
static $_changeNames = true; // dynamically pluralize table names
|
static $_changeNames = true; // dynamically pluralize table names
|
||||||
static $_quoteNames = false;
|
static $_quoteNames = false;
|
||||||
|
|
||||||
static $_foreignSuffix = '_id'; //
|
static $_foreignSuffix = '_id'; //
|
||||||
var $_dbat; // associative index pointing to ADODB_Active_DB eg. $ADODB_Active_DBS[_dbat]
|
var $_dbat; // associative index pointing to ADODB_Active_DB eg. $ADODB_Active_DBS[_dbat]
|
||||||
var $_table; // tablename, if set in class definition then use it as table name
|
var $_table; // tablename, if set in class definition then use it as table name
|
||||||
var $_tableat; // associative index pointing to ADODB_Active_Table, eg $ADODB_Active_DBS[_dbat]->tables[$this->_tableat]
|
var $_tableat; // associative index pointing to ADODB_Active_Table, eg $ADODB_Active_DBS[_dbat]->tables[$this->_tableat]
|
||||||
@@ -103,7 +103,7 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// should be static
|
// should be static
|
||||||
static function SetDatabaseAdapter(&$db, $index=false)
|
static function SetDatabaseAdapter(&$db, $index=false)
|
||||||
{
|
{
|
||||||
//error_log("Coming into ".self::_pluralize(get_called_class())."'s SetDatabaseAdapter where ".get_class());
|
//error_log("Coming into ".self::_pluralize(get_called_class())."'s SetDatabaseAdapter where ".get_class());
|
||||||
if(!$index || !isset($index)) {
|
if(!$index || !isset($index)) {
|
||||||
@@ -111,19 +111,19 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
return ADODB_SetDatabaseAdapter($db, $index);
|
return ADODB_SetDatabaseAdapter($db, $index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function __set($name, $value)
|
public function __set($name, $value)
|
||||||
{
|
{
|
||||||
$name = str_replace(' ', '_', $name);
|
$name = str_replace(' ', '_', $name);
|
||||||
$this->$name = $value;
|
$this->$name = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// php5 constructor
|
// php5 constructor
|
||||||
function __construct($table = false, $pkeyarr=false, $db=false)
|
function __construct($table = false, $pkeyarr=false, $db=false)
|
||||||
{
|
{
|
||||||
global $ADODB_ASSOC_CASE,$_ADODB_ACTIVE_DBS;
|
global $ADODB_ASSOC_CASE,$_ADODB_ACTIVE_DBS;
|
||||||
|
|
||||||
if ($db == false && is_object($pkeyarr)) {
|
if ($db == false && is_object($pkeyarr)) {
|
||||||
$db = $pkeyarr;
|
$db = $pkeyarr;
|
||||||
$pkeyarr = false;
|
$pkeyarr = false;
|
||||||
@@ -143,9 +143,9 @@ class ADODB_Active_Record {
|
|||||||
if(isset($_ADODB_ACTIVE_DBS[self::_pluralize(get_called_class())])) {
|
if(isset($_ADODB_ACTIVE_DBS[self::_pluralize(get_called_class())])) {
|
||||||
$this->_dbat = self::_pluralize(get_called_class());
|
$this->_dbat = self::_pluralize(get_called_class());
|
||||||
} else {
|
} else {
|
||||||
$this->_dbat = key($_ADODB_ACTIVE_DBS);
|
$this->_dbat = key($_ADODB_ACTIVE_DBS);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_table = $table;
|
$this->_table = $table;
|
||||||
@@ -153,13 +153,13 @@ class ADODB_Active_Record {
|
|||||||
|
|
||||||
$this->UpdateActiveTable($pkeyarr);
|
$this->UpdateActiveTable($pkeyarr);
|
||||||
}
|
}
|
||||||
|
|
||||||
function __wakeup()
|
function __wakeup()
|
||||||
{
|
{
|
||||||
$class = get_class($this);
|
$class = get_class($this);
|
||||||
new $class;
|
new $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
static function _pluralize($table)
|
static function _pluralize($table)
|
||||||
{
|
{
|
||||||
if (!ADODB_Active_Record::$_changeNames) return $table;
|
if (!ADODB_Active_Record::$_changeNames) return $table;
|
||||||
@@ -170,26 +170,26 @@ class ADODB_Active_Record {
|
|||||||
$lastc2 = substr($ut,$len-2);
|
$lastc2 = substr($ut,$len-2);
|
||||||
switch ($lastc) {
|
switch ($lastc) {
|
||||||
case 'S':
|
case 'S':
|
||||||
return $table.'es';
|
return $table.'es';
|
||||||
case 'Y':
|
case 'Y':
|
||||||
return substr($table,0,$len-1).'ies';
|
return substr($table,0,$len-1).'ies';
|
||||||
case 'X':
|
case 'X':
|
||||||
return $table.'es';
|
return $table.'es';
|
||||||
case 'H':
|
case 'H':
|
||||||
if ($lastc2 == 'CH' || $lastc2 == 'SH')
|
if ($lastc2 == 'CH' || $lastc2 == 'SH')
|
||||||
return $table.'es';
|
return $table.'es';
|
||||||
default:
|
default:
|
||||||
return $table.'s';
|
return $table.'s';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// CFR Lamest singular inflector ever - @todo Make it real!
|
// CFR Lamest singular inflector ever - @todo Make it real!
|
||||||
// Note: There is an assumption here...and it is that the argument's length >= 4
|
// Note: There is an assumption here...and it is that the argument's length >= 4
|
||||||
function _singularize($tables)
|
function _singularize($tables)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!ADODB_Active_Record::$_changeNames) return $table;
|
if (!ADODB_Active_Record::$_changeNames) return $table;
|
||||||
|
|
||||||
$ut = strtoupper($tables);
|
$ut = strtoupper($tables);
|
||||||
$len = strlen($tables);
|
$len = strlen($tables);
|
||||||
if($ut[$len-1] != 'S')
|
if($ut[$len-1] != 'S')
|
||||||
@@ -221,14 +221,14 @@ class ADODB_Active_Record {
|
|||||||
$table->_hasMany[$foreignRef] = $ar;
|
$table->_hasMany[$foreignRef] = $ar;
|
||||||
# $this->$foreignRef = $this->_hasMany[$foreignRef]; // WATCHME Removed assignment by ref. to please __get()
|
# $this->$foreignRef = $this->_hasMany[$foreignRef]; // WATCHME Removed assignment by ref. to please __get()
|
||||||
}
|
}
|
||||||
|
|
||||||
// use when you don't want ADOdb to auto-pluralize tablename
|
// use when you don't want ADOdb to auto-pluralize tablename
|
||||||
static function TableHasMany($table, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
|
static function TableHasMany($table, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
|
||||||
{
|
{
|
||||||
$ar = new ADODB_Active_Record($table);
|
$ar = new ADODB_Active_Record($table);
|
||||||
$ar->hasMany($foreignRef, $foreignKey, $foreignClass);
|
$ar->hasMany($foreignRef, $foreignKey, $foreignClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
// use when you don't want ADOdb to auto-pluralize tablename
|
// use when you don't want ADOdb to auto-pluralize tablename
|
||||||
static function TableKeyHasMany($table, $tablePKey, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
|
static function TableKeyHasMany($table, $tablePKey, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
|
||||||
{
|
{
|
||||||
@@ -236,8 +236,8 @@ class ADODB_Active_Record {
|
|||||||
$ar = new ADODB_Active_Record($table,$tablePKey);
|
$ar = new ADODB_Active_Record($table,$tablePKey);
|
||||||
$ar->hasMany($foreignRef, $foreignKey, $foreignClass);
|
$ar->hasMany($foreignRef, $foreignKey, $foreignClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// use when you want ADOdb to auto-pluralize tablename for you. Note that the class must already be defined.
|
// use when you want ADOdb to auto-pluralize tablename for you. Note that the class must already be defined.
|
||||||
// e.g. class Person will generate relationship for table Persons
|
// e.g. class Person will generate relationship for table Persons
|
||||||
static function ClassHasMany($parentclass, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
|
static function ClassHasMany($parentclass, $foreignRef, $foreignKey = false, $foreignClass = 'ADODB_Active_Record')
|
||||||
@@ -245,7 +245,7 @@ class ADODB_Active_Record {
|
|||||||
$ar = new $parentclass();
|
$ar = new $parentclass();
|
||||||
$ar->hasMany($foreignRef, $foreignKey, $foreignClass);
|
$ar->hasMany($foreignRef, $foreignKey, $foreignClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function belongsTo($foreignRef,$foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
function belongsTo($foreignRef,$foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
||||||
{
|
{
|
||||||
@@ -256,24 +256,24 @@ class ADODB_Active_Record {
|
|||||||
$ar->parentKey = $parentKey;
|
$ar->parentKey = $parentKey;
|
||||||
$ar->UpdateActiveTable();
|
$ar->UpdateActiveTable();
|
||||||
$ar->foreignKey = ($foreignKey) ? $foreignKey : $foreignRef.ADODB_Active_Record::$_foreignSuffix;
|
$ar->foreignKey = ($foreignKey) ? $foreignKey : $foreignRef.ADODB_Active_Record::$_foreignSuffix;
|
||||||
|
|
||||||
$table =& $this->TableInfo();
|
$table =& $this->TableInfo();
|
||||||
$table->_belongsTo[$foreignRef] = $ar;
|
$table->_belongsTo[$foreignRef] = $ar;
|
||||||
# $this->$foreignRef = $this->_belongsTo[$foreignRef];
|
# $this->$foreignRef = $this->_belongsTo[$foreignRef];
|
||||||
}
|
}
|
||||||
|
|
||||||
static function ClassBelongsTo($class, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
static function ClassBelongsTo($class, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
||||||
{
|
{
|
||||||
$ar = new $class();
|
$ar = new $class();
|
||||||
$ar->belongsTo($foreignRef, $foreignKey, $parentKey, $parentClass);
|
$ar->belongsTo($foreignRef, $foreignKey, $parentKey, $parentClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
static function TableBelongsTo($table, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
static function TableBelongsTo($table, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
||||||
{
|
{
|
||||||
$ar = new ADOdb_Active_Record($table);
|
$ar = new ADOdb_Active_Record($table);
|
||||||
$ar->belongsTo($foreignRef, $foreignKey, $parentKey, $parentClass);
|
$ar->belongsTo($foreignRef, $foreignKey, $parentKey, $parentClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
static function TableKeyBelongsTo($table, $tablePKey, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
static function TableKeyBelongsTo($table, $tablePKey, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record')
|
||||||
{
|
{
|
||||||
if (!is_array($tablePKey)) $tablePKey = array($tablePKey);
|
if (!is_array($tablePKey)) $tablePKey = array($tablePKey);
|
||||||
@@ -284,8 +284,8 @@ class ADODB_Active_Record {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* __get Access properties - used for lazy loading
|
* __get Access properties - used for lazy loading
|
||||||
*
|
*
|
||||||
* @param mixed $name
|
* @param mixed $name
|
||||||
* @access protected
|
* @access protected
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
@@ -293,9 +293,9 @@ class ADODB_Active_Record {
|
|||||||
{
|
{
|
||||||
return $this->LoadRelations($name, '', -1, -1);
|
return $this->LoadRelations($name, '', -1, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param string $whereOrderBy : eg. ' AND field1 = value ORDER BY field2'
|
* @param string $whereOrderBy : eg. ' AND field1 = value ORDER BY field2'
|
||||||
* @param offset
|
* @param offset
|
||||||
* @param limit
|
* @param limit
|
||||||
@@ -307,12 +307,12 @@ class ADODB_Active_Record {
|
|||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
if ($limit >= 0) $extras['limit'] = $limit;
|
if ($limit >= 0) $extras['limit'] = $limit;
|
||||||
if ($offset >= 0) $extras['offset'] = $offset;
|
if ($offset >= 0) $extras['offset'] = $offset;
|
||||||
|
|
||||||
if (strlen($whereOrderBy))
|
if (strlen($whereOrderBy))
|
||||||
if (!preg_match('/^[ \n\r]*AND/i',$whereOrderBy))
|
if (!preg_match('/^[ \n\r]*AND/i',$whereOrderBy))
|
||||||
if (!preg_match('/^[ \n\r]*ORDER[ \n\r]/i',$whereOrderBy))
|
if (!preg_match('/^[ \n\r]*ORDER[ \n\r]/i',$whereOrderBy))
|
||||||
$whereOrderBy = 'AND '.$whereOrderBy;
|
$whereOrderBy = 'AND '.$whereOrderBy;
|
||||||
|
|
||||||
if(!empty($table->_belongsTo[$name]))
|
if(!empty($table->_belongsTo[$name]))
|
||||||
{
|
{
|
||||||
$obj = $table->_belongsTo[$name];
|
$obj = $table->_belongsTo[$name];
|
||||||
@@ -323,7 +323,7 @@ class ADODB_Active_Record {
|
|||||||
{
|
{
|
||||||
if ($obj->parentKey) $key = $obj->parentKey;
|
if ($obj->parentKey) $key = $obj->parentKey;
|
||||||
else $key = reset($table->keys);
|
else $key = reset($table->keys);
|
||||||
|
|
||||||
$arrayOfOne = $obj->Find($key.'='.$this->$columnName.' '.$whereOrderBy,false,false,$extras);
|
$arrayOfOne = $obj->Find($key.'='.$this->$columnName.' '.$whereOrderBy,false,false,$extras);
|
||||||
if ($arrayOfOne) {
|
if ($arrayOfOne) {
|
||||||
$this->$name = $arrayOfOne[0];
|
$this->$name = $arrayOfOne[0];
|
||||||
@@ -332,7 +332,7 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!empty($table->_hasMany[$name]))
|
if(!empty($table->_hasMany[$name]))
|
||||||
{
|
{
|
||||||
$obj = $table->_hasMany[$name];
|
$obj = $table->_hasMany[$name];
|
||||||
$key = reset($table->keys);
|
$key = reset($table->keys);
|
||||||
$id = @$this->$key;
|
$id = @$this->$key;
|
||||||
@@ -345,11 +345,11 @@ class ADODB_Active_Record {
|
|||||||
$this->$name = $objs;
|
$this->$name = $objs;
|
||||||
return $objs;
|
return $objs;
|
||||||
}
|
}
|
||||||
|
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|
||||||
// update metadata
|
// update metadata
|
||||||
function UpdateActiveTable($pkeys=false,$forceUpdate=false)
|
function UpdateActiveTable($pkeys=false,$forceUpdate=false)
|
||||||
{
|
{
|
||||||
@@ -365,7 +365,7 @@ class ADODB_Active_Record {
|
|||||||
|
|
||||||
$acttab = $tables[$tableat];
|
$acttab = $tables[$tableat];
|
||||||
foreach($acttab->flds as $name => $fld) {
|
foreach($acttab->flds as $name => $fld) {
|
||||||
if ($ADODB_ACTIVE_DEFVALS && isset($fld->default_value))
|
if ($ADODB_ACTIVE_DEFVALS && isset($fld->default_value))
|
||||||
$this->$name = $fld->default_value;
|
$this->$name = $fld->default_value;
|
||||||
else
|
else
|
||||||
$this->$name = null;
|
$this->$name = null;
|
||||||
@@ -379,19 +379,19 @@ class ADODB_Active_Record {
|
|||||||
@flock($fp, LOCK_SH);
|
@flock($fp, LOCK_SH);
|
||||||
$acttab = unserialize(fread($fp,100000));
|
$acttab = unserialize(fread($fp,100000));
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
if ($acttab->_created + $ADODB_ACTIVE_CACHESECS - (abs(rand()) % 16) > time()) {
|
if ($acttab->_created + $ADODB_ACTIVE_CACHESECS - (abs(rand()) % 16) > time()) {
|
||||||
// abs(rand()) randomizes deletion, reducing contention to delete/refresh file
|
// abs(rand()) randomizes deletion, reducing contention to delete/refresh file
|
||||||
// ideally, you should cache at least 32 secs
|
// ideally, you should cache at least 32 secs
|
||||||
|
|
||||||
foreach($acttab->flds as $name => $fld) {
|
foreach($acttab->flds as $name => $fld) {
|
||||||
if ($ADODB_ACTIVE_DEFVALS && isset($fld->default_value))
|
if ($ADODB_ACTIVE_DEFVALS && isset($fld->default_value))
|
||||||
$this->$name = $fld->default_value;
|
$this->$name = $fld->default_value;
|
||||||
else
|
else
|
||||||
$this->$name = null;
|
$this->$name = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$activedb->tables[$table] = $acttab;
|
$activedb->tables[$table] = $acttab;
|
||||||
|
|
||||||
//if ($db->debug) ADOConnection::outp("Reading cached active record file: $fname");
|
//if ($db->debug) ADOConnection::outp("Reading cached active record file: $fname");
|
||||||
return;
|
return;
|
||||||
} else if ($db->debug) {
|
} else if ($db->debug) {
|
||||||
@@ -400,18 +400,18 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
$activetab = new ADODB_Active_Table();
|
$activetab = new ADODB_Active_Table();
|
||||||
$activetab->name = $table;
|
$activetab->name = $table;
|
||||||
|
|
||||||
$save = $ADODB_FETCH_MODE;
|
$save = $ADODB_FETCH_MODE;
|
||||||
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
|
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
|
||||||
if ($db->fetchMode !== false) $savem = $db->SetFetchMode(false);
|
if ($db->fetchMode !== false) $savem = $db->SetFetchMode(false);
|
||||||
|
|
||||||
$cols = $db->MetaColumns($table);
|
$cols = $db->MetaColumns($table);
|
||||||
|
|
||||||
if (isset($savem)) $db->SetFetchMode($savem);
|
if (isset($savem)) $db->SetFetchMode($savem);
|
||||||
$ADODB_FETCH_MODE = $save;
|
$ADODB_FETCH_MODE = $save;
|
||||||
|
|
||||||
if (!$cols) {
|
if (!$cols) {
|
||||||
$this->Error("Invalid table name: $table",'UpdateActiveTable');
|
$this->Error("Invalid table name: $table",'UpdateActiveTable');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$fld = reset($cols);
|
$fld = reset($cols);
|
||||||
@@ -421,14 +421,14 @@ class ADODB_Active_Record {
|
|||||||
foreach($cols as $name => $fld) {
|
foreach($cols as $name => $fld) {
|
||||||
if (!empty($fld->primary_key)) $pkeys[] = $name;
|
if (!empty($fld->primary_key)) $pkeys[] = $name;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
$pkeys = $this->GetPrimaryKeys($db, $table);
|
$pkeys = $this->GetPrimaryKeys($db, $table);
|
||||||
}
|
}
|
||||||
if (empty($pkeys)) {
|
if (empty($pkeys)) {
|
||||||
$this->Error("No primary key found for table $table",'UpdateActiveTable');
|
$this->Error("No primary key found for table $table",'UpdateActiveTable');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$attr = array();
|
$attr = array();
|
||||||
$keys = array();
|
$keys = array();
|
||||||
$ADODB_ASSOC_CASE = 2;
|
$ADODB_ASSOC_CASE = 2;
|
||||||
@@ -446,18 +446,18 @@ class ADODB_Active_Record {
|
|||||||
$keys[strtolower($name)] = strtolower($name);
|
$keys[strtolower($name)] = strtolower($name);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
foreach($cols as $name => $fldobj) {
|
foreach($cols as $name => $fldobj) {
|
||||||
$name = strtoupper($name);
|
$name = strtoupper($name);
|
||||||
|
|
||||||
if ($ADODB_ACTIVE_DEFVALS && isset($fldobj->default_value))
|
if ($ADODB_ACTIVE_DEFVALS && isset($fldobj->default_value))
|
||||||
$this->$name = $fldobj->default_value;
|
$this->$name = $fldobj->default_value;
|
||||||
else
|
else
|
||||||
$this->$name = null;
|
$this->$name = null;
|
||||||
$attr[$name] = $fldobj;
|
$attr[$name] = $fldobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($pkeys as $k => $name) {
|
foreach($pkeys as $k => $name) {
|
||||||
$keys[strtoupper($name)] = strtoupper($name);
|
$keys[strtoupper($name)] = strtoupper($name);
|
||||||
}
|
}
|
||||||
@@ -465,7 +465,7 @@ class ADODB_Active_Record {
|
|||||||
default:
|
default:
|
||||||
foreach($cols as $name => $fldobj) {
|
foreach($cols as $name => $fldobj) {
|
||||||
$name = ($fldobj->name);
|
$name = ($fldobj->name);
|
||||||
|
|
||||||
if ($ADODB_ACTIVE_DEFVALS && isset($fldobj->default_value))
|
if ($ADODB_ACTIVE_DEFVALS && isset($fldobj->default_value))
|
||||||
$this->$name = $fldobj->default_value;
|
$this->$name = $fldobj->default_value;
|
||||||
else
|
else
|
||||||
@@ -477,7 +477,7 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$activetab->keys = $keys;
|
$activetab->keys = $keys;
|
||||||
$activetab->flds = $attr;
|
$activetab->flds = $attr;
|
||||||
|
|
||||||
@@ -489,58 +489,58 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
if (isset($activedb->tables[$table])) {
|
if (isset($activedb->tables[$table])) {
|
||||||
$oldtab = $activedb->tables[$table];
|
$oldtab = $activedb->tables[$table];
|
||||||
|
|
||||||
if ($oldtab) $activetab->_belongsTo = $oldtab->_belongsTo;
|
if ($oldtab) $activetab->_belongsTo = $oldtab->_belongsTo;
|
||||||
if ($oldtab) $activetab->_hasMany = $oldtab->_hasMany;
|
if ($oldtab) $activetab->_hasMany = $oldtab->_hasMany;
|
||||||
}
|
}
|
||||||
$activedb->tables[$table] = $activetab;
|
$activedb->tables[$table] = $activetab;
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetPrimaryKeys(&$db, $table)
|
function GetPrimaryKeys(&$db, $table)
|
||||||
{
|
{
|
||||||
return $db->MetaPrimaryKeys($table);
|
return $db->MetaPrimaryKeys($table);
|
||||||
}
|
}
|
||||||
|
|
||||||
// error handler for both PHP4+5.
|
// error handler for both PHP4+5.
|
||||||
function Error($err,$fn)
|
function Error($err,$fn)
|
||||||
{
|
{
|
||||||
global $_ADODB_ACTIVE_DBS;
|
global $_ADODB_ACTIVE_DBS;
|
||||||
|
|
||||||
$fn = get_class($this).'::'.$fn;
|
$fn = get_class($this).'::'.$fn;
|
||||||
$this->_lasterr = $fn.': '.$err;
|
$this->_lasterr = $fn.': '.$err;
|
||||||
|
|
||||||
if ($this->_dbat < 0) $db = false;
|
if ($this->_dbat < 0) $db = false;
|
||||||
else {
|
else {
|
||||||
$activedb = $_ADODB_ACTIVE_DBS[$this->_dbat];
|
$activedb = $_ADODB_ACTIVE_DBS[$this->_dbat];
|
||||||
$db = $activedb->db;
|
$db = $activedb->db;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (function_exists('adodb_throw')) {
|
if (function_exists('adodb_throw')) {
|
||||||
if (!$db) adodb_throw('ADOdb_Active_Record', $fn, -1, $err, 0, 0, false);
|
if (!$db) adodb_throw('ADOdb_Active_Record', $fn, -1, $err, 0, 0, false);
|
||||||
else adodb_throw($db->databaseType, $fn, -1, $err, 0, 0, $db);
|
else adodb_throw($db->databaseType, $fn, -1, $err, 0, 0, $db);
|
||||||
} else
|
} else
|
||||||
if (!$db || $db->debug) ADOConnection::outp($this->_lasterr);
|
if (!$db || $db->debug) ADOConnection::outp($this->_lasterr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// return last error message
|
// return last error message
|
||||||
function ErrorMsg()
|
function ErrorMsg()
|
||||||
{
|
{
|
||||||
if (!function_exists('adodb_throw')) {
|
if (!function_exists('adodb_throw')) {
|
||||||
if ($this->_dbat < 0) $db = false;
|
if ($this->_dbat < 0) $db = false;
|
||||||
else $db = $this->DB();
|
else $db = $this->DB();
|
||||||
|
|
||||||
// last error could be database error too
|
// last error could be database error too
|
||||||
if ($db && $db->ErrorMsg()) return $db->ErrorMsg();
|
if ($db && $db->ErrorMsg()) return $db->ErrorMsg();
|
||||||
}
|
}
|
||||||
return $this->_lasterr;
|
return $this->_lasterr;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ErrorNo()
|
function ErrorNo()
|
||||||
{
|
{
|
||||||
if ($this->_dbat < 0) return -9999; // no database connection...
|
if ($this->_dbat < 0) return -9999; // no database connection...
|
||||||
$db = $this->DB();
|
$db = $this->DB();
|
||||||
|
|
||||||
return (int) $db->ErrorNo();
|
return (int) $db->ErrorNo();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -549,7 +549,7 @@ class ADODB_Active_Record {
|
|||||||
function DB()
|
function DB()
|
||||||
{
|
{
|
||||||
global $_ADODB_ACTIVE_DBS;
|
global $_ADODB_ACTIVE_DBS;
|
||||||
|
|
||||||
if ($this->_dbat < 0) {
|
if ($this->_dbat < 0) {
|
||||||
$false = false;
|
$false = false;
|
||||||
$this->Error("No database connection set: use ADOdb_Active_Record::SetDatabaseAdaptor(\$db)", "DB");
|
$this->Error("No database connection set: use ADOdb_Active_Record::SetDatabaseAdaptor(\$db)", "DB");
|
||||||
@@ -559,7 +559,7 @@ class ADODB_Active_Record {
|
|||||||
$db = $activedb->db;
|
$db = $activedb->db;
|
||||||
return $db;
|
return $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
// retrieve ADODB_Active_Table
|
// retrieve ADODB_Active_Table
|
||||||
function &TableInfo()
|
function &TableInfo()
|
||||||
{
|
{
|
||||||
@@ -568,8 +568,8 @@ class ADODB_Active_Record {
|
|||||||
$table = $activedb->tables[$this->_tableat];
|
$table = $activedb->tables[$this->_tableat];
|
||||||
return $table;
|
return $table;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// I have an ON INSERT trigger on a table that sets other columns in the table.
|
// I have an ON INSERT trigger on a table that sets other columns in the table.
|
||||||
// So, I find that for myTable, I want to reload an active record after saving it. -- Malcolm Cook
|
// So, I find that for myTable, I want to reload an active record after saving it. -- Malcolm Cook
|
||||||
function Reload()
|
function Reload()
|
||||||
@@ -580,21 +580,21 @@ class ADODB_Active_Record {
|
|||||||
return($this->Load($where));
|
return($this->Load($where));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// set a numeric array (using natural table field ordering) as object properties
|
// set a numeric array (using natural table field ordering) as object properties
|
||||||
function Set(&$row)
|
function Set(&$row)
|
||||||
{
|
{
|
||||||
global $ACTIVE_RECORD_SAFETY;
|
global $ACTIVE_RECORD_SAFETY;
|
||||||
|
|
||||||
$db = $this->DB();
|
$db = $this->DB();
|
||||||
|
|
||||||
if (!$row) {
|
if (!$row) {
|
||||||
$this->_saved = false;
|
$this->_saved = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_saved = true;
|
$this->_saved = true;
|
||||||
|
|
||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
if ($ACTIVE_RECORD_SAFETY && sizeof($table->flds) != sizeof($row)) {
|
if ($ACTIVE_RECORD_SAFETY && sizeof($table->flds) != sizeof($row)) {
|
||||||
# <AP>
|
# <AP>
|
||||||
@@ -613,7 +613,7 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
$keys = array_keys($row);
|
$keys = array_keys($row);
|
||||||
|
|
||||||
# <AP>
|
# <AP>
|
||||||
reset($keys);
|
reset($keys);
|
||||||
$this->_original = array();
|
$this->_original = array();
|
||||||
@@ -627,7 +627,7 @@ class ADODB_Active_Record {
|
|||||||
# </AP>
|
# </AP>
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get last inserted id for INSERT
|
// get last inserted id for INSERT
|
||||||
function LastInsertID(&$db,$fieldname)
|
function LastInsertID(&$db,$fieldname)
|
||||||
{
|
{
|
||||||
@@ -635,32 +635,32 @@ class ADODB_Active_Record {
|
|||||||
$val = $db->Insert_ID($this->_table,$fieldname);
|
$val = $db->Insert_ID($this->_table,$fieldname);
|
||||||
else
|
else
|
||||||
$val = false;
|
$val = false;
|
||||||
|
|
||||||
if (is_null($val) || $val === false) {
|
if (is_null($val) || $val === false) {
|
||||||
// this might not work reliably in multi-user environment
|
// this might not work reliably in multi-user environment
|
||||||
return $db->GetOne("select max(".$fieldname.") from ".$this->_table);
|
return $db->GetOne("select max(".$fieldname.") from ".$this->_table);
|
||||||
}
|
}
|
||||||
return $val;
|
return $val;
|
||||||
}
|
}
|
||||||
|
|
||||||
// quote data in where clause
|
// quote data in where clause
|
||||||
function doquote(&$db, $val,$t)
|
function doquote(&$db, $val,$t)
|
||||||
{
|
{
|
||||||
switch($t) {
|
switch($t) {
|
||||||
case 'L':
|
case 'L':
|
||||||
if (strpos($db->databaseType,'postgres') !== false) return $db->qstr($val);
|
if (strpos($db->databaseType,'postgres') !== false) return $db->qstr($val);
|
||||||
case 'D':
|
case 'D':
|
||||||
case 'T':
|
case 'T':
|
||||||
if (empty($val)) return 'null';
|
if (empty($val)) return 'null';
|
||||||
|
|
||||||
case 'B':
|
case 'B':
|
||||||
case 'N':
|
case 'N':
|
||||||
case 'C':
|
case 'C':
|
||||||
case 'X':
|
case 'X':
|
||||||
if (is_null($val)) return 'null';
|
if (is_null($val)) return 'null';
|
||||||
|
|
||||||
if (strlen($val)>1 &&
|
if (strlen($val)>1 &&
|
||||||
(strncmp($val,"'",1) != 0 || substr($val,strlen($val)-1,1) != "'")) {
|
(strncmp($val,"'",1) != 0 || substr($val,strlen($val)-1,1) != "'")) {
|
||||||
return $db->qstr($val);
|
return $db->qstr($val);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -669,13 +669,13 @@ class ADODB_Active_Record {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate where clause for an UPDATE/SELECT
|
// generate where clause for an UPDATE/SELECT
|
||||||
function GenWhere(&$db, &$table)
|
function GenWhere(&$db, &$table)
|
||||||
{
|
{
|
||||||
$keys = $table->keys;
|
$keys = $table->keys;
|
||||||
$parr = array();
|
$parr = array();
|
||||||
|
|
||||||
foreach($keys as $k) {
|
foreach($keys as $k) {
|
||||||
$f = $table->flds[$k];
|
$f = $table->flds[$k];
|
||||||
if ($f) {
|
if ($f) {
|
||||||
@@ -684,17 +684,17 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
return implode(' and ', $parr);
|
return implode(' and ', $parr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function _QName($n,$db=false)
|
function _QName($n,$db=false)
|
||||||
{
|
{
|
||||||
if (!ADODB_Active_Record::$_quoteNames) return $n;
|
if (!ADODB_Active_Record::$_quoteNames) return $n;
|
||||||
if (!$db) $db = $this->DB(); if (!$db) return false;
|
if (!$db) $db = $this->DB(); if (!$db) return false;
|
||||||
return $db->nameQuote.$n.$db->nameQuote;
|
return $db->nameQuote.$n.$db->nameQuote;
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------ Public functions below
|
//------------------------------------------------------------ Public functions below
|
||||||
|
|
||||||
function Load($where=null,$bindarr=false)
|
function Load($where=null,$bindarr=false)
|
||||||
{
|
{
|
||||||
$this->_where = $where;
|
$this->_where = $where;
|
||||||
@@ -705,31 +705,31 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
return $this->LoadFromRawQuery($qry, $bindarr);
|
return $this->LoadFromRawQuery($qry, $bindarr);
|
||||||
}
|
}
|
||||||
|
|
||||||
function LoadFromRawQuery($qry, $bindarr=false) {
|
function LoadFromRawQuery($qry, $bindarr=false) {
|
||||||
global $ADODB_FETCH_MODE;
|
global $ADODB_FETCH_MODE;
|
||||||
|
|
||||||
$db = $this->DB(); if (!$db) return false;
|
$db = $this->DB(); if (!$db) return false;
|
||||||
|
|
||||||
$save = $ADODB_FETCH_MODE;
|
$save = $ADODB_FETCH_MODE;
|
||||||
$ADODB_FETCH_MODE = ADODB_FETCH_NUM;
|
$ADODB_FETCH_MODE = ADODB_FETCH_NUM;
|
||||||
if ($db->fetchMode !== false) $savem = $db->SetFetchMode(false);
|
if ($db->fetchMode !== false) $savem = $db->SetFetchMode(false);
|
||||||
|
|
||||||
$row = $db->GetRow($qry,$bindarr);
|
$row = $db->GetRow($qry,$bindarr);
|
||||||
|
|
||||||
if (isset($savem)) $db->SetFetchMode($savem);
|
if (isset($savem)) $db->SetFetchMode($savem);
|
||||||
$ADODB_FETCH_MODE = $save;
|
$ADODB_FETCH_MODE = $save;
|
||||||
|
|
||||||
return $this->Set($row);
|
return $this->Set($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
# useful for multiple record inserts
|
# useful for multiple record inserts
|
||||||
# see http://phplens.com/lens/lensforum/msgs.php?id=17795
|
# see http://phplens.com/lens/lensforum/msgs.php?id=17795
|
||||||
function Reset()
|
function Reset()
|
||||||
{
|
{
|
||||||
$this->_where=null;
|
$this->_where=null;
|
||||||
$this->_saved = false;
|
$this->_saved = false;
|
||||||
$this->_lasterr = false;
|
$this->_lasterr = false;
|
||||||
$this->_original = false;
|
$this->_original = false;
|
||||||
$vars=get_object_vars($this);
|
$vars=get_object_vars($this);
|
||||||
foreach($vars as $k=>$v){
|
foreach($vars as $k=>$v){
|
||||||
@@ -740,24 +740,24 @@ class ADODB_Active_Record {
|
|||||||
$this->foreignName=strtolower(get_class($this));
|
$this->foreignName=strtolower(get_class($this));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// false on error
|
// false on error
|
||||||
function Save()
|
function Save()
|
||||||
{
|
{
|
||||||
if ($this->_saved) $ok = $this->Update();
|
if ($this->_saved) $ok = $this->Update();
|
||||||
else $ok = $this->Insert();
|
else $ok = $this->Insert();
|
||||||
|
|
||||||
return $ok;
|
return $ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// false on error
|
// false on error
|
||||||
function Insert()
|
function Insert()
|
||||||
{
|
{
|
||||||
$db = $this->DB(); if (!$db) return false;
|
$db = $this->DB(); if (!$db) return false;
|
||||||
$cnt = 0;
|
$cnt = 0;
|
||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
|
|
||||||
$valarr = array();
|
$valarr = array();
|
||||||
$names = array();
|
$names = array();
|
||||||
$valstr = array();
|
$valstr = array();
|
||||||
@@ -771,7 +771,7 @@ class ADODB_Active_Record {
|
|||||||
$cnt += 1;
|
$cnt += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($names)){
|
if (empty($names)){
|
||||||
foreach($table->flds as $name=>$fld) {
|
foreach($table->flds as $name=>$fld) {
|
||||||
$valarr[] = null;
|
$valarr[] = null;
|
||||||
@@ -782,7 +782,7 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
$sql = 'INSERT INTO '.$this->_table."(".implode(',',$names).') VALUES ('.implode(',',$valstr).')';
|
$sql = 'INSERT INTO '.$this->_table."(".implode(',',$names).') VALUES ('.implode(',',$valstr).')';
|
||||||
$ok = $db->Execute($sql,$valarr);
|
$ok = $db->Execute($sql,$valarr);
|
||||||
|
|
||||||
if ($ok) {
|
if ($ok) {
|
||||||
$this->_saved = true;
|
$this->_saved = true;
|
||||||
$autoinc = false;
|
$autoinc = false;
|
||||||
@@ -797,32 +797,32 @@ class ADODB_Active_Record {
|
|||||||
$this->$k = $this->LastInsertID($db,$k);
|
$this->$k = $this->LastInsertID($db,$k);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_original = $valarr;
|
$this->_original = $valarr;
|
||||||
return !empty($ok);
|
return !empty($ok);
|
||||||
}
|
}
|
||||||
|
|
||||||
function Delete()
|
function Delete()
|
||||||
{
|
{
|
||||||
$db = $this->DB(); if (!$db) return false;
|
$db = $this->DB(); if (!$db) return false;
|
||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
|
|
||||||
$where = $this->GenWhere($db,$table);
|
$where = $this->GenWhere($db,$table);
|
||||||
$sql = 'DELETE FROM '.$this->_table.' WHERE '.$where;
|
$sql = 'DELETE FROM '.$this->_table.' WHERE '.$where;
|
||||||
$ok = $db->Execute($sql);
|
$ok = $db->Execute($sql);
|
||||||
|
|
||||||
return $ok ? true : false;
|
return $ok ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function intify($ret) {
|
protected function intify($ret) {
|
||||||
if(is_numeric($ret)) {
|
if(is_numeric($ret)) {
|
||||||
return intval($ret);
|
return intval($ret);
|
||||||
} else {
|
} else {
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Aggregate($function, $column, $whereGroupBy, $bindarr=false) {
|
function Aggregate($function, $column, $whereGroupBy, $bindarr=false) {
|
||||||
if(!in_array($function, ADODB_Active_Record::$_supportedAggregateFunctions)) {
|
if(!in_array($function, ADODB_Active_Record::$_supportedAggregateFunctions)) {
|
||||||
throw new InvalidArgumentException("Unknown Aggregate Function $function");
|
throw new InvalidArgumentException("Unknown Aggregate Function $function");
|
||||||
@@ -833,11 +833,11 @@ class ADODB_Active_Record {
|
|||||||
$db = $this->DB(); if (!$db || empty($this->_table)) return false;
|
$db = $this->DB(); if (!$db || empty($this->_table)) return false;
|
||||||
return $db->GetOne("select $function($column) from ".$this->_table." where ". $whereGroupBy, $bindarr);
|
return $db->GetOne("select $function($column) from ".$this->_table." where ". $whereGroupBy, $bindarr);
|
||||||
}
|
}
|
||||||
|
|
||||||
function Count($whereGroupBy, $bindarr=false) {
|
function Count($whereGroupBy, $bindarr=false) {
|
||||||
return $this->intify( $this->Aggregate("count", "*", $whereGroupBy, $bindarr) );
|
return $this->intify( $this->Aggregate("count", "*", $whereGroupBy, $bindarr) );
|
||||||
}
|
}
|
||||||
|
|
||||||
function CountDistinct($column, $whereGroupBy, $bindarr=false) {
|
function CountDistinct($column, $whereGroupBy, $bindarr=false) {
|
||||||
if(!in_array($column, $this->GetAttributeNames())) {
|
if(!in_array($column, $this->GetAttributeNames())) {
|
||||||
throw new InvalidArgumentException("Unknown Column for CountDistinct $column");
|
throw new InvalidArgumentException("Unknown Column for CountDistinct $column");
|
||||||
@@ -845,7 +845,7 @@ class ADODB_Active_Record {
|
|||||||
$db = $this->DB(); if (!$db || empty($this->_table)) return false;
|
$db = $this->DB(); if (!$db || empty($this->_table)) return false;
|
||||||
return $this->intify( $db->GetOne("select count(distinct($column)) from ".$this->_table." where ". $whereGroupBy, $bindarr) );
|
return $this->intify( $db->GetOne("select count(distinct($column)) from ".$this->_table." where ". $whereGroupBy, $bindarr) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns an array of active record objects
|
// returns an array of active record objects
|
||||||
function Find($whereOrderBy,$bindarr=false,$pkeysArr=false,$extra=array())
|
function Find($whereOrderBy,$bindarr=false,$pkeysArr=false,$extra=array())
|
||||||
{
|
{
|
||||||
@@ -853,7 +853,7 @@ class ADODB_Active_Record {
|
|||||||
$arr = $db->GetActiveRecordsClass(get_class($this),$this->_table, $whereOrderBy,$bindarr,$pkeysArr,$extra);
|
$arr = $db->GetActiveRecordsClass(get_class($this),$this->_table, $whereOrderBy,$bindarr,$pkeysArr,$extra);
|
||||||
return $arr;
|
return $arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns an array of active record objects
|
// returns an array of active record objects
|
||||||
function FindFromRawQuery($query,$bindarr=false,$pkeysArr=false,$extra=array())
|
function FindFromRawQuery($query,$bindarr=false,$pkeysArr=false,$extra=array())
|
||||||
{
|
{
|
||||||
@@ -861,17 +861,17 @@ class ADODB_Active_Record {
|
|||||||
$arr = $db->GetActiveRecordsClass2(get_class($this),$this->_table, $query,$bindarr,$pkeysArr,$extra);
|
$arr = $db->GetActiveRecordsClass2(get_class($this),$this->_table, $query,$bindarr,$pkeysArr,$extra);
|
||||||
return $arr;
|
return $arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns 0 on error, 1 on update, 2 on insert
|
// returns 0 on error, 1 on update, 2 on insert
|
||||||
function Replace()
|
function Replace()
|
||||||
{
|
{
|
||||||
global $ADODB_ASSOC_CASE;
|
global $ADODB_ASSOC_CASE;
|
||||||
|
|
||||||
$db = $this->DB(); if (!$db) return false;
|
$db = $this->DB(); if (!$db) return false;
|
||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
|
|
||||||
$pkey = $table->keys;
|
$pkey = $table->keys;
|
||||||
|
|
||||||
foreach($table->flds as $name=>$fld) {
|
foreach($table->flds as $name=>$fld) {
|
||||||
$val = $this->$name;
|
$val = $this->$name;
|
||||||
/*
|
/*
|
||||||
@@ -887,24 +887,24 @@ class ADODB_Active_Record {
|
|||||||
if (is_null($val) && !empty($fld->auto_increment)) {
|
if (is_null($val) && !empty($fld->auto_increment)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($val)) continue;
|
if (is_array($val)) continue;
|
||||||
|
|
||||||
$t = $db->MetaType($fld->type);
|
$t = $db->MetaType($fld->type);
|
||||||
$arr[$name] = $this->doquote($db,$val,$t);
|
$arr[$name] = $this->doquote($db,$val,$t);
|
||||||
$valarr[] = $val;
|
$valarr[] = $val;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_array($pkey)) $pkey = array($pkey);
|
if (!is_array($pkey)) $pkey = array($pkey);
|
||||||
|
|
||||||
|
|
||||||
if ($ADODB_ASSOC_CASE == 0)
|
if ($ADODB_ASSOC_CASE == 0)
|
||||||
foreach($pkey as $k => $v)
|
foreach($pkey as $k => $v)
|
||||||
$pkey[$k] = strtolower($v);
|
$pkey[$k] = strtolower($v);
|
||||||
elseif ($ADODB_ASSOC_CASE == 1)
|
elseif ($ADODB_ASSOC_CASE == 1)
|
||||||
foreach($pkey as $k => $v)
|
foreach($pkey as $k => $v)
|
||||||
$pkey[$k] = strtoupper($v);
|
$pkey[$k] = strtoupper($v);
|
||||||
|
|
||||||
$ok = $db->Replace($this->_table,$arr,$pkey);
|
$ok = $db->Replace($this->_table,$arr,$pkey);
|
||||||
if ($ok) {
|
if ($ok) {
|
||||||
$this->_saved = true; // 1= update 2=insert
|
$this->_saved = true; // 1= update 2=insert
|
||||||
@@ -921,9 +921,9 @@ class ADODB_Active_Record {
|
|||||||
$this->$k = $this->LastInsertID($db,$k);
|
$this->$k = $this->LastInsertID($db,$k);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_original = $valarr;
|
$this->_original = $valarr;
|
||||||
}
|
}
|
||||||
return $ok;
|
return $ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -932,14 +932,14 @@ class ADODB_Active_Record {
|
|||||||
{
|
{
|
||||||
$db = $this->DB(); if (!$db) return false;
|
$db = $this->DB(); if (!$db) return false;
|
||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
|
|
||||||
$where = $this->GenWhere($db, $table);
|
$where = $this->GenWhere($db, $table);
|
||||||
|
|
||||||
if (!$where) {
|
if (!$where) {
|
||||||
$this->error("Where missing for table $table", "Update");
|
$this->error("Where missing for table $table", "Update");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$valarr = array();
|
$valarr = array();
|
||||||
$neworig = array();
|
$neworig = array();
|
||||||
$pairs = array();
|
$pairs = array();
|
||||||
$i = -1;
|
$i = -1;
|
||||||
@@ -948,10 +948,10 @@ class ADODB_Active_Record {
|
|||||||
$i += 1;
|
$i += 1;
|
||||||
$val = $this->$name;
|
$val = $this->$name;
|
||||||
$neworig[] = $val;
|
$neworig[] = $val;
|
||||||
|
|
||||||
if (isset($table->keys[$name]) || is_array($val))
|
if (isset($table->keys[$name]) || is_array($val))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (is_null($val)) {
|
if (is_null($val)) {
|
||||||
if (isset($fld->not_null) && $fld->not_null) {
|
if (isset($fld->not_null) && $fld->not_null) {
|
||||||
if (isset($fld->default_value) && strlen($fld->default_value)) continue;
|
if (isset($fld->default_value) && strlen($fld->default_value)) continue;
|
||||||
@@ -969,8 +969,8 @@ class ADODB_Active_Record {
|
|||||||
$pairs[] = $this->_QName($name,$db).'='.$db->Param($cnt);
|
$pairs[] = $this->_QName($name,$db).'='.$db->Param($cnt);
|
||||||
$cnt += 1;
|
$cnt += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!$cnt) return -1;
|
if (!$cnt) return -1;
|
||||||
$sql = 'UPDATE '.$this->_table." SET ".implode(",",$pairs)." WHERE ".$where;
|
$sql = 'UPDATE '.$this->_table." SET ".implode(",",$pairs)." WHERE ".$where;
|
||||||
$ok = $db->Execute($sql,$valarr);
|
$ok = $db->Execute($sql,$valarr);
|
||||||
@@ -980,21 +980,21 @@ class ADODB_Active_Record {
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetAttributeNames()
|
function GetAttributeNames()
|
||||||
{
|
{
|
||||||
$table = $this->TableInfo();
|
$table = $this->TableInfo();
|
||||||
if (!$table) return false;
|
if (!$table) return false;
|
||||||
return array_keys($table->flds);
|
return array_keys($table->flds);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function adodb_GetActiveRecordsClass(&$db, $class, $table,$whereOrderBy,$bindarr, $primkeyArr,
|
function adodb_GetActiveRecordsClass(&$db, $class, $table,$whereOrderBy,$bindarr, $primkeyArr,
|
||||||
$extra)
|
$extra)
|
||||||
{
|
{
|
||||||
$qry = "select * from ".$table;
|
$qry = "select * from ".$table;
|
||||||
|
|
||||||
if (!empty($whereOrderBy)) {
|
if (!empty($whereOrderBy)) {
|
||||||
$qry .= ' WHERE '.$whereOrderBy;
|
$qry .= ' WHERE '.$whereOrderBy;
|
||||||
}
|
}
|
||||||
@@ -1006,7 +1006,7 @@ function adodb_GetActiveRecordsClass2(&$db, $class, $table, $qry, $bindarr, $pri
|
|||||||
{
|
{
|
||||||
global $_ADODB_ACTIVE_DBS;
|
global $_ADODB_ACTIVE_DBS;
|
||||||
|
|
||||||
|
|
||||||
$save = $db->SetFetchMode(ADODB_FETCH_NUM);
|
$save = $db->SetFetchMode(ADODB_FETCH_NUM);
|
||||||
if(isset($extra['limit']))
|
if(isset($extra['limit']))
|
||||||
{
|
{
|
||||||
@@ -1027,13 +1027,13 @@ function adodb_GetActiveRecordsClass2(&$db, $class, $table, $qry, $bindarr, $pri
|
|||||||
}
|
}
|
||||||
|
|
||||||
$db->SetFetchMode($save);
|
$db->SetFetchMode($save);
|
||||||
|
|
||||||
$false = false;
|
$false = false;
|
||||||
|
|
||||||
if ($rows === false) {
|
if ($rows === false) {
|
||||||
return $false;
|
return $false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!class_exists($class)) {
|
if (!class_exists($class)) {
|
||||||
$db->outp_throw("Unknown class $class in GetActiveRecordsClass()",'GetActiveRecordsClass');
|
$db->outp_throw("Unknown class $class in GetActiveRecordsClass()",'GetActiveRecordsClass');
|
||||||
@@ -1047,7 +1047,7 @@ function adodb_GetActiveRecordsClass2(&$db, $class, $table, $qry, $bindarr, $pri
|
|||||||
$arrRef = array();
|
$arrRef = array();
|
||||||
$bTos = array(); // Will store belongTo's indices if any
|
$bTos = array(); // Will store belongTo's indices if any
|
||||||
foreach($rows as $row) {
|
foreach($rows as $row) {
|
||||||
|
|
||||||
$obj = new $class($table,$primkeyArr,$db);
|
$obj = new $class($table,$primkeyArr,$db);
|
||||||
if ($obj->ErrorNo()){
|
if ($obj->ErrorNo()){
|
||||||
$db->_errorMsg = $obj->ErrorMsg();
|
$db->_errorMsg = $obj->ErrorMsg();
|
||||||
@@ -1055,7 +1055,7 @@ function adodb_GetActiveRecordsClass2(&$db, $class, $table, $qry, $bindarr, $pri
|
|||||||
}
|
}
|
||||||
$obj->Set($row);
|
$obj->Set($row);
|
||||||
$arr[] = $obj;
|
$arr[] = $obj;
|
||||||
} // foreach($rows as $row)
|
} // foreach($rows as $row)
|
||||||
|
|
||||||
return $arr;
|
return $arr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"monolog/monolog": "1.13.1",
|
"monolog/monolog": "^1.23",
|
||||||
"twig/twig": "1.23.*",
|
"twig/twig": "1.23.*",
|
||||||
"gettext/gettext": "4.0.0",
|
"gettext/gettext": "4.0.0",
|
||||||
"consolidation/robo": "~1",
|
"consolidation/robo": "~1",
|
||||||
@@ -10,7 +10,8 @@
|
|||||||
"pear/mail": "^1.4",
|
"pear/mail": "^1.4",
|
||||||
"spomky-labs/base64url": "^1.0",
|
"spomky-labs/base64url": "^1.0",
|
||||||
"cebe/markdown": "^1.2",
|
"cebe/markdown": "^1.2",
|
||||||
"neitanod/forceutf8": "^2.0"
|
"neitanod/forceutf8": "^2.0",
|
||||||
|
"google/apiclient": "^2.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~6"
|
"phpunit/phpunit": "~6"
|
||||||
|
|||||||
593
core/lib/composer/composer.lock
generated
593
core/lib/composer/composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "45cdd8adec569a3ef6dfed9c8b1fab41",
|
"content-hash": "bea0e0b37a382bfad7a07c0466ef70bb",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "cebe/markdown",
|
"name": "cebe/markdown",
|
||||||
@@ -607,6 +607,52 @@
|
|||||||
],
|
],
|
||||||
"time": "2017-11-23T18:22:44+00:00"
|
"time": "2017-11-23T18:22:44+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "firebase/php-jwt",
|
||||||
|
"version": "v5.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/firebase/php-jwt.git",
|
||||||
|
"reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
|
||||||
|
"reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": " 4.8.35"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Firebase\\JWT\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Neuman Vong",
|
||||||
|
"email": "neuman+pear@twilio.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Anant Narayanan",
|
||||||
|
"email": "anant@php.net",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
|
||||||
|
"homepage": "https://github.com/firebase/php-jwt",
|
||||||
|
"time": "2017-06-27T22:17:23+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "gettext/gettext",
|
"name": "gettext/gettext",
|
||||||
"version": "v4.0.0",
|
"version": "v4.0.0",
|
||||||
@@ -728,6 +774,149 @@
|
|||||||
],
|
],
|
||||||
"time": "2017-03-23T17:02:28+00:00"
|
"time": "2017-03-23T17:02:28+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "google/apiclient",
|
||||||
|
"version": "v2.2.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/google/google-api-php-client.git",
|
||||||
|
"reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/google/google-api-php-client/zipball/b69b8ac4bf6501793c389d4e013a79d09c85c5f2",
|
||||||
|
"reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0",
|
||||||
|
"google/apiclient-services": "~0.13",
|
||||||
|
"google/auth": "^1.0",
|
||||||
|
"guzzlehttp/guzzle": "~5.3.1|~6.0",
|
||||||
|
"guzzlehttp/psr7": "^1.2",
|
||||||
|
"monolog/monolog": "^1.17",
|
||||||
|
"php": ">=5.4",
|
||||||
|
"phpseclib/phpseclib": "~0.3.10|~2.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"cache/filesystem-adapter": "^0.3.2",
|
||||||
|
"phpunit/phpunit": "~4",
|
||||||
|
"squizlabs/php_codesniffer": "~2.3",
|
||||||
|
"symfony/css-selector": "~2.1",
|
||||||
|
"symfony/dom-crawler": "~2.1"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Google_": "src/"
|
||||||
|
},
|
||||||
|
"classmap": [
|
||||||
|
"src/Google/Service/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "Client library for Google APIs",
|
||||||
|
"homepage": "http://developers.google.com/api-client-library/php",
|
||||||
|
"keywords": [
|
||||||
|
"google"
|
||||||
|
],
|
||||||
|
"time": "2017-11-03T01:19:53+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "google/apiclient-services",
|
||||||
|
"version": "v0.61",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/google/google-api-php-client-services.git",
|
||||||
|
"reference": "f7221039fda179b3f5096a6272b38706f2a6fcd0"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/f7221039fda179b3f5096a6272b38706f2a6fcd0",
|
||||||
|
"reference": "f7221039fda179b3f5096a6272b38706f2a6fcd0",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.4"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.8"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Google_Service_": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "Client library for Google APIs",
|
||||||
|
"homepage": "http://developers.google.com/api-client-library/php",
|
||||||
|
"keywords": [
|
||||||
|
"google"
|
||||||
|
],
|
||||||
|
"time": "2018-05-26T00:23:39+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "google/auth",
|
||||||
|
"version": "v1.3.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/google/google-auth-library-php.git",
|
||||||
|
"reference": "8f7c96146b2c62d3f4c6bbc4b5bb8a8e396b0b71"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/google/google-auth-library-php/zipball/8f7c96146b2c62d3f4c6bbc4b5bb8a8e396b0b71",
|
||||||
|
"reference": "8f7c96146b2c62d3f4c6bbc4b5bb8a8e396b0b71",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0",
|
||||||
|
"guzzlehttp/guzzle": "~5.3.1|~6.0",
|
||||||
|
"guzzlehttp/psr7": "^1.2",
|
||||||
|
"php": ">=5.4",
|
||||||
|
"psr/cache": "^1.0",
|
||||||
|
"psr/http-message": "^1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"friendsofphp/php-cs-fixer": "^1.11",
|
||||||
|
"guzzlehttp/promises": "0.1.1|^1.3",
|
||||||
|
"phpunit/phpunit": "^4.8.36|^5.7",
|
||||||
|
"sebastian/comparator": ">=1.2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Google\\Auth\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "Google Auth Library for PHP",
|
||||||
|
"homepage": "http://github.com/google/google-auth-library-php",
|
||||||
|
"keywords": [
|
||||||
|
"Authentication",
|
||||||
|
"google",
|
||||||
|
"oauth2"
|
||||||
|
],
|
||||||
|
"time": "2018-04-06T19:26:30+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "grasmash/expander",
|
"name": "grasmash/expander",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
@@ -823,6 +1012,187 @@
|
|||||||
"description": "Expands internal property references in a yaml file.",
|
"description": "Expands internal property references in a yaml file.",
|
||||||
"time": "2017-12-16T16:06:03+00:00"
|
"time": "2017-12-16T16:06:03+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/guzzle",
|
||||||
|
"version": "6.3.3",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/guzzle.git",
|
||||||
|
"reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
|
||||||
|
"reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"guzzlehttp/promises": "^1.0",
|
||||||
|
"guzzlehttp/psr7": "^1.4",
|
||||||
|
"php": ">=5.5"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"ext-curl": "*",
|
||||||
|
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
|
||||||
|
"psr/log": "^1.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"psr/log": "Required for using the Log middleware"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "6.3-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle is a PHP HTTP client library",
|
||||||
|
"homepage": "http://guzzlephp.org/",
|
||||||
|
"keywords": [
|
||||||
|
"client",
|
||||||
|
"curl",
|
||||||
|
"framework",
|
||||||
|
"http",
|
||||||
|
"http client",
|
||||||
|
"rest",
|
||||||
|
"web service"
|
||||||
|
],
|
||||||
|
"time": "2018-04-22T15:46:56+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/promises",
|
||||||
|
"version": "v1.3.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/promises.git",
|
||||||
|
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
||||||
|
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.5.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^4.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\Promise\\": "src/"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle promises library",
|
||||||
|
"keywords": [
|
||||||
|
"promise"
|
||||||
|
],
|
||||||
|
"time": "2016-12-20T10:07:11+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/psr7",
|
||||||
|
"version": "1.4.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/psr7.git",
|
||||||
|
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
|
||||||
|
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.4.0",
|
||||||
|
"psr/http-message": "~1.0"
|
||||||
|
},
|
||||||
|
"provide": {
|
||||||
|
"psr/http-message-implementation": "1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\Psr7\\": "src/"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Schultze",
|
||||||
|
"homepage": "https://github.com/Tobion"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PSR-7 message implementation that also provides common utility methods",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"message",
|
||||||
|
"request",
|
||||||
|
"response",
|
||||||
|
"stream",
|
||||||
|
"uri",
|
||||||
|
"url"
|
||||||
|
],
|
||||||
|
"time": "2017-03-20T17:10:46+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "league/container",
|
"name": "league/container",
|
||||||
"version": "2.4.1",
|
"version": "2.4.1",
|
||||||
@@ -890,16 +1260,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "monolog/monolog",
|
"name": "monolog/monolog",
|
||||||
"version": "1.13.1",
|
"version": "1.23.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Seldaek/monolog.git",
|
"url": "https://github.com/Seldaek/monolog.git",
|
||||||
"reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac"
|
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/c31a2c4e8db5da8b46c74cf275d7f109c0f249ac",
|
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
|
||||||
"reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac",
|
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -910,14 +1280,17 @@
|
|||||||
"psr/log-implementation": "1.0.0"
|
"psr/log-implementation": "1.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"aws/aws-sdk-php": "~2.4, >2.4.8",
|
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
|
||||||
"doctrine/couchdb": "~1.0@dev",
|
"doctrine/couchdb": "~1.0@dev",
|
||||||
"graylog2/gelf-php": "~1.0",
|
"graylog2/gelf-php": "~1.0",
|
||||||
"phpunit/phpunit": "~4.0",
|
"jakub-onderka/php-parallel-lint": "0.9",
|
||||||
"raven/raven": "~0.5",
|
"php-amqplib/php-amqplib": "~2.4",
|
||||||
"ruflin/elastica": "0.90.*",
|
"php-console/php-console": "^3.1.3",
|
||||||
"swiftmailer/swiftmailer": "~5.3",
|
"phpunit/phpunit": "~4.5",
|
||||||
"videlalvaro/php-amqplib": "~2.4"
|
"phpunit/phpunit-mock-objects": "2.3.0",
|
||||||
|
"ruflin/elastica": ">=0.90 <3.0",
|
||||||
|
"sentry/sentry": "^0.13",
|
||||||
|
"swiftmailer/swiftmailer": "^5.3|^6.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
|
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
|
||||||
@@ -925,15 +1298,17 @@
|
|||||||
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
|
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
|
||||||
"ext-mongo": "Allow sending log messages to a MongoDB server",
|
"ext-mongo": "Allow sending log messages to a MongoDB server",
|
||||||
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
||||||
"raven/raven": "Allow sending log messages to a Sentry server",
|
"mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
|
||||||
|
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
|
||||||
|
"php-console/php-console": "Allow sending log messages to Google Chrome",
|
||||||
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
||||||
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
|
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
|
||||||
"videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib"
|
"sentry/sentry": "Allow sending log messages to a Sentry server"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.13.x-dev"
|
"dev-master": "2.0.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@@ -959,7 +1334,7 @@
|
|||||||
"logging",
|
"logging",
|
||||||
"psr-3"
|
"psr-3"
|
||||||
],
|
],
|
||||||
"time": "2015-03-09T09:58:04+00:00"
|
"time": "2017-06-19T01:22:40+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "neitanod/forceutf8",
|
"name": "neitanod/forceutf8",
|
||||||
@@ -1313,6 +1688,144 @@
|
|||||||
],
|
],
|
||||||
"time": "2015-02-10T20:07:52+00:00"
|
"time": "2015-02-10T20:07:52+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phpseclib/phpseclib",
|
||||||
|
"version": "2.0.11",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||||
|
"reference": "7053f06f91b3de78e143d430e55a8f7889efc08b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/7053f06f91b3de78e143d430e55a8f7889efc08b",
|
||||||
|
"reference": "7053f06f91b3de78e143d430e55a8f7889efc08b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phing/phing": "~2.7",
|
||||||
|
"phpunit/phpunit": "^4.8.35|^5.7|^6.0",
|
||||||
|
"sami/sami": "~2.0",
|
||||||
|
"squizlabs/php_codesniffer": "~2.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
|
||||||
|
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
|
||||||
|
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
|
||||||
|
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"phpseclib/bootstrap.php"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"phpseclib\\": "phpseclib/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jim Wigginton",
|
||||||
|
"email": "terrafrost@php.net",
|
||||||
|
"role": "Lead Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Patrick Monnerat",
|
||||||
|
"email": "pm@datasphere.ch",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Andreas Fischer",
|
||||||
|
"email": "bantu@phpbb.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Hans-Jürgen Petrich",
|
||||||
|
"email": "petrich@tronic-media.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Graham Campbell",
|
||||||
|
"email": "graham@alt-three.com",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
|
||||||
|
"homepage": "http://phpseclib.sourceforge.net",
|
||||||
|
"keywords": [
|
||||||
|
"BigInteger",
|
||||||
|
"aes",
|
||||||
|
"asn.1",
|
||||||
|
"asn1",
|
||||||
|
"blowfish",
|
||||||
|
"crypto",
|
||||||
|
"cryptography",
|
||||||
|
"encryption",
|
||||||
|
"rsa",
|
||||||
|
"security",
|
||||||
|
"sftp",
|
||||||
|
"signature",
|
||||||
|
"signing",
|
||||||
|
"ssh",
|
||||||
|
"twofish",
|
||||||
|
"x.509",
|
||||||
|
"x509"
|
||||||
|
],
|
||||||
|
"time": "2018-04-15T16:55:05+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/cache",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/cache.git",
|
||||||
|
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||||
|
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Cache\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "http://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for caching libraries",
|
||||||
|
"keywords": [
|
||||||
|
"cache",
|
||||||
|
"psr",
|
||||||
|
"psr-6"
|
||||||
|
],
|
||||||
|
"time": "2016-08-06T20:24:11+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/container",
|
"name": "psr/container",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
@@ -1362,6 +1875,56 @@
|
|||||||
],
|
],
|
||||||
"time": "2017-02-14T16:28:37+00:00"
|
"time": "2017-02-14T16:28:37+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/http-message",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/http-message.git",
|
||||||
|
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
|
||||||
|
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Http\\Message\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "http://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for HTTP messages",
|
||||||
|
"homepage": "https://github.com/php-fig/http-message",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"http-message",
|
||||||
|
"psr",
|
||||||
|
"psr-7",
|
||||||
|
"request",
|
||||||
|
"response"
|
||||||
|
],
|
||||||
|
"time": "2016-08-06T14:39:51+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/log",
|
"name": "psr/log",
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ return array(
|
|||||||
'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/src/Iterator.php',
|
'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/src/Iterator.php',
|
||||||
'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/src/Facade.php',
|
'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/src/Facade.php',
|
||||||
'File_Iterator_Factory' => $vendorDir . '/phpunit/php-file-iterator/src/Factory.php',
|
'File_Iterator_Factory' => $vendorDir . '/phpunit/php-file-iterator/src/Factory.php',
|
||||||
|
'Google_Service_Exception' => $vendorDir . '/google/apiclient/src/Google/Service/Exception.php',
|
||||||
|
'Google_Service_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resource.php',
|
||||||
'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php',
|
'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php',
|
||||||
'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php',
|
'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php',
|
||||||
'PHPUnit\\Framework\\AssertionFailedError' => $vendorDir . '/phpunit/phpunit/src/Framework/AssertionFailedError.php',
|
'PHPUnit\\Framework\\AssertionFailedError' => $vendorDir . '/phpunit/phpunit/src/Framework/AssertionFailedError.php',
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ $baseDir = dirname($vendorDir);
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
|
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||||
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
|
||||||
|
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
|
||||||
|
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
|
||||||
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
||||||
|
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||||
|
'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ return array(
|
|||||||
'PEAR' => array($vendorDir . '/pear/pear_exception'),
|
'PEAR' => array($vendorDir . '/pear/pear_exception'),
|
||||||
'Net' => array($vendorDir . '/pear/net_smtp', $vendorDir . '/pear/net_socket'),
|
'Net' => array($vendorDir . '/pear/net_smtp', $vendorDir . '/pear/net_socket'),
|
||||||
'Mail' => array($vendorDir . '/pear/mail'),
|
'Mail' => array($vendorDir . '/pear/mail'),
|
||||||
|
'Google_Service_' => array($vendorDir . '/google/apiclient-services/src'),
|
||||||
|
'Google_' => array($vendorDir . '/google/apiclient/src'),
|
||||||
'ForceUTF8\\' => array($vendorDir . '/neitanod/forceutf8/src'),
|
'ForceUTF8\\' => array($vendorDir . '/neitanod/forceutf8/src'),
|
||||||
'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'),
|
'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'),
|
||||||
'Dflydev\\DotAccessData' => array($vendorDir . '/dflydev/dot-access-data/src'),
|
'Dflydev\\DotAccessData' => array($vendorDir . '/dflydev/dot-access-data/src'),
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ $vendorDir = dirname(dirname(__FILE__));
|
|||||||
$baseDir = dirname($vendorDir);
|
$baseDir = dirname($vendorDir);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
'phpseclib\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'),
|
||||||
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/reflection-docblock/src', $vendorDir . '/phpdocumentor/type-resolver/src'),
|
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/reflection-docblock/src', $vendorDir . '/phpdocumentor/type-resolver/src'),
|
||||||
'cebe\\markdown\\' => array($vendorDir . '/cebe/markdown'),
|
'cebe\\markdown\\' => array($vendorDir . '/cebe/markdown'),
|
||||||
'Whoops\\' => array($vendorDir . '/filp/whoops/src/Whoops'),
|
'Whoops\\' => array($vendorDir . '/filp/whoops/src/Whoops'),
|
||||||
@@ -20,14 +21,21 @@ return array(
|
|||||||
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
|
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
|
||||||
'Robo\\' => array($vendorDir . '/consolidation/robo/src'),
|
'Robo\\' => array($vendorDir . '/consolidation/robo/src'),
|
||||||
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
|
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
|
||||||
|
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
|
||||||
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
|
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
|
||||||
|
'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
|
||||||
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
|
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
|
||||||
'League\\Container\\' => array($vendorDir . '/league/container/src'),
|
'League\\Container\\' => array($vendorDir . '/league/container/src'),
|
||||||
'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
|
'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'),
|
||||||
|
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
|
||||||
|
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
|
||||||
|
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
|
||||||
'Grasmash\\YamlExpander\\' => array($vendorDir . '/grasmash/yaml-expander/src'),
|
'Grasmash\\YamlExpander\\' => array($vendorDir . '/grasmash/yaml-expander/src'),
|
||||||
'Grasmash\\Expander\\' => array($vendorDir . '/grasmash/expander/src'),
|
'Grasmash\\Expander\\' => array($vendorDir . '/grasmash/expander/src'),
|
||||||
|
'Google\\Auth\\' => array($vendorDir . '/google/auth/src'),
|
||||||
'Gettext\\Languages\\' => array($vendorDir . '/gettext/languages/src'),
|
'Gettext\\Languages\\' => array($vendorDir . '/gettext/languages/src'),
|
||||||
'Gettext\\' => array($vendorDir . '/gettext/gettext/src'),
|
'Gettext\\' => array($vendorDir . '/gettext/gettext/src'),
|
||||||
|
'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
|
||||||
'Egulias\\EmailValidator\\' => array($vendorDir . '/egulias/email-validator/EmailValidator'),
|
'Egulias\\EmailValidator\\' => array($vendorDir . '/egulias/email-validator/EmailValidator'),
|
||||||
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
|
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
|
||||||
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
|
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
|
||||||
|
|||||||
@@ -8,13 +8,18 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
{
|
{
|
||||||
public static $files = array (
|
public static $files = array (
|
||||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||||
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
|
||||||
|
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
|
||||||
|
'37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
|
||||||
'2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
'2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
||||||
|
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||||
|
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
||||||
);
|
);
|
||||||
|
|
||||||
public static $prefixLengthsPsr4 = array (
|
public static $prefixLengthsPsr4 = array (
|
||||||
'p' =>
|
'p' =>
|
||||||
array (
|
array (
|
||||||
|
'phpseclib\\' => 10,
|
||||||
'phpDocumentor\\Reflection\\' => 25,
|
'phpDocumentor\\Reflection\\' => 25,
|
||||||
),
|
),
|
||||||
'c' =>
|
'c' =>
|
||||||
@@ -44,7 +49,9 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
'P' =>
|
'P' =>
|
||||||
array (
|
array (
|
||||||
'Psr\\Log\\' => 8,
|
'Psr\\Log\\' => 8,
|
||||||
|
'Psr\\Http\\Message\\' => 17,
|
||||||
'Psr\\Container\\' => 14,
|
'Psr\\Container\\' => 14,
|
||||||
|
'Psr\\Cache\\' => 10,
|
||||||
),
|
),
|
||||||
'M' =>
|
'M' =>
|
||||||
array (
|
array (
|
||||||
@@ -60,11 +67,19 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
),
|
),
|
||||||
'G' =>
|
'G' =>
|
||||||
array (
|
array (
|
||||||
|
'GuzzleHttp\\Psr7\\' => 16,
|
||||||
|
'GuzzleHttp\\Promise\\' => 19,
|
||||||
|
'GuzzleHttp\\' => 11,
|
||||||
'Grasmash\\YamlExpander\\' => 22,
|
'Grasmash\\YamlExpander\\' => 22,
|
||||||
'Grasmash\\Expander\\' => 18,
|
'Grasmash\\Expander\\' => 18,
|
||||||
|
'Google\\Auth\\' => 12,
|
||||||
'Gettext\\Languages\\' => 18,
|
'Gettext\\Languages\\' => 18,
|
||||||
'Gettext\\' => 8,
|
'Gettext\\' => 8,
|
||||||
),
|
),
|
||||||
|
'F' =>
|
||||||
|
array (
|
||||||
|
'Firebase\\JWT\\' => 13,
|
||||||
|
),
|
||||||
'E' =>
|
'E' =>
|
||||||
array (
|
array (
|
||||||
'Egulias\\EmailValidator\\' => 23,
|
'Egulias\\EmailValidator\\' => 23,
|
||||||
@@ -88,6 +103,10 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
);
|
);
|
||||||
|
|
||||||
public static $prefixDirsPsr4 = array (
|
public static $prefixDirsPsr4 = array (
|
||||||
|
'phpseclib\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib',
|
||||||
|
),
|
||||||
'phpDocumentor\\Reflection\\' =>
|
'phpDocumentor\\Reflection\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src',
|
0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src',
|
||||||
@@ -146,10 +165,18 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
|
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
|
||||||
),
|
),
|
||||||
|
'Psr\\Http\\Message\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/psr/http-message/src',
|
||||||
|
),
|
||||||
'Psr\\Container\\' =>
|
'Psr\\Container\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/psr/container/src',
|
0 => __DIR__ . '/..' . '/psr/container/src',
|
||||||
),
|
),
|
||||||
|
'Psr\\Cache\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/psr/cache/src',
|
||||||
|
),
|
||||||
'Monolog\\' =>
|
'Monolog\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
|
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
|
||||||
@@ -162,6 +189,18 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/container-interop/container-interop/src/Interop/Container',
|
0 => __DIR__ . '/..' . '/container-interop/container-interop/src/Interop/Container',
|
||||||
),
|
),
|
||||||
|
'GuzzleHttp\\Psr7\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
|
||||||
|
),
|
||||||
|
'GuzzleHttp\\Promise\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
|
||||||
|
),
|
||||||
|
'GuzzleHttp\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
|
||||||
|
),
|
||||||
'Grasmash\\YamlExpander\\' =>
|
'Grasmash\\YamlExpander\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/grasmash/yaml-expander/src',
|
0 => __DIR__ . '/..' . '/grasmash/yaml-expander/src',
|
||||||
@@ -170,6 +209,10 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/grasmash/expander/src',
|
0 => __DIR__ . '/..' . '/grasmash/expander/src',
|
||||||
),
|
),
|
||||||
|
'Google\\Auth\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/google/auth/src',
|
||||||
|
),
|
||||||
'Gettext\\Languages\\' =>
|
'Gettext\\Languages\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/gettext/languages/src',
|
0 => __DIR__ . '/..' . '/gettext/languages/src',
|
||||||
@@ -178,6 +221,10 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/gettext/gettext/src',
|
0 => __DIR__ . '/..' . '/gettext/gettext/src',
|
||||||
),
|
),
|
||||||
|
'Firebase\\JWT\\' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/firebase/php-jwt/src',
|
||||||
|
),
|
||||||
'Egulias\\EmailValidator\\' =>
|
'Egulias\\EmailValidator\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/egulias/email-validator/EmailValidator',
|
0 => __DIR__ . '/..' . '/egulias/email-validator/EmailValidator',
|
||||||
@@ -250,6 +297,17 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
0 => __DIR__ . '/..' . '/pear/mail',
|
0 => __DIR__ . '/..' . '/pear/mail',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'G' =>
|
||||||
|
array (
|
||||||
|
'Google_Service_' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/google/apiclient-services/src',
|
||||||
|
),
|
||||||
|
'Google_' =>
|
||||||
|
array (
|
||||||
|
0 => __DIR__ . '/..' . '/google/apiclient/src',
|
||||||
|
),
|
||||||
|
),
|
||||||
'F' =>
|
'F' =>
|
||||||
array (
|
array (
|
||||||
'ForceUTF8\\' =>
|
'ForceUTF8\\' =>
|
||||||
@@ -285,6 +343,8 @@ class ComposerStaticInit6d4a28cd96a5bc5d5b97781c062572d9
|
|||||||
'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php',
|
'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php',
|
||||||
'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php',
|
'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php',
|
||||||
'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php',
|
'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php',
|
||||||
|
'Google_Service_Exception' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Exception.php',
|
||||||
|
'Google_Service_Resource' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Resource.php',
|
||||||
'PHPUnit\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php',
|
'PHPUnit\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php',
|
||||||
'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php',
|
'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php',
|
||||||
'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php',
|
'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php',
|
||||||
|
|||||||
613
core/lib/composer/vendor/composer/installed.json
vendored
613
core/lib/composer/vendor/composer/installed.json
vendored
@@ -678,6 +678,54 @@
|
|||||||
"whoops"
|
"whoops"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "firebase/php-jwt",
|
||||||
|
"version": "v5.0.0",
|
||||||
|
"version_normalized": "5.0.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/firebase/php-jwt.git",
|
||||||
|
"reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
|
||||||
|
"reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": " 4.8.35"
|
||||||
|
},
|
||||||
|
"time": "2017-06-27T22:17:23+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Firebase\\JWT\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Neuman Vong",
|
||||||
|
"email": "neuman+pear@twilio.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Anant Narayanan",
|
||||||
|
"email": "anant@php.net",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
|
||||||
|
"homepage": "https://github.com/firebase/php-jwt"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "gettext/gettext",
|
"name": "gettext/gettext",
|
||||||
"version": "v4.0.0",
|
"version": "v4.0.0",
|
||||||
@@ -803,6 +851,155 @@
|
|||||||
"unicode"
|
"unicode"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "google/apiclient",
|
||||||
|
"version": "v2.2.1",
|
||||||
|
"version_normalized": "2.2.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/google/google-api-php-client.git",
|
||||||
|
"reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/google/google-api-php-client/zipball/b69b8ac4bf6501793c389d4e013a79d09c85c5f2",
|
||||||
|
"reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0",
|
||||||
|
"google/apiclient-services": "~0.13",
|
||||||
|
"google/auth": "^1.0",
|
||||||
|
"guzzlehttp/guzzle": "~5.3.1|~6.0",
|
||||||
|
"guzzlehttp/psr7": "^1.2",
|
||||||
|
"monolog/monolog": "^1.17",
|
||||||
|
"php": ">=5.4",
|
||||||
|
"phpseclib/phpseclib": "~0.3.10|~2.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"cache/filesystem-adapter": "^0.3.2",
|
||||||
|
"phpunit/phpunit": "~4",
|
||||||
|
"squizlabs/php_codesniffer": "~2.3",
|
||||||
|
"symfony/css-selector": "~2.1",
|
||||||
|
"symfony/dom-crawler": "~2.1"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
|
||||||
|
},
|
||||||
|
"time": "2017-11-03T01:19:53+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Google_": "src/"
|
||||||
|
},
|
||||||
|
"classmap": [
|
||||||
|
"src/Google/Service/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "Client library for Google APIs",
|
||||||
|
"homepage": "http://developers.google.com/api-client-library/php",
|
||||||
|
"keywords": [
|
||||||
|
"google"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "google/apiclient-services",
|
||||||
|
"version": "v0.61",
|
||||||
|
"version_normalized": "0.61.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/google/google-api-php-client-services.git",
|
||||||
|
"reference": "f7221039fda179b3f5096a6272b38706f2a6fcd0"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/f7221039fda179b3f5096a6272b38706f2a6fcd0",
|
||||||
|
"reference": "f7221039fda179b3f5096a6272b38706f2a6fcd0",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.4"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.8"
|
||||||
|
},
|
||||||
|
"time": "2018-05-26T00:23:39+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Google_Service_": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "Client library for Google APIs",
|
||||||
|
"homepage": "http://developers.google.com/api-client-library/php",
|
||||||
|
"keywords": [
|
||||||
|
"google"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "google/auth",
|
||||||
|
"version": "v1.3.0",
|
||||||
|
"version_normalized": "1.3.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/google/google-auth-library-php.git",
|
||||||
|
"reference": "8f7c96146b2c62d3f4c6bbc4b5bb8a8e396b0b71"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/google/google-auth-library-php/zipball/8f7c96146b2c62d3f4c6bbc4b5bb8a8e396b0b71",
|
||||||
|
"reference": "8f7c96146b2c62d3f4c6bbc4b5bb8a8e396b0b71",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0",
|
||||||
|
"guzzlehttp/guzzle": "~5.3.1|~6.0",
|
||||||
|
"guzzlehttp/psr7": "^1.2",
|
||||||
|
"php": ">=5.4",
|
||||||
|
"psr/cache": "^1.0",
|
||||||
|
"psr/http-message": "^1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"friendsofphp/php-cs-fixer": "^1.11",
|
||||||
|
"guzzlehttp/promises": "0.1.1|^1.3",
|
||||||
|
"phpunit/phpunit": "^4.8.36|^5.7",
|
||||||
|
"sebastian/comparator": ">=1.2.3"
|
||||||
|
},
|
||||||
|
"time": "2018-04-06T19:26:30+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Google\\Auth\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "Google Auth Library for PHP",
|
||||||
|
"homepage": "http://github.com/google/google-auth-library-php",
|
||||||
|
"keywords": [
|
||||||
|
"Authentication",
|
||||||
|
"google",
|
||||||
|
"oauth2"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "grasmash/expander",
|
"name": "grasmash/expander",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
@@ -902,6 +1099,193 @@
|
|||||||
],
|
],
|
||||||
"description": "Expands internal property references in a yaml file."
|
"description": "Expands internal property references in a yaml file."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/guzzle",
|
||||||
|
"version": "6.3.3",
|
||||||
|
"version_normalized": "6.3.3.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/guzzle.git",
|
||||||
|
"reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
|
||||||
|
"reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"guzzlehttp/promises": "^1.0",
|
||||||
|
"guzzlehttp/psr7": "^1.4",
|
||||||
|
"php": ">=5.5"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"ext-curl": "*",
|
||||||
|
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
|
||||||
|
"psr/log": "^1.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"psr/log": "Required for using the Log middleware"
|
||||||
|
},
|
||||||
|
"time": "2018-04-22T15:46:56+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "6.3-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle is a PHP HTTP client library",
|
||||||
|
"homepage": "http://guzzlephp.org/",
|
||||||
|
"keywords": [
|
||||||
|
"client",
|
||||||
|
"curl",
|
||||||
|
"framework",
|
||||||
|
"http",
|
||||||
|
"http client",
|
||||||
|
"rest",
|
||||||
|
"web service"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/promises",
|
||||||
|
"version": "v1.3.1",
|
||||||
|
"version_normalized": "1.3.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/promises.git",
|
||||||
|
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
||||||
|
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.5.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^4.0"
|
||||||
|
},
|
||||||
|
"time": "2016-12-20T10:07:11+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\Promise\\": "src/"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle promises library",
|
||||||
|
"keywords": [
|
||||||
|
"promise"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/psr7",
|
||||||
|
"version": "1.4.2",
|
||||||
|
"version_normalized": "1.4.2.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/psr7.git",
|
||||||
|
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
|
||||||
|
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.4.0",
|
||||||
|
"psr/http-message": "~1.0"
|
||||||
|
},
|
||||||
|
"provide": {
|
||||||
|
"psr/http-message-implementation": "1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.0"
|
||||||
|
},
|
||||||
|
"time": "2017-03-20T17:10:46+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\Psr7\\": "src/"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Schultze",
|
||||||
|
"homepage": "https://github.com/Tobion"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PSR-7 message implementation that also provides common utility methods",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"message",
|
||||||
|
"request",
|
||||||
|
"response",
|
||||||
|
"stream",
|
||||||
|
"uri",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "league/container",
|
"name": "league/container",
|
||||||
"version": "2.4.1",
|
"version": "2.4.1",
|
||||||
@@ -971,17 +1355,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "monolog/monolog",
|
"name": "monolog/monolog",
|
||||||
"version": "1.13.1",
|
"version": "1.23.0",
|
||||||
"version_normalized": "1.13.1.0",
|
"version_normalized": "1.23.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Seldaek/monolog.git",
|
"url": "https://github.com/Seldaek/monolog.git",
|
||||||
"reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac"
|
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/c31a2c4e8db5da8b46c74cf275d7f109c0f249ac",
|
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
|
||||||
"reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac",
|
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -992,14 +1376,17 @@
|
|||||||
"psr/log-implementation": "1.0.0"
|
"psr/log-implementation": "1.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"aws/aws-sdk-php": "~2.4, >2.4.8",
|
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
|
||||||
"doctrine/couchdb": "~1.0@dev",
|
"doctrine/couchdb": "~1.0@dev",
|
||||||
"graylog2/gelf-php": "~1.0",
|
"graylog2/gelf-php": "~1.0",
|
||||||
"phpunit/phpunit": "~4.0",
|
"jakub-onderka/php-parallel-lint": "0.9",
|
||||||
"raven/raven": "~0.5",
|
"php-amqplib/php-amqplib": "~2.4",
|
||||||
"ruflin/elastica": "0.90.*",
|
"php-console/php-console": "^3.1.3",
|
||||||
"swiftmailer/swiftmailer": "~5.3",
|
"phpunit/phpunit": "~4.5",
|
||||||
"videlalvaro/php-amqplib": "~2.4"
|
"phpunit/phpunit-mock-objects": "2.3.0",
|
||||||
|
"ruflin/elastica": ">=0.90 <3.0",
|
||||||
|
"sentry/sentry": "^0.13",
|
||||||
|
"swiftmailer/swiftmailer": "^5.3|^6.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
|
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
|
||||||
@@ -1007,16 +1394,18 @@
|
|||||||
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
|
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
|
||||||
"ext-mongo": "Allow sending log messages to a MongoDB server",
|
"ext-mongo": "Allow sending log messages to a MongoDB server",
|
||||||
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
||||||
"raven/raven": "Allow sending log messages to a Sentry server",
|
"mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
|
||||||
|
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
|
||||||
|
"php-console/php-console": "Allow sending log messages to Google Chrome",
|
||||||
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
||||||
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
|
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
|
||||||
"videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib"
|
"sentry/sentry": "Allow sending log messages to a Sentry server"
|
||||||
},
|
},
|
||||||
"time": "2015-03-09T09:58:04+00:00",
|
"time": "2017-06-19T01:22:40+00:00",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.13.x-dev"
|
"dev-master": "2.0.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"installation-source": "dist",
|
"installation-source": "dist",
|
||||||
@@ -1721,6 +2110,100 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phpseclib/phpseclib",
|
||||||
|
"version": "2.0.11",
|
||||||
|
"version_normalized": "2.0.11.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||||
|
"reference": "7053f06f91b3de78e143d430e55a8f7889efc08b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/7053f06f91b3de78e143d430e55a8f7889efc08b",
|
||||||
|
"reference": "7053f06f91b3de78e143d430e55a8f7889efc08b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phing/phing": "~2.7",
|
||||||
|
"phpunit/phpunit": "^4.8.35|^5.7|^6.0",
|
||||||
|
"sami/sami": "~2.0",
|
||||||
|
"squizlabs/php_codesniffer": "~2.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
|
||||||
|
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
|
||||||
|
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
|
||||||
|
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
|
||||||
|
},
|
||||||
|
"time": "2018-04-15T16:55:05+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"phpseclib/bootstrap.php"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"phpseclib\\": "phpseclib/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jim Wigginton",
|
||||||
|
"email": "terrafrost@php.net",
|
||||||
|
"role": "Lead Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Patrick Monnerat",
|
||||||
|
"email": "pm@datasphere.ch",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Andreas Fischer",
|
||||||
|
"email": "bantu@phpbb.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Hans-Jürgen Petrich",
|
||||||
|
"email": "petrich@tronic-media.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Graham Campbell",
|
||||||
|
"email": "graham@alt-three.com",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
|
||||||
|
"homepage": "http://phpseclib.sourceforge.net",
|
||||||
|
"keywords": [
|
||||||
|
"BigInteger",
|
||||||
|
"aes",
|
||||||
|
"asn.1",
|
||||||
|
"asn1",
|
||||||
|
"blowfish",
|
||||||
|
"crypto",
|
||||||
|
"cryptography",
|
||||||
|
"encryption",
|
||||||
|
"rsa",
|
||||||
|
"security",
|
||||||
|
"sftp",
|
||||||
|
"signature",
|
||||||
|
"signing",
|
||||||
|
"ssh",
|
||||||
|
"twofish",
|
||||||
|
"x.509",
|
||||||
|
"x509"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "phpspec/prophecy",
|
"name": "phpspec/prophecy",
|
||||||
"version": "1.7.3",
|
"version": "1.7.3",
|
||||||
@@ -2192,6 +2675,54 @@
|
|||||||
"xunit"
|
"xunit"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/cache",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"version_normalized": "1.0.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/cache.git",
|
||||||
|
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||||
|
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"time": "2016-08-06T20:24:11+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Cache\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "http://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for caching libraries",
|
||||||
|
"keywords": [
|
||||||
|
"cache",
|
||||||
|
"psr",
|
||||||
|
"psr-6"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/container",
|
"name": "psr/container",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
@@ -2243,6 +2774,58 @@
|
|||||||
"psr"
|
"psr"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/http-message",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"version_normalized": "1.0.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/http-message.git",
|
||||||
|
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
|
||||||
|
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"time": "2016-08-06T14:39:51+00:00",
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installation-source": "dist",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Http\\Message\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "http://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for HTTP messages",
|
||||||
|
"homepage": "https://github.com/php-fig/http-message",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"http-message",
|
||||||
|
"psr",
|
||||||
|
"psr-7",
|
||||||
|
"request",
|
||||||
|
"response"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/log",
|
"name": "psr/log",
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
|
|||||||
30
core/lib/composer/vendor/firebase/php-jwt/LICENSE
vendored
Normal file
30
core/lib/composer/vendor/firebase/php-jwt/LICENSE
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
Copyright (c) 2011, Neuman Vong
|
||||||
|
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
|
||||||
|
* Neither the name of Neuman Vong nor the names of other
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
200
core/lib/composer/vendor/firebase/php-jwt/README.md
vendored
Normal file
200
core/lib/composer/vendor/firebase/php-jwt/README.md
vendored
Normal file
@@ -0,0 +1,200 @@
|
|||||||
|
[](https://travis-ci.org/firebase/php-jwt)
|
||||||
|
[](https://packagist.org/packages/firebase/php-jwt)
|
||||||
|
[](https://packagist.org/packages/firebase/php-jwt)
|
||||||
|
[](https://packagist.org/packages/firebase/php-jwt)
|
||||||
|
|
||||||
|
PHP-JWT
|
||||||
|
=======
|
||||||
|
A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Use composer to manage your dependencies and download PHP-JWT:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
composer require firebase/php-jwt
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
use \Firebase\JWT\JWT;
|
||||||
|
|
||||||
|
$key = "example_key";
|
||||||
|
$token = array(
|
||||||
|
"iss" => "http://example.org",
|
||||||
|
"aud" => "http://example.com",
|
||||||
|
"iat" => 1356999524,
|
||||||
|
"nbf" => 1357000000
|
||||||
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* IMPORTANT:
|
||||||
|
* You must specify supported algorithms for your application. See
|
||||||
|
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40
|
||||||
|
* for a list of spec-compliant algorithms.
|
||||||
|
*/
|
||||||
|
$jwt = JWT::encode($token, $key);
|
||||||
|
$decoded = JWT::decode($jwt, $key, array('HS256'));
|
||||||
|
|
||||||
|
print_r($decoded);
|
||||||
|
|
||||||
|
/*
|
||||||
|
NOTE: This will now be an object instead of an associative array. To get
|
||||||
|
an associative array, you will need to cast it as such:
|
||||||
|
*/
|
||||||
|
|
||||||
|
$decoded_array = (array) $decoded;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* You can add a leeway to account for when there is a clock skew times between
|
||||||
|
* the signing and verifying servers. It is recommended that this leeway should
|
||||||
|
* not be bigger than a few minutes.
|
||||||
|
*
|
||||||
|
* Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef
|
||||||
|
*/
|
||||||
|
JWT::$leeway = 60; // $leeway in seconds
|
||||||
|
$decoded = JWT::decode($jwt, $key, array('HS256'));
|
||||||
|
|
||||||
|
?>
|
||||||
|
```
|
||||||
|
Example with RS256 (openssl)
|
||||||
|
----------------------------
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
use \Firebase\JWT\JWT;
|
||||||
|
|
||||||
|
$privateKey = <<<EOD
|
||||||
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
MIICXAIBAAKBgQC8kGa1pSjbSYZVebtTRBLxBz5H4i2p/llLCrEeQhta5kaQu/Rn
|
||||||
|
vuER4W8oDH3+3iuIYW4VQAzyqFpwuzjkDI+17t5t0tyazyZ8JXw+KgXTxldMPEL9
|
||||||
|
5+qVhgXvwtihXC1c5oGbRlEDvDF6Sa53rcFVsYJ4ehde/zUxo6UvS7UrBQIDAQAB
|
||||||
|
AoGAb/MXV46XxCFRxNuB8LyAtmLDgi/xRnTAlMHjSACddwkyKem8//8eZtw9fzxz
|
||||||
|
bWZ/1/doQOuHBGYZU8aDzzj59FZ78dyzNFoF91hbvZKkg+6wGyd/LrGVEB+Xre0J
|
||||||
|
Nil0GReM2AHDNZUYRv+HYJPIOrB0CRczLQsgFJ8K6aAD6F0CQQDzbpjYdx10qgK1
|
||||||
|
cP59UHiHjPZYC0loEsk7s+hUmT3QHerAQJMZWC11Qrn2N+ybwwNblDKv+s5qgMQ5
|
||||||
|
5tNoQ9IfAkEAxkyffU6ythpg/H0Ixe1I2rd0GbF05biIzO/i77Det3n4YsJVlDck
|
||||||
|
ZkcvY3SK2iRIL4c9yY6hlIhs+K9wXTtGWwJBAO9Dskl48mO7woPR9uD22jDpNSwe
|
||||||
|
k90OMepTjzSvlhjbfuPN1IdhqvSJTDychRwn1kIJ7LQZgQ8fVz9OCFZ/6qMCQGOb
|
||||||
|
qaGwHmUK6xzpUbbacnYrIM6nLSkXgOAwv7XXCojvY614ILTK3iXiLBOxPu5Eu13k
|
||||||
|
eUz9sHyD6vkgZzjtxXECQAkp4Xerf5TGfQXGXhxIX52yH+N2LtujCdkQZjXAsGdm
|
||||||
|
B2zNzvrlgRmgBrklMTrMYgm1NPcW+bRLGcwgW2PTvNM=
|
||||||
|
-----END RSA PRIVATE KEY-----
|
||||||
|
EOD;
|
||||||
|
|
||||||
|
$publicKey = <<<EOD
|
||||||
|
-----BEGIN PUBLIC KEY-----
|
||||||
|
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8kGa1pSjbSYZVebtTRBLxBz5H
|
||||||
|
4i2p/llLCrEeQhta5kaQu/RnvuER4W8oDH3+3iuIYW4VQAzyqFpwuzjkDI+17t5t
|
||||||
|
0tyazyZ8JXw+KgXTxldMPEL95+qVhgXvwtihXC1c5oGbRlEDvDF6Sa53rcFVsYJ4
|
||||||
|
ehde/zUxo6UvS7UrBQIDAQAB
|
||||||
|
-----END PUBLIC KEY-----
|
||||||
|
EOD;
|
||||||
|
|
||||||
|
$token = array(
|
||||||
|
"iss" => "example.org",
|
||||||
|
"aud" => "example.com",
|
||||||
|
"iat" => 1356999524,
|
||||||
|
"nbf" => 1357000000
|
||||||
|
);
|
||||||
|
|
||||||
|
$jwt = JWT::encode($token, $privateKey, 'RS256');
|
||||||
|
echo "Encode:\n" . print_r($jwt, true) . "\n";
|
||||||
|
|
||||||
|
$decoded = JWT::decode($jwt, $publicKey, array('RS256'));
|
||||||
|
|
||||||
|
/*
|
||||||
|
NOTE: This will now be an object instead of an associative array. To get
|
||||||
|
an associative array, you will need to cast it as such:
|
||||||
|
*/
|
||||||
|
|
||||||
|
$decoded_array = (array) $decoded;
|
||||||
|
echo "Decode:\n" . print_r($decoded_array, true) . "\n";
|
||||||
|
?>
|
||||||
|
```
|
||||||
|
|
||||||
|
Changelog
|
||||||
|
---------
|
||||||
|
|
||||||
|
#### 5.0.0 / 2017-06-26
|
||||||
|
- Support RS384 and RS512.
|
||||||
|
See [#117](https://github.com/firebase/php-jwt/pull/117). Thanks [@joostfaassen](https://github.com/joostfaassen)!
|
||||||
|
- Add an example for RS256 openssl.
|
||||||
|
See [#125](https://github.com/firebase/php-jwt/pull/125). Thanks [@akeeman](https://github.com/akeeman)!
|
||||||
|
- Detect invalid Base64 encoding in signature.
|
||||||
|
See [#162](https://github.com/firebase/php-jwt/pull/162). Thanks [@psignoret](https://github.com/psignoret)!
|
||||||
|
- Update `JWT::verify` to handle OpenSSL errors.
|
||||||
|
See [#159](https://github.com/firebase/php-jwt/pull/159). Thanks [@bshaffer](https://github.com/bshaffer)!
|
||||||
|
- Add `array` type hinting to `decode` method
|
||||||
|
See [#101](https://github.com/firebase/php-jwt/pull/101). Thanks [@hywak](https://github.com/hywak)!
|
||||||
|
- Add all JSON error types.
|
||||||
|
See [#110](https://github.com/firebase/php-jwt/pull/110). Thanks [@gbalduzzi](https://github.com/gbalduzzi)!
|
||||||
|
- Bugfix 'kid' not in given key list.
|
||||||
|
See [#129](https://github.com/firebase/php-jwt/pull/129). Thanks [@stampycode](https://github.com/stampycode)!
|
||||||
|
- Miscellaneous cleanup, documentation and test fixes.
|
||||||
|
See [#107](https://github.com/firebase/php-jwt/pull/107), [#115](https://github.com/firebase/php-jwt/pull/115),
|
||||||
|
[#160](https://github.com/firebase/php-jwt/pull/160), [#161](https://github.com/firebase/php-jwt/pull/161), and
|
||||||
|
[#165](https://github.com/firebase/php-jwt/pull/165). Thanks [@akeeman](https://github.com/akeeman),
|
||||||
|
[@chinedufn](https://github.com/chinedufn), and [@bshaffer](https://github.com/bshaffer)!
|
||||||
|
|
||||||
|
#### 4.0.0 / 2016-07-17
|
||||||
|
- Add support for late static binding. See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://github.com/chappy84)!
|
||||||
|
- Use static `$timestamp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pull/93) for details. Thanks to [@josephmcdermott](https://github.com/josephmcdermott)!
|
||||||
|
- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)!
|
||||||
|
- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)!
|
||||||
|
|
||||||
|
#### 3.0.0 / 2015-07-22
|
||||||
|
- Minimum PHP version updated from `5.2.0` to `5.3.0`.
|
||||||
|
- Add `\Firebase\JWT` namespace. See
|
||||||
|
[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
|
||||||
|
[@Dashron](https://github.com/Dashron)!
|
||||||
|
- Require a non-empty key to decode and verify a JWT. See
|
||||||
|
[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
|
||||||
|
[@sjones608](https://github.com/sjones608)!
|
||||||
|
- Cleaner documentation blocks in the code. See
|
||||||
|
[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
|
||||||
|
[@johanderuijter](https://github.com/johanderuijter)!
|
||||||
|
|
||||||
|
#### 2.2.0 / 2015-06-22
|
||||||
|
- Add support for adding custom, optional JWT headers to `JWT::encode()`. See
|
||||||
|
[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
|
||||||
|
[@mcocaro](https://github.com/mcocaro)!
|
||||||
|
|
||||||
|
#### 2.1.0 / 2015-05-20
|
||||||
|
- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
|
||||||
|
between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
|
||||||
|
- Add support for passing an object implementing the `ArrayAccess` interface for
|
||||||
|
`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
|
||||||
|
|
||||||
|
#### 2.0.0 / 2015-04-01
|
||||||
|
- **Note**: It is strongly recommended that you update to > v2.0.0 to address
|
||||||
|
known security vulnerabilities in prior versions when both symmetric and
|
||||||
|
asymmetric keys are used together.
|
||||||
|
- Update signature for `JWT::decode(...)` to require an array of supported
|
||||||
|
algorithms to use when verifying token signatures.
|
||||||
|
|
||||||
|
|
||||||
|
Tests
|
||||||
|
-----
|
||||||
|
Run the tests using phpunit:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ pear install PHPUnit
|
||||||
|
$ phpunit --configuration phpunit.xml.dist
|
||||||
|
PHPUnit 3.7.10 by Sebastian Bergmann.
|
||||||
|
.....
|
||||||
|
Time: 0 seconds, Memory: 2.50Mb
|
||||||
|
OK (5 tests, 5 assertions)
|
||||||
|
```
|
||||||
|
|
||||||
|
New Lines in private keys
|
||||||
|
-----
|
||||||
|
|
||||||
|
If your private key contains `\n` characters, be sure to wrap it in double quotes `""`
|
||||||
|
and not single quotes `''` in order to properly interpret the escaped characters.
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).
|
||||||
29
core/lib/composer/vendor/firebase/php-jwt/composer.json
vendored
Normal file
29
core/lib/composer/vendor/firebase/php-jwt/composer.json
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"name": "firebase/php-jwt",
|
||||||
|
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
|
||||||
|
"homepage": "https://github.com/firebase/php-jwt",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Neuman Vong",
|
||||||
|
"email": "neuman+pear@twilio.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Anant Narayanan",
|
||||||
|
"email": "anant@php.net",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "BSD-3-Clause",
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Firebase\\JWT\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": " 4.8.35"
|
||||||
|
}
|
||||||
|
}
|
||||||
7
core/lib/composer/vendor/firebase/php-jwt/src/BeforeValidException.php
vendored
Normal file
7
core/lib/composer/vendor/firebase/php-jwt/src/BeforeValidException.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
namespace Firebase\JWT;
|
||||||
|
|
||||||
|
class BeforeValidException extends \UnexpectedValueException
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
7
core/lib/composer/vendor/firebase/php-jwt/src/ExpiredException.php
vendored
Normal file
7
core/lib/composer/vendor/firebase/php-jwt/src/ExpiredException.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
namespace Firebase\JWT;
|
||||||
|
|
||||||
|
class ExpiredException extends \UnexpectedValueException
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
379
core/lib/composer/vendor/firebase/php-jwt/src/JWT.php
vendored
Normal file
379
core/lib/composer/vendor/firebase/php-jwt/src/JWT.php
vendored
Normal file
@@ -0,0 +1,379 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Firebase\JWT;
|
||||||
|
use \DomainException;
|
||||||
|
use \InvalidArgumentException;
|
||||||
|
use \UnexpectedValueException;
|
||||||
|
use \DateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* JSON Web Token implementation, based on this spec:
|
||||||
|
* https://tools.ietf.org/html/rfc7519
|
||||||
|
*
|
||||||
|
* PHP version 5
|
||||||
|
*
|
||||||
|
* @category Authentication
|
||||||
|
* @package Authentication_JWT
|
||||||
|
* @author Neuman Vong <neuman@twilio.com>
|
||||||
|
* @author Anant Narayanan <anant@php.net>
|
||||||
|
* @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD
|
||||||
|
* @link https://github.com/firebase/php-jwt
|
||||||
|
*/
|
||||||
|
class JWT
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* When checking nbf, iat or expiration times,
|
||||||
|
* we want to provide some extra leeway time to
|
||||||
|
* account for clock skew.
|
||||||
|
*/
|
||||||
|
public static $leeway = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Allow the current timestamp to be specified.
|
||||||
|
* Useful for fixing a value within unit testing.
|
||||||
|
*
|
||||||
|
* Will default to PHP time() value if null.
|
||||||
|
*/
|
||||||
|
public static $timestamp = null;
|
||||||
|
|
||||||
|
public static $supported_algs = array(
|
||||||
|
'HS256' => array('hash_hmac', 'SHA256'),
|
||||||
|
'HS512' => array('hash_hmac', 'SHA512'),
|
||||||
|
'HS384' => array('hash_hmac', 'SHA384'),
|
||||||
|
'RS256' => array('openssl', 'SHA256'),
|
||||||
|
'RS384' => array('openssl', 'SHA384'),
|
||||||
|
'RS512' => array('openssl', 'SHA512'),
|
||||||
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Decodes a JWT string into a PHP object.
|
||||||
|
*
|
||||||
|
* @param string $jwt The JWT
|
||||||
|
* @param string|array $key The key, or map of keys.
|
||||||
|
* If the algorithm used is asymmetric, this is the public key
|
||||||
|
* @param array $allowed_algs List of supported verification algorithms
|
||||||
|
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
|
||||||
|
*
|
||||||
|
* @return object The JWT's payload as a PHP object
|
||||||
|
*
|
||||||
|
* @throws UnexpectedValueException Provided JWT was invalid
|
||||||
|
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
|
||||||
|
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
|
||||||
|
* @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat'
|
||||||
|
* @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim
|
||||||
|
*
|
||||||
|
* @uses jsonDecode
|
||||||
|
* @uses urlsafeB64Decode
|
||||||
|
*/
|
||||||
|
public static function decode($jwt, $key, array $allowed_algs = array())
|
||||||
|
{
|
||||||
|
$timestamp = is_null(static::$timestamp) ? time() : static::$timestamp;
|
||||||
|
|
||||||
|
if (empty($key)) {
|
||||||
|
throw new InvalidArgumentException('Key may not be empty');
|
||||||
|
}
|
||||||
|
$tks = explode('.', $jwt);
|
||||||
|
if (count($tks) != 3) {
|
||||||
|
throw new UnexpectedValueException('Wrong number of segments');
|
||||||
|
}
|
||||||
|
list($headb64, $bodyb64, $cryptob64) = $tks;
|
||||||
|
if (null === ($header = static::jsonDecode(static::urlsafeB64Decode($headb64)))) {
|
||||||
|
throw new UnexpectedValueException('Invalid header encoding');
|
||||||
|
}
|
||||||
|
if (null === $payload = static::jsonDecode(static::urlsafeB64Decode($bodyb64))) {
|
||||||
|
throw new UnexpectedValueException('Invalid claims encoding');
|
||||||
|
}
|
||||||
|
if (false === ($sig = static::urlsafeB64Decode($cryptob64))) {
|
||||||
|
throw new UnexpectedValueException('Invalid signature encoding');
|
||||||
|
}
|
||||||
|
if (empty($header->alg)) {
|
||||||
|
throw new UnexpectedValueException('Empty algorithm');
|
||||||
|
}
|
||||||
|
if (empty(static::$supported_algs[$header->alg])) {
|
||||||
|
throw new UnexpectedValueException('Algorithm not supported');
|
||||||
|
}
|
||||||
|
if (!in_array($header->alg, $allowed_algs)) {
|
||||||
|
throw new UnexpectedValueException('Algorithm not allowed');
|
||||||
|
}
|
||||||
|
if (is_array($key) || $key instanceof \ArrayAccess) {
|
||||||
|
if (isset($header->kid)) {
|
||||||
|
if (!isset($key[$header->kid])) {
|
||||||
|
throw new UnexpectedValueException('"kid" invalid, unable to lookup correct key');
|
||||||
|
}
|
||||||
|
$key = $key[$header->kid];
|
||||||
|
} else {
|
||||||
|
throw new UnexpectedValueException('"kid" empty, unable to lookup correct key');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check the signature
|
||||||
|
if (!static::verify("$headb64.$bodyb64", $sig, $key, $header->alg)) {
|
||||||
|
throw new SignatureInvalidException('Signature verification failed');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if the nbf if it is defined. This is the time that the
|
||||||
|
// token can actually be used. If it's not yet that time, abort.
|
||||||
|
if (isset($payload->nbf) && $payload->nbf > ($timestamp + static::$leeway)) {
|
||||||
|
throw new BeforeValidException(
|
||||||
|
'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check that this token has been created before 'now'. This prevents
|
||||||
|
// using tokens that have been created for later use (and haven't
|
||||||
|
// correctly used the nbf claim).
|
||||||
|
if (isset($payload->iat) && $payload->iat > ($timestamp + static::$leeway)) {
|
||||||
|
throw new BeforeValidException(
|
||||||
|
'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->iat)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if this token has expired.
|
||||||
|
if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
|
||||||
|
throw new ExpiredException('Expired token');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $payload;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Converts and signs a PHP object or array into a JWT string.
|
||||||
|
*
|
||||||
|
* @param object|array $payload PHP object or array
|
||||||
|
* @param string $key The secret key.
|
||||||
|
* If the algorithm used is asymmetric, this is the private key
|
||||||
|
* @param string $alg The signing algorithm.
|
||||||
|
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
|
||||||
|
* @param mixed $keyId
|
||||||
|
* @param array $head An array with header elements to attach
|
||||||
|
*
|
||||||
|
* @return string A signed JWT
|
||||||
|
*
|
||||||
|
* @uses jsonEncode
|
||||||
|
* @uses urlsafeB64Encode
|
||||||
|
*/
|
||||||
|
public static function encode($payload, $key, $alg = 'HS256', $keyId = null, $head = null)
|
||||||
|
{
|
||||||
|
$header = array('typ' => 'JWT', 'alg' => $alg);
|
||||||
|
if ($keyId !== null) {
|
||||||
|
$header['kid'] = $keyId;
|
||||||
|
}
|
||||||
|
if ( isset($head) && is_array($head) ) {
|
||||||
|
$header = array_merge($head, $header);
|
||||||
|
}
|
||||||
|
$segments = array();
|
||||||
|
$segments[] = static::urlsafeB64Encode(static::jsonEncode($header));
|
||||||
|
$segments[] = static::urlsafeB64Encode(static::jsonEncode($payload));
|
||||||
|
$signing_input = implode('.', $segments);
|
||||||
|
|
||||||
|
$signature = static::sign($signing_input, $key, $alg);
|
||||||
|
$segments[] = static::urlsafeB64Encode($signature);
|
||||||
|
|
||||||
|
return implode('.', $segments);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sign a string with a given key and algorithm.
|
||||||
|
*
|
||||||
|
* @param string $msg The message to sign
|
||||||
|
* @param string|resource $key The secret key
|
||||||
|
* @param string $alg The signing algorithm.
|
||||||
|
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
|
||||||
|
*
|
||||||
|
* @return string An encrypted message
|
||||||
|
*
|
||||||
|
* @throws DomainException Unsupported algorithm was specified
|
||||||
|
*/
|
||||||
|
public static function sign($msg, $key, $alg = 'HS256')
|
||||||
|
{
|
||||||
|
if (empty(static::$supported_algs[$alg])) {
|
||||||
|
throw new DomainException('Algorithm not supported');
|
||||||
|
}
|
||||||
|
list($function, $algorithm) = static::$supported_algs[$alg];
|
||||||
|
switch($function) {
|
||||||
|
case 'hash_hmac':
|
||||||
|
return hash_hmac($algorithm, $msg, $key, true);
|
||||||
|
case 'openssl':
|
||||||
|
$signature = '';
|
||||||
|
$success = openssl_sign($msg, $signature, $key, $algorithm);
|
||||||
|
if (!$success) {
|
||||||
|
throw new DomainException("OpenSSL unable to sign data");
|
||||||
|
} else {
|
||||||
|
return $signature;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Verify a signature with the message, key and method. Not all methods
|
||||||
|
* are symmetric, so we must have a separate verify and sign method.
|
||||||
|
*
|
||||||
|
* @param string $msg The original message (header and body)
|
||||||
|
* @param string $signature The original signature
|
||||||
|
* @param string|resource $key For HS*, a string key works. for RS*, must be a resource of an openssl public key
|
||||||
|
* @param string $alg The algorithm
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*
|
||||||
|
* @throws DomainException Invalid Algorithm or OpenSSL failure
|
||||||
|
*/
|
||||||
|
private static function verify($msg, $signature, $key, $alg)
|
||||||
|
{
|
||||||
|
if (empty(static::$supported_algs[$alg])) {
|
||||||
|
throw new DomainException('Algorithm not supported');
|
||||||
|
}
|
||||||
|
|
||||||
|
list($function, $algorithm) = static::$supported_algs[$alg];
|
||||||
|
switch($function) {
|
||||||
|
case 'openssl':
|
||||||
|
$success = openssl_verify($msg, $signature, $key, $algorithm);
|
||||||
|
if ($success === 1) {
|
||||||
|
return true;
|
||||||
|
} elseif ($success === 0) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
// returns 1 on success, 0 on failure, -1 on error.
|
||||||
|
throw new DomainException(
|
||||||
|
'OpenSSL error: ' . openssl_error_string()
|
||||||
|
);
|
||||||
|
case 'hash_hmac':
|
||||||
|
default:
|
||||||
|
$hash = hash_hmac($algorithm, $msg, $key, true);
|
||||||
|
if (function_exists('hash_equals')) {
|
||||||
|
return hash_equals($signature, $hash);
|
||||||
|
}
|
||||||
|
$len = min(static::safeStrlen($signature), static::safeStrlen($hash));
|
||||||
|
|
||||||
|
$status = 0;
|
||||||
|
for ($i = 0; $i < $len; $i++) {
|
||||||
|
$status |= (ord($signature[$i]) ^ ord($hash[$i]));
|
||||||
|
}
|
||||||
|
$status |= (static::safeStrlen($signature) ^ static::safeStrlen($hash));
|
||||||
|
|
||||||
|
return ($status === 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Decode a JSON string into a PHP object.
|
||||||
|
*
|
||||||
|
* @param string $input JSON string
|
||||||
|
*
|
||||||
|
* @return object Object representation of JSON string
|
||||||
|
*
|
||||||
|
* @throws DomainException Provided string was invalid JSON
|
||||||
|
*/
|
||||||
|
public static function jsonDecode($input)
|
||||||
|
{
|
||||||
|
if (version_compare(PHP_VERSION, '5.4.0', '>=') && !(defined('JSON_C_VERSION') && PHP_INT_SIZE > 4)) {
|
||||||
|
/** In PHP >=5.4.0, json_decode() accepts an options parameter, that allows you
|
||||||
|
* to specify that large ints (like Steam Transaction IDs) should be treated as
|
||||||
|
* strings, rather than the PHP default behaviour of converting them to floats.
|
||||||
|
*/
|
||||||
|
$obj = json_decode($input, false, 512, JSON_BIGINT_AS_STRING);
|
||||||
|
} else {
|
||||||
|
/** Not all servers will support that, however, so for older versions we must
|
||||||
|
* manually detect large ints in the JSON string and quote them (thus converting
|
||||||
|
*them to strings) before decoding, hence the preg_replace() call.
|
||||||
|
*/
|
||||||
|
$max_int_length = strlen((string) PHP_INT_MAX) - 1;
|
||||||
|
$json_without_bigints = preg_replace('/:\s*(-?\d{'.$max_int_length.',})/', ': "$1"', $input);
|
||||||
|
$obj = json_decode($json_without_bigints);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (function_exists('json_last_error') && $errno = json_last_error()) {
|
||||||
|
static::handleJsonError($errno);
|
||||||
|
} elseif ($obj === null && $input !== 'null') {
|
||||||
|
throw new DomainException('Null result with non-null input');
|
||||||
|
}
|
||||||
|
return $obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Encode a PHP object into a JSON string.
|
||||||
|
*
|
||||||
|
* @param object|array $input A PHP object or array
|
||||||
|
*
|
||||||
|
* @return string JSON representation of the PHP object or array
|
||||||
|
*
|
||||||
|
* @throws DomainException Provided object could not be encoded to valid JSON
|
||||||
|
*/
|
||||||
|
public static function jsonEncode($input)
|
||||||
|
{
|
||||||
|
$json = json_encode($input);
|
||||||
|
if (function_exists('json_last_error') && $errno = json_last_error()) {
|
||||||
|
static::handleJsonError($errno);
|
||||||
|
} elseif ($json === 'null' && $input !== null) {
|
||||||
|
throw new DomainException('Null result with non-null input');
|
||||||
|
}
|
||||||
|
return $json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Decode a string with URL-safe Base64.
|
||||||
|
*
|
||||||
|
* @param string $input A Base64 encoded string
|
||||||
|
*
|
||||||
|
* @return string A decoded string
|
||||||
|
*/
|
||||||
|
public static function urlsafeB64Decode($input)
|
||||||
|
{
|
||||||
|
$remainder = strlen($input) % 4;
|
||||||
|
if ($remainder) {
|
||||||
|
$padlen = 4 - $remainder;
|
||||||
|
$input .= str_repeat('=', $padlen);
|
||||||
|
}
|
||||||
|
return base64_decode(strtr($input, '-_', '+/'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Encode a string with URL-safe Base64.
|
||||||
|
*
|
||||||
|
* @param string $input The string you want encoded
|
||||||
|
*
|
||||||
|
* @return string The base64 encode of what you passed in
|
||||||
|
*/
|
||||||
|
public static function urlsafeB64Encode($input)
|
||||||
|
{
|
||||||
|
return str_replace('=', '', strtr(base64_encode($input), '+/', '-_'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Helper method to create a JSON error.
|
||||||
|
*
|
||||||
|
* @param int $errno An error number from json_last_error()
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
private static function handleJsonError($errno)
|
||||||
|
{
|
||||||
|
$messages = array(
|
||||||
|
JSON_ERROR_DEPTH => 'Maximum stack depth exceeded',
|
||||||
|
JSON_ERROR_STATE_MISMATCH => 'Invalid or malformed JSON',
|
||||||
|
JSON_ERROR_CTRL_CHAR => 'Unexpected control character found',
|
||||||
|
JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON',
|
||||||
|
JSON_ERROR_UTF8 => 'Malformed UTF-8 characters' //PHP >= 5.3.3
|
||||||
|
);
|
||||||
|
throw new DomainException(
|
||||||
|
isset($messages[$errno])
|
||||||
|
? $messages[$errno]
|
||||||
|
: 'Unknown JSON error: ' . $errno
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the number of bytes in cryptographic strings.
|
||||||
|
*
|
||||||
|
* @param string
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
private static function safeStrlen($str)
|
||||||
|
{
|
||||||
|
if (function_exists('mb_strlen')) {
|
||||||
|
return mb_strlen($str, '8bit');
|
||||||
|
}
|
||||||
|
return strlen($str);
|
||||||
|
}
|
||||||
|
}
|
||||||
7
core/lib/composer/vendor/firebase/php-jwt/src/SignatureInvalidException.php
vendored
Normal file
7
core/lib/composer/vendor/firebase/php-jwt/src/SignatureInvalidException.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
namespace Firebase\JWT;
|
||||||
|
|
||||||
|
class SignatureInvalidException extends \UnexpectedValueException
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
4
core/lib/composer/vendor/google/apiclient-services/.gitignore
vendored
Normal file
4
core/lib/composer/vendor/google/apiclient-services/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
vendor
|
||||||
|
composer.lock
|
||||||
|
src/Google/Service/Compute/HTTPHealthCheck.php
|
||||||
|
src/Google/Service/Compute/HTTPSHealthCheck.php
|
||||||
15
core/lib/composer/vendor/google/apiclient-services/.travis.yml
vendored
Normal file
15
core/lib/composer/vendor/google/apiclient-services/.travis.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
language: php
|
||||||
|
|
||||||
|
php:
|
||||||
|
- 5.4
|
||||||
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- 7.0
|
||||||
|
- 7.1
|
||||||
|
- 7.2
|
||||||
|
|
||||||
|
install:
|
||||||
|
- composer install
|
||||||
|
|
||||||
|
script:
|
||||||
|
- phpunit
|
||||||
22
core/lib/composer/vendor/google/apiclient-services/CONTRIBUTING.md
vendored
Normal file
22
core/lib/composer/vendor/google/apiclient-services/CONTRIBUTING.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# How to become a contributor and submit your own code
|
||||||
|
|
||||||
|
## Contributor License Agreements
|
||||||
|
|
||||||
|
We'd love to accept your code patches! However, before we can take them, we have to jump a couple of legal hurdles.
|
||||||
|
|
||||||
|
Please fill out either the individual or corporate Contributor License Agreement (CLA).
|
||||||
|
|
||||||
|
* If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html).
|
||||||
|
* If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a[corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
|
||||||
|
|
||||||
|
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll add you to the official list of contributors and be able to accept your patches.
|
||||||
|
|
||||||
|
## Submitting Patches
|
||||||
|
|
||||||
|
1. Fork the PHP client library on GitHub
|
||||||
|
1. Decide which code you want to submit. A submission should be a set of changes that addresses one issue in the issue tracker. Please file one change per issue, and address one issue per change. If you want to make a change that doesn't have a corresponding issue in the issue tracker, please file a new ticket!
|
||||||
|
1. Ensure that your code adheres to standard PHP conventions, as used in the rest of the library.
|
||||||
|
1. Ensure that there are unit tests for your code.
|
||||||
|
1. Sign a Contributor License Agreement (see above).
|
||||||
|
1. Submit a pull request with your patch on Github.
|
||||||
|
|
||||||
203
core/lib/composer/vendor/google/apiclient-services/LICENSE
vendored
Normal file
203
core/lib/composer/vendor/google/apiclient-services/LICENSE
vendored
Normal file
@@ -0,0 +1,203 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
30
core/lib/composer/vendor/google/apiclient-services/README.md
vendored
Normal file
30
core/lib/composer/vendor/google/apiclient-services/README.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
Google PHP API Client Services
|
||||||
|
==============================
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
|
||||||
|
|
||||||
|
## Usage in v2 of Google API PHP Client
|
||||||
|
|
||||||
|
This library will be automatically installed with the
|
||||||
|
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
|
||||||
|
via composer. Composer will automatically pull down a monthly tag
|
||||||
|
from this repository.
|
||||||
|
|
||||||
|
If you'd like to always be up-to-date with the latest release, rather than
|
||||||
|
wait for monthly tagged releases, request the `dev-master` version in composer:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
composer require google/apiclient-services:dev-master
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage in v1
|
||||||
|
|
||||||
|
If you are currently using the [`v1-master`](https://github.com/google/google-api-php-client/tree/v1-master)
|
||||||
|
branch of the client library, but want to use the latest API services, you can
|
||||||
|
do so by requiring this library directly into your project via the same composer command:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
composer require google/apiclient-services:dev-master
|
||||||
|
```
|
||||||
19
core/lib/composer/vendor/google/apiclient-services/composer.json
vendored
Normal file
19
core/lib/composer/vendor/google/apiclient-services/composer.json
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "google/apiclient-services",
|
||||||
|
"type": "library",
|
||||||
|
"description": "Client library for Google APIs",
|
||||||
|
"keywords": ["google"],
|
||||||
|
"homepage": "http://developers.google.com/api-client-library/php",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.4"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.8"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Google_Service_": "src"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
core/lib/composer/vendor/google/apiclient-services/phpunit.xml
vendored
Normal file
11
core/lib/composer/vendor/google/apiclient-services/phpunit.xml
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
|
||||||
|
colors="true"
|
||||||
|
bootstrap="vendor/autoload.php">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Google PHP Client Unit Services Test Suite">
|
||||||
|
<directory>tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
</phpunit>
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Service definition for AbusiveExperienceReport (v1).
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* View Abusive Experience Report data, and get a list of sites that have a
|
||||||
|
* significant number of abusive experiences.</p>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* For more information about this service, see the API
|
||||||
|
* <a href="https://developers.google.com/abusive-experience-report/" target="_blank">Documentation</a>
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author Google, Inc.
|
||||||
|
*/
|
||||||
|
class Google_Service_AbusiveExperienceReport extends Google_Service
|
||||||
|
{
|
||||||
|
/** Test scope for access to the Zoo service. */
|
||||||
|
const XAPI_ZOO =
|
||||||
|
"https://www.googleapis.com/auth/xapi.zoo";
|
||||||
|
|
||||||
|
public $sites;
|
||||||
|
public $violatingSites;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs the internal representation of the AbusiveExperienceReport
|
||||||
|
* service.
|
||||||
|
*
|
||||||
|
* @param Google_Client $client
|
||||||
|
*/
|
||||||
|
public function __construct(Google_Client $client)
|
||||||
|
{
|
||||||
|
parent::__construct($client);
|
||||||
|
$this->rootUrl = 'https://abusiveexperiencereport.googleapis.com/';
|
||||||
|
$this->servicePath = '';
|
||||||
|
$this->version = 'v1';
|
||||||
|
$this->serviceName = 'abusiveexperiencereport';
|
||||||
|
|
||||||
|
$this->sites = new Google_Service_AbusiveExperienceReport_Resource_Sites(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'sites',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'get' => array(
|
||||||
|
'path' => 'v1/{+name}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'name' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->violatingSites = new Google_Service_AbusiveExperienceReport_Resource_ViolatingSites(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'violatingSites',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'list' => array(
|
||||||
|
'path' => 'v1/violatingSites',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The "sites" collection of methods.
|
||||||
|
* Typical usage is:
|
||||||
|
* <code>
|
||||||
|
* $abusiveexperiencereportService = new Google_Service_AbusiveExperienceReport(...);
|
||||||
|
* $sites = $abusiveexperiencereportService->sites;
|
||||||
|
* </code>
|
||||||
|
*/
|
||||||
|
class Google_Service_AbusiveExperienceReport_Resource_Sites extends Google_Service_Resource
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Gets a summary of the abusive experience rating of a site. (sites.get)
|
||||||
|
*
|
||||||
|
* @param string $name The required site name. This is the site property whose
|
||||||
|
* abusive experiences have been reviewed, and it must be URL-encoded. For
|
||||||
|
* example, sites/https%3A%2F%2Fwww.google.com. The server will return an error
|
||||||
|
* of BAD_REQUEST if this field is not filled in. Note that if the site property
|
||||||
|
* is not yet verified in Search Console, the reportUrl field returned by the
|
||||||
|
* API will lead to the verification page, prompting the user to go through that
|
||||||
|
* process before they can gain access to the Abusive Experience Report.
|
||||||
|
* @param array $optParams Optional parameters.
|
||||||
|
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
|
||||||
|
*/
|
||||||
|
public function get($name, $optParams = array())
|
||||||
|
{
|
||||||
|
$params = array('name' => $name);
|
||||||
|
$params = array_merge($params, $optParams);
|
||||||
|
return $this->call('get', array($params), "Google_Service_AbusiveExperienceReport_SiteSummaryResponse");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The "violatingSites" collection of methods.
|
||||||
|
* Typical usage is:
|
||||||
|
* <code>
|
||||||
|
* $abusiveexperiencereportService = new Google_Service_AbusiveExperienceReport(...);
|
||||||
|
* $violatingSites = $abusiveexperiencereportService->violatingSites;
|
||||||
|
* </code>
|
||||||
|
*/
|
||||||
|
class Google_Service_AbusiveExperienceReport_Resource_ViolatingSites extends Google_Service_Resource
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Lists sites with Abusive Experience Report statuses of "Failing".
|
||||||
|
* (violatingSites.listViolatingSites)
|
||||||
|
*
|
||||||
|
* @param array $optParams Optional parameters.
|
||||||
|
* @return Google_Service_AbusiveExperienceReport_ViolatingSitesResponse
|
||||||
|
*/
|
||||||
|
public function listViolatingSites($optParams = array())
|
||||||
|
{
|
||||||
|
$params = array();
|
||||||
|
$params = array_merge($params, $optParams);
|
||||||
|
return $this->call('list', array($params), "Google_Service_AbusiveExperienceReport_ViolatingSitesResponse");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AbusiveExperienceReport_SiteSummaryResponse extends Google_Model
|
||||||
|
{
|
||||||
|
public $abusiveStatus;
|
||||||
|
public $enforcementTime;
|
||||||
|
public $filterStatus;
|
||||||
|
public $lastChangeTime;
|
||||||
|
public $reportUrl;
|
||||||
|
public $reviewedSite;
|
||||||
|
public $underReview;
|
||||||
|
|
||||||
|
public function setAbusiveStatus($abusiveStatus)
|
||||||
|
{
|
||||||
|
$this->abusiveStatus = $abusiveStatus;
|
||||||
|
}
|
||||||
|
public function getAbusiveStatus()
|
||||||
|
{
|
||||||
|
return $this->abusiveStatus;
|
||||||
|
}
|
||||||
|
public function setEnforcementTime($enforcementTime)
|
||||||
|
{
|
||||||
|
$this->enforcementTime = $enforcementTime;
|
||||||
|
}
|
||||||
|
public function getEnforcementTime()
|
||||||
|
{
|
||||||
|
return $this->enforcementTime;
|
||||||
|
}
|
||||||
|
public function setFilterStatus($filterStatus)
|
||||||
|
{
|
||||||
|
$this->filterStatus = $filterStatus;
|
||||||
|
}
|
||||||
|
public function getFilterStatus()
|
||||||
|
{
|
||||||
|
return $this->filterStatus;
|
||||||
|
}
|
||||||
|
public function setLastChangeTime($lastChangeTime)
|
||||||
|
{
|
||||||
|
$this->lastChangeTime = $lastChangeTime;
|
||||||
|
}
|
||||||
|
public function getLastChangeTime()
|
||||||
|
{
|
||||||
|
return $this->lastChangeTime;
|
||||||
|
}
|
||||||
|
public function setReportUrl($reportUrl)
|
||||||
|
{
|
||||||
|
$this->reportUrl = $reportUrl;
|
||||||
|
}
|
||||||
|
public function getReportUrl()
|
||||||
|
{
|
||||||
|
return $this->reportUrl;
|
||||||
|
}
|
||||||
|
public function setReviewedSite($reviewedSite)
|
||||||
|
{
|
||||||
|
$this->reviewedSite = $reviewedSite;
|
||||||
|
}
|
||||||
|
public function getReviewedSite()
|
||||||
|
{
|
||||||
|
return $this->reviewedSite;
|
||||||
|
}
|
||||||
|
public function setUnderReview($underReview)
|
||||||
|
{
|
||||||
|
$this->underReview = $underReview;
|
||||||
|
}
|
||||||
|
public function getUnderReview()
|
||||||
|
{
|
||||||
|
return $this->underReview;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AbusiveExperienceReport_ViolatingSitesResponse extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'violatingSites';
|
||||||
|
protected $violatingSitesType = 'Google_Service_AbusiveExperienceReport_SiteSummaryResponse';
|
||||||
|
protected $violatingSitesDataType = 'array';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Google_Service_AbusiveExperienceReport_SiteSummaryResponse
|
||||||
|
*/
|
||||||
|
public function setViolatingSites($violatingSites)
|
||||||
|
{
|
||||||
|
$this->violatingSites = $violatingSites;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
|
||||||
|
*/
|
||||||
|
public function getViolatingSites()
|
||||||
|
{
|
||||||
|
return $this->violatingSites;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Service definition for Acceleratedmobilepageurl (v1).
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given
|
||||||
|
* list of public URL(s).</p>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* For more information about this service, see the API
|
||||||
|
* <a href="https://developers.google.com/amp/cache/" target="_blank">Documentation</a>
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author Google, Inc.
|
||||||
|
*/
|
||||||
|
class Google_Service_Acceleratedmobilepageurl extends Google_Service
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public $ampUrls;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs the internal representation of the Acceleratedmobilepageurl
|
||||||
|
* service.
|
||||||
|
*
|
||||||
|
* @param Google_Client $client
|
||||||
|
*/
|
||||||
|
public function __construct(Google_Client $client)
|
||||||
|
{
|
||||||
|
parent::__construct($client);
|
||||||
|
$this->rootUrl = 'https://acceleratedmobilepageurl.googleapis.com/';
|
||||||
|
$this->servicePath = '';
|
||||||
|
$this->version = 'v1';
|
||||||
|
$this->serviceName = 'acceleratedmobilepageurl';
|
||||||
|
|
||||||
|
$this->ampUrls = new Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'ampUrls',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'batchGet' => array(
|
||||||
|
'path' => 'v1/ampUrls:batchGet',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_Acceleratedmobilepageurl_AmpUrl extends Google_Model
|
||||||
|
{
|
||||||
|
public $ampUrl;
|
||||||
|
public $cdnAmpUrl;
|
||||||
|
public $originalUrl;
|
||||||
|
|
||||||
|
public function setAmpUrl($ampUrl)
|
||||||
|
{
|
||||||
|
$this->ampUrl = $ampUrl;
|
||||||
|
}
|
||||||
|
public function getAmpUrl()
|
||||||
|
{
|
||||||
|
return $this->ampUrl;
|
||||||
|
}
|
||||||
|
public function setCdnAmpUrl($cdnAmpUrl)
|
||||||
|
{
|
||||||
|
$this->cdnAmpUrl = $cdnAmpUrl;
|
||||||
|
}
|
||||||
|
public function getCdnAmpUrl()
|
||||||
|
{
|
||||||
|
return $this->cdnAmpUrl;
|
||||||
|
}
|
||||||
|
public function setOriginalUrl($originalUrl)
|
||||||
|
{
|
||||||
|
$this->originalUrl = $originalUrl;
|
||||||
|
}
|
||||||
|
public function getOriginalUrl()
|
||||||
|
{
|
||||||
|
return $this->originalUrl;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_Acceleratedmobilepageurl_AmpUrlError extends Google_Model
|
||||||
|
{
|
||||||
|
public $errorCode;
|
||||||
|
public $errorMessage;
|
||||||
|
public $originalUrl;
|
||||||
|
|
||||||
|
public function setErrorCode($errorCode)
|
||||||
|
{
|
||||||
|
$this->errorCode = $errorCode;
|
||||||
|
}
|
||||||
|
public function getErrorCode()
|
||||||
|
{
|
||||||
|
return $this->errorCode;
|
||||||
|
}
|
||||||
|
public function setErrorMessage($errorMessage)
|
||||||
|
{
|
||||||
|
$this->errorMessage = $errorMessage;
|
||||||
|
}
|
||||||
|
public function getErrorMessage()
|
||||||
|
{
|
||||||
|
return $this->errorMessage;
|
||||||
|
}
|
||||||
|
public function setOriginalUrl($originalUrl)
|
||||||
|
{
|
||||||
|
$this->originalUrl = $originalUrl;
|
||||||
|
}
|
||||||
|
public function getOriginalUrl()
|
||||||
|
{
|
||||||
|
return $this->originalUrl;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'urls';
|
||||||
|
public $lookupStrategy;
|
||||||
|
public $urls;
|
||||||
|
|
||||||
|
public function setLookupStrategy($lookupStrategy)
|
||||||
|
{
|
||||||
|
$this->lookupStrategy = $lookupStrategy;
|
||||||
|
}
|
||||||
|
public function getLookupStrategy()
|
||||||
|
{
|
||||||
|
return $this->lookupStrategy;
|
||||||
|
}
|
||||||
|
public function setUrls($urls)
|
||||||
|
{
|
||||||
|
$this->urls = $urls;
|
||||||
|
}
|
||||||
|
public function getUrls()
|
||||||
|
{
|
||||||
|
return $this->urls;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'urlErrors';
|
||||||
|
protected $ampUrlsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrl';
|
||||||
|
protected $ampUrlsDataType = 'array';
|
||||||
|
protected $urlErrorsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrlError';
|
||||||
|
protected $urlErrorsDataType = 'array';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Google_Service_Acceleratedmobilepageurl_AmpUrl
|
||||||
|
*/
|
||||||
|
public function setAmpUrls($ampUrls)
|
||||||
|
{
|
||||||
|
$this->ampUrls = $ampUrls;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_Acceleratedmobilepageurl_AmpUrl
|
||||||
|
*/
|
||||||
|
public function getAmpUrls()
|
||||||
|
{
|
||||||
|
return $this->ampUrls;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param Google_Service_Acceleratedmobilepageurl_AmpUrlError
|
||||||
|
*/
|
||||||
|
public function setUrlErrors($urlErrors)
|
||||||
|
{
|
||||||
|
$this->urlErrors = $urlErrors;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_Acceleratedmobilepageurl_AmpUrlError
|
||||||
|
*/
|
||||||
|
public function getUrlErrors()
|
||||||
|
{
|
||||||
|
return $this->urlErrors;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The "ampUrls" collection of methods.
|
||||||
|
* Typical usage is:
|
||||||
|
* <code>
|
||||||
|
* $acceleratedmobilepageurlService = new Google_Service_Acceleratedmobilepageurl(...);
|
||||||
|
* $ampUrls = $acceleratedmobilepageurlService->ampUrls;
|
||||||
|
* </code>
|
||||||
|
*/
|
||||||
|
class Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls extends Google_Service_Resource
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-
|
||||||
|
* cache-url-format). (ampUrls.batchGet)
|
||||||
|
*
|
||||||
|
* @param Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody
|
||||||
|
* @param array $optParams Optional parameters.
|
||||||
|
* @return Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse
|
||||||
|
*/
|
||||||
|
public function batchGet(Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody, $optParams = array())
|
||||||
|
{
|
||||||
|
$params = array('postBody' => $postBody);
|
||||||
|
$params = array_merge($params, $optParams);
|
||||||
|
return $this->call('batchGet', array($params), "Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse");
|
||||||
|
}
|
||||||
|
}
|
||||||
679
core/lib/composer/vendor/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php
vendored
Normal file
679
core/lib/composer/vendor/google/apiclient-services/src/Google/Service/AdExchangeBuyer.php
vendored
Normal file
@@ -0,0 +1,679 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Service definition for AdExchangeBuyer (v1.4).
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* Accesses your bidding-account information, submits creatives for validation,
|
||||||
|
* finds available direct deals, and retrieves performance reports.</p>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* For more information about this service, see the API
|
||||||
|
* <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author Google, Inc.
|
||||||
|
*/
|
||||||
|
class Google_Service_AdExchangeBuyer extends Google_Service
|
||||||
|
{
|
||||||
|
/** Manage your Ad Exchange buyer account configuration. */
|
||||||
|
const ADEXCHANGE_BUYER =
|
||||||
|
"https://www.googleapis.com/auth/adexchange.buyer";
|
||||||
|
|
||||||
|
public $accounts;
|
||||||
|
public $billingInfo;
|
||||||
|
public $budget;
|
||||||
|
public $creatives;
|
||||||
|
public $marketplacedeals;
|
||||||
|
public $marketplacenotes;
|
||||||
|
public $marketplaceprivateauction;
|
||||||
|
public $performanceReport;
|
||||||
|
public $pretargetingConfig;
|
||||||
|
public $products;
|
||||||
|
public $proposals;
|
||||||
|
public $pubprofiles;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs the internal representation of the AdExchangeBuyer service.
|
||||||
|
*
|
||||||
|
* @param Google_Client $client
|
||||||
|
*/
|
||||||
|
public function __construct(Google_Client $client)
|
||||||
|
{
|
||||||
|
parent::__construct($client);
|
||||||
|
$this->rootUrl = 'https://www.googleapis.com/';
|
||||||
|
$this->servicePath = 'adexchangebuyer/v1.4/';
|
||||||
|
$this->version = 'v1.4';
|
||||||
|
$this->serviceName = 'adexchangebuyer';
|
||||||
|
|
||||||
|
$this->accounts = new Google_Service_AdExchangeBuyer_Resource_Accounts(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'accounts',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'get' => array(
|
||||||
|
'path' => 'accounts/{id}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'id' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'list' => array(
|
||||||
|
'path' => 'accounts',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(),
|
||||||
|
),'patch' => array(
|
||||||
|
'path' => 'accounts/{id}',
|
||||||
|
'httpMethod' => 'PATCH',
|
||||||
|
'parameters' => array(
|
||||||
|
'id' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'confirmUnsafeAccountChange' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'boolean',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'update' => array(
|
||||||
|
'path' => 'accounts/{id}',
|
||||||
|
'httpMethod' => 'PUT',
|
||||||
|
'parameters' => array(
|
||||||
|
'id' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'confirmUnsafeAccountChange' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'boolean',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->billingInfo = new Google_Service_AdExchangeBuyer_Resource_BillingInfo(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'billingInfo',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'get' => array(
|
||||||
|
'path' => 'billinginfo/{accountId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'list' => array(
|
||||||
|
'path' => 'billinginfo',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->budget = new Google_Service_AdExchangeBuyer_Resource_Budget(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'budget',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'get' => array(
|
||||||
|
'path' => 'billinginfo/{accountId}/{billingId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'billingId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'patch' => array(
|
||||||
|
'path' => 'billinginfo/{accountId}/{billingId}',
|
||||||
|
'httpMethod' => 'PATCH',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'billingId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'update' => array(
|
||||||
|
'path' => 'billinginfo/{accountId}/{billingId}',
|
||||||
|
'httpMethod' => 'PUT',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'billingId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->creatives = new Google_Service_AdExchangeBuyer_Resource_Creatives(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'creatives',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'addDeal' => array(
|
||||||
|
'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'buyerCreativeId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'dealId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'get' => array(
|
||||||
|
'path' => 'creatives/{accountId}/{buyerCreativeId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'buyerCreativeId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'insert' => array(
|
||||||
|
'path' => 'creatives',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(),
|
||||||
|
),'list' => array(
|
||||||
|
'path' => 'creatives',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'integer',
|
||||||
|
'repeated' => true,
|
||||||
|
),
|
||||||
|
'buyerCreativeId' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
'repeated' => true,
|
||||||
|
),
|
||||||
|
'dealsStatusFilter' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
'maxResults' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'integer',
|
||||||
|
),
|
||||||
|
'openAuctionStatusFilter' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
'pageToken' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'listDeals' => array(
|
||||||
|
'path' => 'creatives/{accountId}/{buyerCreativeId}/listDeals',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'buyerCreativeId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'removeDeal' => array(
|
||||||
|
'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'buyerCreativeId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'dealId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->marketplacedeals = new Google_Service_AdExchangeBuyer_Resource_Marketplacedeals(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'marketplacedeals',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'delete' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/deals/delete',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'insert' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/deals/insert',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'list' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/deals',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'pqlQuery' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'update' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/deals/update',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->marketplacenotes = new Google_Service_AdExchangeBuyer_Resource_Marketplacenotes(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'marketplacenotes',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'insert' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/notes/insert',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'list' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/notes',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'pqlQuery' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->marketplaceprivateauction = new Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'marketplaceprivateauction',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'updateproposal' => array(
|
||||||
|
'path' => 'privateauction/{privateAuctionId}/updateproposal',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'privateAuctionId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->performanceReport = new Google_Service_AdExchangeBuyer_Resource_PerformanceReport(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'performanceReport',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'list' => array(
|
||||||
|
'path' => 'performancereport',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'endDateTime' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'startDateTime' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'maxResults' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'integer',
|
||||||
|
),
|
||||||
|
'pageToken' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->pretargetingConfig = new Google_Service_AdExchangeBuyer_Resource_PretargetingConfig(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'pretargetingConfig',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'delete' => array(
|
||||||
|
'path' => 'pretargetingconfigs/{accountId}/{configId}',
|
||||||
|
'httpMethod' => 'DELETE',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'configId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'get' => array(
|
||||||
|
'path' => 'pretargetingconfigs/{accountId}/{configId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'configId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'insert' => array(
|
||||||
|
'path' => 'pretargetingconfigs/{accountId}',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'list' => array(
|
||||||
|
'path' => 'pretargetingconfigs/{accountId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'patch' => array(
|
||||||
|
'path' => 'pretargetingconfigs/{accountId}/{configId}',
|
||||||
|
'httpMethod' => 'PATCH',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'configId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'update' => array(
|
||||||
|
'path' => 'pretargetingconfigs/{accountId}/{configId}',
|
||||||
|
'httpMethod' => 'PUT',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'configId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->products = new Google_Service_AdExchangeBuyer_Resource_Products(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'products',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'get' => array(
|
||||||
|
'path' => 'products/{productId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'productId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'search' => array(
|
||||||
|
'path' => 'products/search',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'pqlQuery' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->proposals = new Google_Service_AdExchangeBuyer_Resource_Proposals(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'proposals',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'get' => array(
|
||||||
|
'path' => 'proposals/{proposalId}',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'insert' => array(
|
||||||
|
'path' => 'proposals/insert',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(),
|
||||||
|
),'patch' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
|
||||||
|
'httpMethod' => 'PATCH',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'revisionNumber' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'updateAction' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'search' => array(
|
||||||
|
'path' => 'proposals/search',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'pqlQuery' => array(
|
||||||
|
'location' => 'query',
|
||||||
|
'type' => 'string',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'setupcomplete' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/setupcomplete',
|
||||||
|
'httpMethod' => 'POST',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),'update' => array(
|
||||||
|
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
|
||||||
|
'httpMethod' => 'PUT',
|
||||||
|
'parameters' => array(
|
||||||
|
'proposalId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'revisionNumber' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
'updateAction' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'string',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$this->pubprofiles = new Google_Service_AdExchangeBuyer_Resource_Pubprofiles(
|
||||||
|
$this,
|
||||||
|
$this->serviceName,
|
||||||
|
'pubprofiles',
|
||||||
|
array(
|
||||||
|
'methods' => array(
|
||||||
|
'list' => array(
|
||||||
|
'path' => 'publisher/{accountId}/profiles',
|
||||||
|
'httpMethod' => 'GET',
|
||||||
|
'parameters' => array(
|
||||||
|
'accountId' => array(
|
||||||
|
'location' => 'path',
|
||||||
|
'type' => 'integer',
|
||||||
|
'required' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
110
core/lib/composer/vendor/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php
vendored
Normal file
110
core/lib/composer/vendor/google/apiclient-services/src/Google/Service/AdExchangeBuyer/Account.php
vendored
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AdExchangeBuyer_Account extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'bidderLocation';
|
||||||
|
public $applyPretargetingToNonGuaranteedDeals;
|
||||||
|
protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
|
||||||
|
protected $bidderLocationDataType = 'array';
|
||||||
|
public $cookieMatchingNid;
|
||||||
|
public $cookieMatchingUrl;
|
||||||
|
public $id;
|
||||||
|
public $kind;
|
||||||
|
public $maximumActiveCreatives;
|
||||||
|
public $maximumTotalQps;
|
||||||
|
public $numberActiveCreatives;
|
||||||
|
|
||||||
|
public function setApplyPretargetingToNonGuaranteedDeals($applyPretargetingToNonGuaranteedDeals)
|
||||||
|
{
|
||||||
|
$this->applyPretargetingToNonGuaranteedDeals = $applyPretargetingToNonGuaranteedDeals;
|
||||||
|
}
|
||||||
|
public function getApplyPretargetingToNonGuaranteedDeals()
|
||||||
|
{
|
||||||
|
return $this->applyPretargetingToNonGuaranteedDeals;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param Google_Service_AdExchangeBuyer_AccountBidderLocation
|
||||||
|
*/
|
||||||
|
public function setBidderLocation($bidderLocation)
|
||||||
|
{
|
||||||
|
$this->bidderLocation = $bidderLocation;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_AdExchangeBuyer_AccountBidderLocation
|
||||||
|
*/
|
||||||
|
public function getBidderLocation()
|
||||||
|
{
|
||||||
|
return $this->bidderLocation;
|
||||||
|
}
|
||||||
|
public function setCookieMatchingNid($cookieMatchingNid)
|
||||||
|
{
|
||||||
|
$this->cookieMatchingNid = $cookieMatchingNid;
|
||||||
|
}
|
||||||
|
public function getCookieMatchingNid()
|
||||||
|
{
|
||||||
|
return $this->cookieMatchingNid;
|
||||||
|
}
|
||||||
|
public function setCookieMatchingUrl($cookieMatchingUrl)
|
||||||
|
{
|
||||||
|
$this->cookieMatchingUrl = $cookieMatchingUrl;
|
||||||
|
}
|
||||||
|
public function getCookieMatchingUrl()
|
||||||
|
{
|
||||||
|
return $this->cookieMatchingUrl;
|
||||||
|
}
|
||||||
|
public function setId($id)
|
||||||
|
{
|
||||||
|
$this->id = $id;
|
||||||
|
}
|
||||||
|
public function getId()
|
||||||
|
{
|
||||||
|
return $this->id;
|
||||||
|
}
|
||||||
|
public function setKind($kind)
|
||||||
|
{
|
||||||
|
$this->kind = $kind;
|
||||||
|
}
|
||||||
|
public function getKind()
|
||||||
|
{
|
||||||
|
return $this->kind;
|
||||||
|
}
|
||||||
|
public function setMaximumActiveCreatives($maximumActiveCreatives)
|
||||||
|
{
|
||||||
|
$this->maximumActiveCreatives = $maximumActiveCreatives;
|
||||||
|
}
|
||||||
|
public function getMaximumActiveCreatives()
|
||||||
|
{
|
||||||
|
return $this->maximumActiveCreatives;
|
||||||
|
}
|
||||||
|
public function setMaximumTotalQps($maximumTotalQps)
|
||||||
|
{
|
||||||
|
$this->maximumTotalQps = $maximumTotalQps;
|
||||||
|
}
|
||||||
|
public function getMaximumTotalQps()
|
||||||
|
{
|
||||||
|
return $this->maximumTotalQps;
|
||||||
|
}
|
||||||
|
public function setNumberActiveCreatives($numberActiveCreatives)
|
||||||
|
{
|
||||||
|
$this->numberActiveCreatives = $numberActiveCreatives;
|
||||||
|
}
|
||||||
|
public function getNumberActiveCreatives()
|
||||||
|
{
|
||||||
|
return $this->numberActiveCreatives;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
|
||||||
|
{
|
||||||
|
public $bidProtocol;
|
||||||
|
public $maximumQps;
|
||||||
|
public $region;
|
||||||
|
public $url;
|
||||||
|
|
||||||
|
public function setBidProtocol($bidProtocol)
|
||||||
|
{
|
||||||
|
$this->bidProtocol = $bidProtocol;
|
||||||
|
}
|
||||||
|
public function getBidProtocol()
|
||||||
|
{
|
||||||
|
return $this->bidProtocol;
|
||||||
|
}
|
||||||
|
public function setMaximumQps($maximumQps)
|
||||||
|
{
|
||||||
|
$this->maximumQps = $maximumQps;
|
||||||
|
}
|
||||||
|
public function getMaximumQps()
|
||||||
|
{
|
||||||
|
return $this->maximumQps;
|
||||||
|
}
|
||||||
|
public function setRegion($region)
|
||||||
|
{
|
||||||
|
$this->region = $region;
|
||||||
|
}
|
||||||
|
public function getRegion()
|
||||||
|
{
|
||||||
|
return $this->region;
|
||||||
|
}
|
||||||
|
public function setUrl($url)
|
||||||
|
{
|
||||||
|
$this->url = $url;
|
||||||
|
}
|
||||||
|
public function getUrl()
|
||||||
|
{
|
||||||
|
return $this->url;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'items';
|
||||||
|
protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
|
||||||
|
protected $itemsDataType = 'array';
|
||||||
|
public $kind;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Google_Service_AdExchangeBuyer_Account
|
||||||
|
*/
|
||||||
|
public function setItems($items)
|
||||||
|
{
|
||||||
|
$this->items = $items;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_AdExchangeBuyer_Account
|
||||||
|
*/
|
||||||
|
public function getItems()
|
||||||
|
{
|
||||||
|
return $this->items;
|
||||||
|
}
|
||||||
|
public function setKind($kind)
|
||||||
|
{
|
||||||
|
$this->kind = $kind;
|
||||||
|
}
|
||||||
|
public function getKind()
|
||||||
|
{
|
||||||
|
return $this->kind;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'deals';
|
||||||
|
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
|
||||||
|
protected $dealsDataType = 'array';
|
||||||
|
public $proposalRevisionNumber;
|
||||||
|
public $updateAction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
|
||||||
|
*/
|
||||||
|
public function setDeals($deals)
|
||||||
|
{
|
||||||
|
$this->deals = $deals;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
|
||||||
|
*/
|
||||||
|
public function getDeals()
|
||||||
|
{
|
||||||
|
return $this->deals;
|
||||||
|
}
|
||||||
|
public function setProposalRevisionNumber($proposalRevisionNumber)
|
||||||
|
{
|
||||||
|
$this->proposalRevisionNumber = $proposalRevisionNumber;
|
||||||
|
}
|
||||||
|
public function getProposalRevisionNumber()
|
||||||
|
{
|
||||||
|
return $this->proposalRevisionNumber;
|
||||||
|
}
|
||||||
|
public function setUpdateAction($updateAction)
|
||||||
|
{
|
||||||
|
$this->updateAction = $updateAction;
|
||||||
|
}
|
||||||
|
public function getUpdateAction()
|
||||||
|
{
|
||||||
|
return $this->updateAction;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy of
|
||||||
|
* the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
|
||||||
|
{
|
||||||
|
protected $collection_key = 'deals';
|
||||||
|
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
|
||||||
|
protected $dealsDataType = 'array';
|
||||||
|
public $proposalRevisionNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
|
||||||
|
*/
|
||||||
|
public function setDeals($deals)
|
||||||
|
{
|
||||||
|
$this->deals = $deals;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
|
||||||
|
*/
|
||||||
|
public function getDeals()
|
||||||
|
{
|
||||||
|
return $this->deals;
|
||||||
|
}
|
||||||
|
public function setProposalRevisionNumber($proposalRevisionNumber)
|
||||||
|
{
|
||||||
|
$this->proposalRevisionNumber = $proposalRevisionNumber;
|
||||||
|
}
|
||||||
|
public function getProposalRevisionNumber()
|
||||||
|
{
|
||||||
|
return $this->proposalRevisionNumber;
|
||||||
|
}
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user