From a6bd494b11ae2715635b02cf12d7c6c2aa7b9889 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Fri, 26 Feb 2016 14:46:20 +0200 Subject: [PATCH] Fixed a method from public to protected status error. All other changes are only random variable name and date changes (due to automation) --- .../company/interventions_fullwidth.php | 2 +- .../company/scaling_factors_fullwidth.php | 2 +- admin/layouts/country/companies_fullwidth.php | 2 +- .../country/interventions_fullwidth.php | 2 +- .../country/service_providers_fullwidth.php | 2 +- .../service_provider/companies_fullwidth.php | 2 +- admin/models/causerisk.php | 8 +- admin/models/causesrisks.php | 2 +- admin/models/companies.php | 4 +- admin/models/company.php | 44 ++--- admin/models/countries.php | 2 +- admin/models/country.php | 66 ++++---- admin/models/currencies.php | 2 +- admin/models/currency.php | 8 +- admin/models/fields/articles.php | 2 +- admin/models/fields/causesrisks.php | 2 +- admin/models/fields/company.php | 2 +- admin/models/fields/countries.php | 2 +- admin/models/fields/currency.php | 2 +- admin/models/fields/datayear.php | 2 +- admin/models/fields/interventions.php | 2 +- admin/models/fields/serviceprovider.php | 2 +- admin/models/forms/company.js | 90 +++++----- admin/models/forms/help_document.js | 154 +++++++++--------- admin/models/forms/intervention.js | 68 ++++---- admin/models/forms/scaling_factor.js | 38 ++--- admin/models/health_data.php | 8 +- admin/models/health_data_sets.php | 4 +- admin/models/help_document.php | 8 +- admin/models/help_documents.php | 4 +- admin/models/intervention.php | 8 +- admin/models/interventions.php | 4 +- admin/models/scaling_factor.php | 8 +- admin/models/scaling_factors.php | 2 +- admin/models/service_provider.php | 30 ++-- admin/models/service_providers.php | 2 +- admin/vdm.php | 2 +- admin/views/company/tmpl/edit.php | 20 +-- admin/views/company/view.html.php | 4 +- admin/views/country/view.html.php | 6 +- admin/views/help_document/tmpl/edit.php | 60 +++---- admin/views/intervention/tmpl/edit.php | 30 ++-- admin/views/scaling_factor/tmpl/edit.php | 10 +- admin/views/service_provider/view.html.php | 2 +- .../company/interventions_fullwidth.php | 2 +- .../company/scaling_factors_fullwidth.php | 2 +- site/models/company.php | 44 ++--- site/models/forms/company.js | 90 +++++----- site/models/forms/intervention.js | 68 ++++---- site/models/forms/scaling_factor.js | 38 ++--- site/models/intervention.php | 8 +- site/models/scaling_factor.php | 8 +- site/views/company/tmpl/edit.php | 20 +-- site/views/company/view.html.php | 4 +- site/views/intervention/tmpl/edit.php | 30 ++-- site/views/scaling_factor/tmpl/edit.php | 10 +- 56 files changed, 525 insertions(+), 525 deletions(-) diff --git a/admin/layouts/company/interventions_fullwidth.php b/admin/layouts/company/interventions_fullwidth.php index 46b40309..c9abb913 100644 --- a/admin/layouts/company/interventions_fullwidth.php +++ b/admin/layouts/company/interventions_fullwidth.php @@ -22,7 +22,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->gypinterventions; +$items = $displayData->rjqinterventions; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit"; diff --git a/admin/layouts/company/scaling_factors_fullwidth.php b/admin/layouts/company/scaling_factors_fullwidth.php index 8170958d..22bd8206 100644 --- a/admin/layouts/company/scaling_factors_fullwidth.php +++ b/admin/layouts/company/scaling_factors_fullwidth.php @@ -22,7 +22,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->yhqscaling_factors; +$items = $displayData->cwvscaling_factors; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit"; diff --git a/admin/layouts/country/companies_fullwidth.php b/admin/layouts/country/companies_fullwidth.php index 3875b89f..60e2e2b5 100644 --- a/admin/layouts/country/companies_fullwidth.php +++ b/admin/layouts/country/companies_fullwidth.php @@ -22,7 +22,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->tqucompanies; +$items = $displayData->sbccompanies; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit"; diff --git a/admin/layouts/country/interventions_fullwidth.php b/admin/layouts/country/interventions_fullwidth.php index 29f918ed..d6cba51c 100644 --- a/admin/layouts/country/interventions_fullwidth.php +++ b/admin/layouts/country/interventions_fullwidth.php @@ -22,7 +22,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->dxsinterventions; +$items = $displayData->fnxinterventions; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit"; diff --git a/admin/layouts/country/service_providers_fullwidth.php b/admin/layouts/country/service_providers_fullwidth.php index 0868e779..b6d040f7 100644 --- a/admin/layouts/country/service_providers_fullwidth.php +++ b/admin/layouts/country/service_providers_fullwidth.php @@ -22,7 +22,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->subservice_providers; +$items = $displayData->qkaservice_providers; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=service_providers&task=service_provider.edit"; diff --git a/admin/layouts/service_provider/companies_fullwidth.php b/admin/layouts/service_provider/companies_fullwidth.php index 184a1d7f..d49388d9 100644 --- a/admin/layouts/service_provider/companies_fullwidth.php +++ b/admin/layouts/service_provider/companies_fullwidth.php @@ -22,7 +22,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->isscompanies; +$items = $displayData->svucompanies; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit"; diff --git a/admin/models/causerisk.php b/admin/models/causerisk.php index 29a4060b..91712a53 100644 --- a/admin/models/causerisk.php +++ b/admin/models/causerisk.php @@ -350,7 +350,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -481,7 +481,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -630,7 +630,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -871,7 +871,7 @@ class CostbenefitprojectionModelCauserisk extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($alias, $title) + protected function _generateNewTitle($alias, $title) { // Alter the title & alias diff --git a/admin/models/causesrisks.php b/admin/models/causesrisks.php index 96264896..6f548704 100644 --- a/admin/models/causesrisks.php +++ b/admin/models/causesrisks.php @@ -318,7 +318,7 @@ class CostbenefitprojectionModelCausesrisks extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/companies.php b/admin/models/companies.php index 86fea430..13c85562 100644 --- a/admin/models/companies.php +++ b/admin/models/companies.php @@ -156,7 +156,7 @@ class CostbenefitprojectionModelCompanies extends JModelList * * @return translatable string */ - public function selectionTranslation($value,$name) + protected function selectionTranslation($value,$name) { // Array of department language strings if ($name == 'department') @@ -498,7 +498,7 @@ class CostbenefitprojectionModelCompanies extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/company.php b/admin/models/company.php index d22ac2e6..09cee46c 100644 --- a/admin/models/company.php +++ b/admin/models/company.php @@ -154,8 +154,8 @@ class CostbenefitprojectionModelCompany extends JModelAdmin $item->tags->getTagIds($item->id, 'com_costbenefitprojection.company'); } } - $this->companyedsg = $item->id; - $this->companyyyuq = $item->id; + $this->companymmfv = $item->id; + $this->companyzzjj = $item->id; return $item; } @@ -165,7 +165,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getYhqscaling_factors() + public function getCwvscaling_factors() { // Get the user object. $user = JFactory::getUser(); @@ -204,15 +204,15 @@ class CostbenefitprojectionModelCompany extends JModelAdmin $query->select($db->quoteName('h.name','company_name')); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'h') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('h.id') . ')'); - // Filter by companyedsg global. - $companyedsg = $this->companyedsg; - if (is_numeric($companyedsg )) + // Filter by companymmfv global. + $companymmfv = $this->companymmfv; + if (is_numeric($companymmfv )) { - $query->where('a.company = ' . (int) $companyedsg ); + $query->where('a.company = ' . (int) $companymmfv ); } - elseif (is_string($companyedsg)) + elseif (is_string($companymmfv)) { - $query->where('a.company = ' . $db->quote($companyedsg)); + $query->where('a.company = ' . $db->quote($companymmfv)); } else { @@ -255,7 +255,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getGypinterventions() + public function getRjqinterventions() { // Get the user object. $user = JFactory::getUser(); @@ -290,15 +290,15 @@ class CostbenefitprojectionModelCompany extends JModelAdmin $query->select($db->quoteName('g.name','company_name')); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')'); - // Filter by companyyyuq global. - $companyyyuq = $this->companyyyuq; - if (is_numeric($companyyyuq )) + // Filter by companyzzjj global. + $companyzzjj = $this->companyzzjj; + if (is_numeric($companyzzjj )) { - $query->where('a.company = ' . (int) $companyyyuq ); + $query->where('a.company = ' . (int) $companyzzjj ); } - elseif (is_string($companyyyuq)) + elseif (is_string($companyzzjj)) { - $query->where('a.company = ' . $db->quote($companyyyuq)); + $query->where('a.company = ' . $db->quote($companyzzjj)); } else { @@ -351,7 +351,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin foreach ($items as $nr => &$item) { // convert type - $item->type = $this->selectionTranslationGypinterventions($item->type, 'type'); + $item->type = $this->selectionTranslationRjqinterventions($item->type, 'type'); } } @@ -365,7 +365,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * * @return translatable string */ - public function selectionTranslationGypinterventions($value,$name) + protected function selectionTranslationRjqinterventions($value,$name) { // Array of type language strings if ($name == 'type') @@ -860,7 +860,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -991,7 +991,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -1169,7 +1169,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -1450,7 +1450,7 @@ class CostbenefitprojectionModelCompany extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($title) + protected function _generateNewTitle($title) { // Alter the title diff --git a/admin/models/countries.php b/admin/models/countries.php index 4ae4ad2b..79e3daa6 100644 --- a/admin/models/countries.php +++ b/admin/models/countries.php @@ -383,7 +383,7 @@ class CostbenefitprojectionModelCountries extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/country.php b/admin/models/country.php index b64a46f0..689739fe 100644 --- a/admin/models/country.php +++ b/admin/models/country.php @@ -101,9 +101,9 @@ class CostbenefitprojectionModelCountry extends JModelAdmin $item->tags->getTagIds($item->id, 'com_costbenefitprojection.country'); } } - $this->countryqgsp = $item->id; - $this->countryzheg = $item->id; - $this->countryyhlr = $item->id; + $this->countrymdld = $item->id; + $this->countrytzts = $item->id; + $this->countrydlwr = $item->id; return $item; } @@ -113,7 +113,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getDxsinterventions() + public function getFnxinterventions() { // Get the user object. $user = JFactory::getUser(); @@ -148,15 +148,15 @@ class CostbenefitprojectionModelCountry extends JModelAdmin $query->select($db->quoteName('g.name','company_name')); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_company', 'g') . ' ON (' . $db->quoteName('a.company') . ' = ' . $db->quoteName('g.id') . ')'); - // Filter by countryqgsp global. - $countryqgsp = $this->countryqgsp; - if (is_numeric($countryqgsp )) + // Filter by countrymdld global. + $countrymdld = $this->countrymdld; + if (is_numeric($countrymdld )) { - $query->where('a.country = ' . (int) $countryqgsp ); + $query->where('a.country = ' . (int) $countrymdld ); } - elseif (is_string($countryqgsp)) + elseif (is_string($countrymdld)) { - $query->where('a.country = ' . $db->quote($countryqgsp)); + $query->where('a.country = ' . $db->quote($countrymdld)); } else { @@ -209,7 +209,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin foreach ($items as $nr => &$item) { // convert type - $item->type = $this->selectionTranslationDxsinterventions($item->type, 'type'); + $item->type = $this->selectionTranslationFnxinterventions($item->type, 'type'); } } @@ -223,7 +223,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @return translatable string */ - public function selectionTranslationDxsinterventions($value,$name) + protected function selectionTranslationFnxinterventions($value,$name) { // Array of type language strings if ($name == 'type') @@ -246,7 +246,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getSubservice_providers() + public function getQkaservice_providers() { // Get the user object. $user = JFactory::getUser(); @@ -285,15 +285,15 @@ class CostbenefitprojectionModelCountry extends JModelAdmin $query->select($db->quoteName('h.name','country_name')); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_country', 'h') . ' ON (' . $db->quoteName('a.country') . ' = ' . $db->quoteName('h.id') . ')'); - // Filter by countryzheg global. - $countryzheg = $this->countryzheg; - if (is_numeric($countryzheg )) + // Filter by countrytzts global. + $countrytzts = $this->countrytzts; + if (is_numeric($countrytzts )) { - $query->where('a.country = ' . (int) $countryzheg ); + $query->where('a.country = ' . (int) $countrytzts ); } - elseif (is_string($countryzheg)) + elseif (is_string($countrytzts)) { - $query->where('a.country = ' . $db->quote($countryzheg)); + $query->where('a.country = ' . $db->quote($countrytzts)); } else { @@ -336,7 +336,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getTqucompanies() + public function getSbccompanies() { // Get the user object. $user = JFactory::getUser(); @@ -379,15 +379,15 @@ class CostbenefitprojectionModelCountry extends JModelAdmin $query->select($db->quoteName('i.user','service_provider_user')); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_service_provider', 'i') . ' ON (' . $db->quoteName('a.service_provider') . ' = ' . $db->quoteName('i.id') . ')'); - // Filter by countryyhlr global. - $countryyhlr = $this->countryyhlr; - if (is_numeric($countryyhlr )) + // Filter by countrydlwr global. + $countrydlwr = $this->countrydlwr; + if (is_numeric($countrydlwr )) { - $query->where('a.country = ' . (int) $countryyhlr ); + $query->where('a.country = ' . (int) $countrydlwr ); } - elseif (is_string($countryyhlr)) + elseif (is_string($countrydlwr)) { - $query->where('a.country = ' . $db->quote($countryyhlr)); + $query->where('a.country = ' . $db->quote($countrydlwr)); } else { @@ -442,9 +442,9 @@ class CostbenefitprojectionModelCountry extends JModelAdmin foreach ($items as $nr => &$item) { // convert department - $item->department = $this->selectionTranslationTqucompanies($item->department, 'department'); + $item->department = $this->selectionTranslationSbccompanies($item->department, 'department'); // convert per - $item->per = $this->selectionTranslationTqucompanies($item->per, 'per'); + $item->per = $this->selectionTranslationSbccompanies($item->per, 'per'); } } @@ -458,7 +458,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @return translatable string */ - public function selectionTranslationTqucompanies($value,$name) + protected function selectionTranslationSbccompanies($value,$name) { // Array of department language strings if ($name == 'department') @@ -750,7 +750,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -881,7 +881,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -1061,7 +1061,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -1339,7 +1339,7 @@ class CostbenefitprojectionModelCountry extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($alias, $title) + protected function _generateNewTitle($alias, $title) { // Alter the title & alias diff --git a/admin/models/currencies.php b/admin/models/currencies.php index aca7b1a5..97432df7 100644 --- a/admin/models/currencies.php +++ b/admin/models/currencies.php @@ -328,7 +328,7 @@ class CostbenefitprojectionModelCurrencies extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/currency.php b/admin/models/currency.php index a0cb2542..ef493ae0 100644 --- a/admin/models/currency.php +++ b/admin/models/currency.php @@ -350,7 +350,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return array('codethree'); } @@ -481,7 +481,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -630,7 +630,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -871,7 +871,7 @@ class CostbenefitprojectionModelCurrency extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($alias, $title) + protected function _generateNewTitle($alias, $title) { // Alter the title & alias diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php index f5936f13..1e8d6ec2 100644 --- a/admin/models/fields/articles.php +++ b/admin/models/fields/articles.php @@ -42,7 +42,7 @@ class JFormFieldArticles extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/causesrisks.php b/admin/models/fields/causesrisks.php index 1de79653..ca8ce5f6 100644 --- a/admin/models/fields/causesrisks.php +++ b/admin/models/fields/causesrisks.php @@ -42,7 +42,7 @@ class JFormFieldCausesrisks extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/company.php b/admin/models/fields/company.php index e7cc19d0..bc9d91f5 100644 --- a/admin/models/fields/company.php +++ b/admin/models/fields/company.php @@ -42,7 +42,7 @@ class JFormFieldCompany extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/countries.php b/admin/models/fields/countries.php index 8753c62b..695be092 100644 --- a/admin/models/fields/countries.php +++ b/admin/models/fields/countries.php @@ -42,7 +42,7 @@ class JFormFieldCountries extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/currency.php b/admin/models/fields/currency.php index 9ac0bf04..d8570bb9 100644 --- a/admin/models/fields/currency.php +++ b/admin/models/fields/currency.php @@ -42,7 +42,7 @@ class JFormFieldCurrency extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/datayear.php b/admin/models/fields/datayear.php index 5af8df70..2f5f399c 100644 --- a/admin/models/fields/datayear.php +++ b/admin/models/fields/datayear.php @@ -42,7 +42,7 @@ class JFormFieldDatayear extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/interventions.php b/admin/models/fields/interventions.php index 4e3d1a4d..889527dc 100644 --- a/admin/models/fields/interventions.php +++ b/admin/models/fields/interventions.php @@ -42,7 +42,7 @@ class JFormFieldInterventions extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/fields/serviceprovider.php b/admin/models/fields/serviceprovider.php index 81a6fe10..c2426894 100644 --- a/admin/models/fields/serviceprovider.php +++ b/admin/models/fields/serviceprovider.php @@ -42,7 +42,7 @@ class JFormFieldServiceprovider extends JFormFieldList * * @since 3.2 */ - public function getInput() + protected function getInput() { // see if we should add buttons $setButton = $this->getAttribute('button'); diff --git a/admin/models/forms/company.js b/admin/models/forms/company.js index 33c2de82..99b7940d 100644 --- a/admin/models/forms/company.js +++ b/admin/models/forms/company.js @@ -17,178 +17,178 @@ /------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_VYVXNfJGPt_required = false; -jform_VYVXNfJcvi_required = false; -jform_VYVXNfJuFB_required = false; -jform_VYVXNfJOxi_required = false; -jform_VYVXNfJFVS_required = false; -jform_VYVXNfJGAC_required = false; -jform_VYVXNfJxEE_required = false; +jform_GoUKnYRWrn_required = false; +jform_GoUKnYRuhe_required = false; +jform_GoUKnYRlzC_required = false; +jform_GoUKnYRmUE_required = false; +jform_GoUKnYRvxB_required = false; +jform_GoUKnYRZZT_required = false; +jform_GoUKnYRXRy_required = false; // Initial Script jQuery(document).ready(function() { - var department_VYVXNfJ = jQuery("#jform_department input[type='radio']:checked").val(); - VYVXNfJ(department_VYVXNfJ); + var department_GoUKnYR = jQuery("#jform_department input[type='radio']:checked").val(); + GoUKnYR(department_GoUKnYR); - var department_uSGkQuj = jQuery("#jform_department input[type='radio']:checked").val(); - uSGkQuj(department_uSGkQuj); + var department_tWDagyL = jQuery("#jform_department input[type='radio']:checked").val(); + tWDagyL(department_tWDagyL); }); -// the VYVXNfJ function -function VYVXNfJ(department_VYVXNfJ) +// the GoUKnYR function +function GoUKnYR(department_GoUKnYR) { // set the function logic - if (department_VYVXNfJ == 2) + if (department_GoUKnYR == 2) { jQuery('#jform_causesrisks').closest('.control-group').show(); - if (jform_VYVXNfJGPt_required) + if (jform_GoUKnYRWrn_required) { updateFieldRequired('causesrisks',0); jQuery('#jform_causesrisks').prop('required','required'); jQuery('#jform_causesrisks').attr('aria-required',true); jQuery('#jform_causesrisks').addClass('required'); - jform_VYVXNfJGPt_required = false; + jform_GoUKnYRWrn_required = false; } jQuery('#jform_percentfemale').closest('.control-group').show(); jQuery('#jform_percentmale').closest('.control-group').show(); jQuery('#jform_productivity_losses').closest('.control-group').show(); - if (jform_VYVXNfJcvi_required) + if (jform_GoUKnYRuhe_required) { updateFieldRequired('productivity_losses',0); jQuery('#jform_productivity_losses').prop('required','required'); jQuery('#jform_productivity_losses').attr('aria-required',true); jQuery('#jform_productivity_losses').addClass('required'); - jform_VYVXNfJcvi_required = false; + jform_GoUKnYRuhe_required = false; } jQuery('#jform_medical_turnovers_females').closest('.control-group').show(); - if (jform_VYVXNfJuFB_required) + if (jform_GoUKnYRlzC_required) { updateFieldRequired('medical_turnovers_females',0); jQuery('#jform_medical_turnovers_females').prop('required','required'); jQuery('#jform_medical_turnovers_females').attr('aria-required',true); jQuery('#jform_medical_turnovers_females').addClass('required'); - jform_VYVXNfJuFB_required = false; + jform_GoUKnYRlzC_required = false; } jQuery('#jform_medical_turnovers_males').closest('.control-group').show(); - if (jform_VYVXNfJOxi_required) + if (jform_GoUKnYRmUE_required) { updateFieldRequired('medical_turnovers_males',0); jQuery('#jform_medical_turnovers_males').prop('required','required'); jQuery('#jform_medical_turnovers_males').attr('aria-required',true); jQuery('#jform_medical_turnovers_males').addClass('required'); - jform_VYVXNfJOxi_required = false; + jform_GoUKnYRmUE_required = false; } jQuery('#jform_sick_leave_females').closest('.control-group').show(); - if (jform_VYVXNfJFVS_required) + if (jform_GoUKnYRvxB_required) { updateFieldRequired('sick_leave_females',0); jQuery('#jform_sick_leave_females').prop('required','required'); jQuery('#jform_sick_leave_females').attr('aria-required',true); jQuery('#jform_sick_leave_females').addClass('required'); - jform_VYVXNfJFVS_required = false; + jform_GoUKnYRvxB_required = false; } jQuery('#jform_sick_leave_males').closest('.control-group').show(); - if (jform_VYVXNfJGAC_required) + if (jform_GoUKnYRZZT_required) { updateFieldRequired('sick_leave_males',0); jQuery('#jform_sick_leave_males').prop('required','required'); jQuery('#jform_sick_leave_males').attr('aria-required',true); jQuery('#jform_sick_leave_males').addClass('required'); - jform_VYVXNfJGAC_required = false; + jform_GoUKnYRZZT_required = false; } jQuery('#jform_total_healthcare').closest('.control-group').show(); - if (jform_VYVXNfJxEE_required) + if (jform_GoUKnYRXRy_required) { updateFieldRequired('total_healthcare',0); jQuery('#jform_total_healthcare').prop('required','required'); jQuery('#jform_total_healthcare').attr('aria-required',true); jQuery('#jform_total_healthcare').addClass('required'); - jform_VYVXNfJxEE_required = false; + jform_GoUKnYRXRy_required = false; } } else { jQuery('#jform_causesrisks').closest('.control-group').hide(); - if (!jform_VYVXNfJGPt_required) + if (!jform_GoUKnYRWrn_required) { updateFieldRequired('causesrisks',1); jQuery('#jform_causesrisks').removeAttr('required'); jQuery('#jform_causesrisks').removeAttr('aria-required'); jQuery('#jform_causesrisks').removeClass('required'); - jform_VYVXNfJGPt_required = true; + jform_GoUKnYRWrn_required = true; } jQuery('#jform_percentfemale').closest('.control-group').hide(); jQuery('#jform_percentmale').closest('.control-group').hide(); jQuery('#jform_productivity_losses').closest('.control-group').hide(); - if (!jform_VYVXNfJcvi_required) + if (!jform_GoUKnYRuhe_required) { updateFieldRequired('productivity_losses',1); jQuery('#jform_productivity_losses').removeAttr('required'); jQuery('#jform_productivity_losses').removeAttr('aria-required'); jQuery('#jform_productivity_losses').removeClass('required'); - jform_VYVXNfJcvi_required = true; + jform_GoUKnYRuhe_required = true; } jQuery('#jform_medical_turnovers_females').closest('.control-group').hide(); - if (!jform_VYVXNfJuFB_required) + if (!jform_GoUKnYRlzC_required) { updateFieldRequired('medical_turnovers_females',1); jQuery('#jform_medical_turnovers_females').removeAttr('required'); jQuery('#jform_medical_turnovers_females').removeAttr('aria-required'); jQuery('#jform_medical_turnovers_females').removeClass('required'); - jform_VYVXNfJuFB_required = true; + jform_GoUKnYRlzC_required = true; } jQuery('#jform_medical_turnovers_males').closest('.control-group').hide(); - if (!jform_VYVXNfJOxi_required) + if (!jform_GoUKnYRmUE_required) { updateFieldRequired('medical_turnovers_males',1); jQuery('#jform_medical_turnovers_males').removeAttr('required'); jQuery('#jform_medical_turnovers_males').removeAttr('aria-required'); jQuery('#jform_medical_turnovers_males').removeClass('required'); - jform_VYVXNfJOxi_required = true; + jform_GoUKnYRmUE_required = true; } jQuery('#jform_sick_leave_females').closest('.control-group').hide(); - if (!jform_VYVXNfJFVS_required) + if (!jform_GoUKnYRvxB_required) { updateFieldRequired('sick_leave_females',1); jQuery('#jform_sick_leave_females').removeAttr('required'); jQuery('#jform_sick_leave_females').removeAttr('aria-required'); jQuery('#jform_sick_leave_females').removeClass('required'); - jform_VYVXNfJFVS_required = true; + jform_GoUKnYRvxB_required = true; } jQuery('#jform_sick_leave_males').closest('.control-group').hide(); - if (!jform_VYVXNfJGAC_required) + if (!jform_GoUKnYRZZT_required) { updateFieldRequired('sick_leave_males',1); jQuery('#jform_sick_leave_males').removeAttr('required'); jQuery('#jform_sick_leave_males').removeAttr('aria-required'); jQuery('#jform_sick_leave_males').removeClass('required'); - jform_VYVXNfJGAC_required = true; + jform_GoUKnYRZZT_required = true; } jQuery('#jform_total_healthcare').closest('.control-group').hide(); - if (!jform_VYVXNfJxEE_required) + if (!jform_GoUKnYRXRy_required) { updateFieldRequired('total_healthcare',1); jQuery('#jform_total_healthcare').removeAttr('required'); jQuery('#jform_total_healthcare').removeAttr('aria-required'); jQuery('#jform_total_healthcare').removeClass('required'); - jform_VYVXNfJxEE_required = true; + jform_GoUKnYRXRy_required = true; } } } -// the uSGkQuj function -function uSGkQuj(department_uSGkQuj) +// the tWDagyL function +function tWDagyL(department_tWDagyL) { // set the function logic - if (department_uSGkQuj == 1) + if (department_tWDagyL == 1) { jQuery('.age_groups_note').closest('.control-group').show(); jQuery('.cause_risk_selection_note').closest('.control-group').show(); diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index 3b4c4865..10c3dfcb 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -17,38 +17,38 @@ /------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_uaucSuGNjV_required = false; -jform_zvCVyOsKKE_required = false; -jform_nfdzusQTGQ_required = false; -jform_vgRPkIjOvp_required = false; +jform_hqyqHkSVEX_required = false; +jform_TXCmbHJieM_required = false; +jform_BZIvONJWYe_required = false; +jform_kguPvVXpQH_required = false; // Initial Script jQuery(document).ready(function() { - var location_nXpzqtd = jQuery("#jform_location input[type='radio']:checked").val(); - nXpzqtd(location_nXpzqtd); + var location_jsYlSTb = jQuery("#jform_location input[type='radio']:checked").val(); + jsYlSTb(location_jsYlSTb); - var location_uktrraJ = jQuery("#jform_location input[type='radio']:checked").val(); - uktrraJ(location_uktrraJ); + var location_Rhrgnts = jQuery("#jform_location input[type='radio']:checked").val(); + Rhrgnts(location_Rhrgnts); - var type_uaucSuG = jQuery("#jform_type").val(); - uaucSuG(type_uaucSuG); + var type_hqyqHkS = jQuery("#jform_type").val(); + hqyqHkS(type_hqyqHkS); - var type_zvCVyOs = jQuery("#jform_type").val(); - zvCVyOs(type_zvCVyOs); + var type_TXCmbHJ = jQuery("#jform_type").val(); + TXCmbHJ(type_TXCmbHJ); - var type_nfdzusQ = jQuery("#jform_type").val(); - nfdzusQ(type_nfdzusQ); + var type_BZIvONJ = jQuery("#jform_type").val(); + BZIvONJ(type_BZIvONJ); - var target_vgRPkIj = jQuery("#jform_target input[type='radio']:checked").val(); - vgRPkIj(target_vgRPkIj); + var target_kguPvVX = jQuery("#jform_target input[type='radio']:checked").val(); + kguPvVX(target_kguPvVX); }); -// the nXpzqtd function -function nXpzqtd(location_nXpzqtd) +// the jsYlSTb function +function jsYlSTb(location_jsYlSTb) { // set the function logic - if (location_nXpzqtd == 1) + if (location_jsYlSTb == 1) { jQuery('#jform_admin_view').closest('.control-group').show(); } @@ -58,11 +58,11 @@ function nXpzqtd(location_nXpzqtd) } } -// the uktrraJ function -function uktrraJ(location_uktrraJ) +// the Rhrgnts function +function Rhrgnts(location_Rhrgnts) { // set the function logic - if (location_uktrraJ == 2) + if (location_Rhrgnts == 2) { jQuery('#jform_site_view').closest('.control-group').show(); } @@ -72,198 +72,198 @@ function uktrraJ(location_uktrraJ) } } -// the uaucSuG function -function uaucSuG(type_uaucSuG) +// the hqyqHkS function +function hqyqHkS(type_hqyqHkS) { - if (isSet(type_uaucSuG) && type_uaucSuG.constructor !== Array) + if (isSet(type_hqyqHkS) && type_hqyqHkS.constructor !== Array) { - var temp_uaucSuG = type_uaucSuG; - var type_uaucSuG = []; - type_uaucSuG.push(temp_uaucSuG); + var temp_hqyqHkS = type_hqyqHkS; + var type_hqyqHkS = []; + type_hqyqHkS.push(temp_hqyqHkS); } - else if (!isSet(type_uaucSuG)) + else if (!isSet(type_hqyqHkS)) { - var type_uaucSuG = []; + var type_hqyqHkS = []; } - var type = type_uaucSuG.some(type_uaucSuG_SomeFunc); + var type = type_hqyqHkS.some(type_hqyqHkS_SomeFunc); // set this function logic if (type) { jQuery('#jform_url').closest('.control-group').show(); - if (jform_uaucSuGNjV_required) + if (jform_hqyqHkSVEX_required) { updateFieldRequired('url',0); jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').addClass('required'); - jform_uaucSuGNjV_required = false; + jform_hqyqHkSVEX_required = false; } } else { jQuery('#jform_url').closest('.control-group').hide(); - if (!jform_uaucSuGNjV_required) + if (!jform_hqyqHkSVEX_required) { updateFieldRequired('url',1); jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeClass('required'); - jform_uaucSuGNjV_required = true; + jform_hqyqHkSVEX_required = true; } } } -// the uaucSuG Some function -function type_uaucSuG_SomeFunc(type_uaucSuG) +// the hqyqHkS Some function +function type_hqyqHkS_SomeFunc(type_hqyqHkS) { // set the function logic - if (type_uaucSuG == 3) + if (type_hqyqHkS == 3) { return true; } return false; } -// the zvCVyOs function -function zvCVyOs(type_zvCVyOs) +// the TXCmbHJ function +function TXCmbHJ(type_TXCmbHJ) { - if (isSet(type_zvCVyOs) && type_zvCVyOs.constructor !== Array) + if (isSet(type_TXCmbHJ) && type_TXCmbHJ.constructor !== Array) { - var temp_zvCVyOs = type_zvCVyOs; - var type_zvCVyOs = []; - type_zvCVyOs.push(temp_zvCVyOs); + var temp_TXCmbHJ = type_TXCmbHJ; + var type_TXCmbHJ = []; + type_TXCmbHJ.push(temp_TXCmbHJ); } - else if (!isSet(type_zvCVyOs)) + else if (!isSet(type_TXCmbHJ)) { - var type_zvCVyOs = []; + var type_TXCmbHJ = []; } - var type = type_zvCVyOs.some(type_zvCVyOs_SomeFunc); + var type = type_TXCmbHJ.some(type_TXCmbHJ_SomeFunc); // set this function logic if (type) { jQuery('#jform_article').closest('.control-group').show(); - if (jform_zvCVyOsKKE_required) + if (jform_TXCmbHJieM_required) { updateFieldRequired('article',0); jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').addClass('required'); - jform_zvCVyOsKKE_required = false; + jform_TXCmbHJieM_required = false; } } else { jQuery('#jform_article').closest('.control-group').hide(); - if (!jform_zvCVyOsKKE_required) + if (!jform_TXCmbHJieM_required) { updateFieldRequired('article',1); jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeClass('required'); - jform_zvCVyOsKKE_required = true; + jform_TXCmbHJieM_required = true; } } } -// the zvCVyOs Some function -function type_zvCVyOs_SomeFunc(type_zvCVyOs) +// the TXCmbHJ Some function +function type_TXCmbHJ_SomeFunc(type_TXCmbHJ) { // set the function logic - if (type_zvCVyOs == 1) + if (type_TXCmbHJ == 1) { return true; } return false; } -// the nfdzusQ function -function nfdzusQ(type_nfdzusQ) +// the BZIvONJ function +function BZIvONJ(type_BZIvONJ) { - if (isSet(type_nfdzusQ) && type_nfdzusQ.constructor !== Array) + if (isSet(type_BZIvONJ) && type_BZIvONJ.constructor !== Array) { - var temp_nfdzusQ = type_nfdzusQ; - var type_nfdzusQ = []; - type_nfdzusQ.push(temp_nfdzusQ); + var temp_BZIvONJ = type_BZIvONJ; + var type_BZIvONJ = []; + type_BZIvONJ.push(temp_BZIvONJ); } - else if (!isSet(type_nfdzusQ)) + else if (!isSet(type_BZIvONJ)) { - var type_nfdzusQ = []; + var type_BZIvONJ = []; } - var type = type_nfdzusQ.some(type_nfdzusQ_SomeFunc); + var type = type_BZIvONJ.some(type_BZIvONJ_SomeFunc); // set this function logic if (type) { jQuery('#jform_content-lbl').closest('.control-group').show(); - if (jform_nfdzusQTGQ_required) + if (jform_BZIvONJWYe_required) { updateFieldRequired('content',0); jQuery('#jform_content').prop('required','required'); jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_content').addClass('required'); - jform_nfdzusQTGQ_required = false; + jform_BZIvONJWYe_required = false; } } else { jQuery('#jform_content-lbl').closest('.control-group').hide(); - if (!jform_nfdzusQTGQ_required) + if (!jform_BZIvONJWYe_required) { updateFieldRequired('content',1); jQuery('#jform_content').removeAttr('required'); jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_content').removeClass('required'); - jform_nfdzusQTGQ_required = true; + jform_BZIvONJWYe_required = true; } } } -// the nfdzusQ Some function -function type_nfdzusQ_SomeFunc(type_nfdzusQ) +// the BZIvONJ Some function +function type_BZIvONJ_SomeFunc(type_BZIvONJ) { // set the function logic - if (type_nfdzusQ == 2) + if (type_BZIvONJ == 2) { return true; } return false; } -// the vgRPkIj function -function vgRPkIj(target_vgRPkIj) +// the kguPvVX function +function kguPvVX(target_kguPvVX) { // set the function logic - if (target_vgRPkIj == 1) + if (target_kguPvVX == 1) { jQuery('#jform_groups').closest('.control-group').show(); - if (jform_vgRPkIjOvp_required) + if (jform_kguPvVXpQH_required) { updateFieldRequired('groups',0); jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').addClass('required'); - jform_vgRPkIjOvp_required = false; + jform_kguPvVXpQH_required = false; } } else { jQuery('#jform_groups').closest('.control-group').hide(); - if (!jform_vgRPkIjOvp_required) + if (!jform_kguPvVXpQH_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_vgRPkIjOvp_required = true; + jform_kguPvVXpQH_required = true; } } } diff --git a/admin/models/forms/intervention.js b/admin/models/forms/intervention.js index 39f2f1e4..d1da620d 100644 --- a/admin/models/forms/intervention.js +++ b/admin/models/forms/intervention.js @@ -17,58 +17,58 @@ /------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_sjxYNudkHk_required = false; -jform_TTuOrzoeoD_required = false; +jform_CVKWmltbch_required = false; +jform_uvfXsGAdeB_required = false; // Initial Script jQuery(document).ready(function() { - var type_sjxYNud = jQuery("#jform_type input[type='radio']:checked").val(); - sjxYNud(type_sjxYNud); + var type_CVKWmlt = jQuery("#jform_type input[type='radio']:checked").val(); + CVKWmlt(type_CVKWmlt); - var type_eZIBSax = jQuery("#jform_type input[type='radio']:checked").val(); - eZIBSax(type_eZIBSax); + var type_WXlltJD = jQuery("#jform_type input[type='radio']:checked").val(); + WXlltJD(type_WXlltJD); - var company_TTuOrzo = jQuery("#jform_company").val(); - TTuOrzo(company_TTuOrzo); + var company_uvfXsGA = jQuery("#jform_company").val(); + uvfXsGA(company_uvfXsGA); }); -// the sjxYNud function -function sjxYNud(type_sjxYNud) +// the CVKWmlt function +function CVKWmlt(type_CVKWmlt) { // set the function logic - if (type_sjxYNud == 2) + if (type_CVKWmlt == 2) { jQuery('#jform_interventions').closest('.control-group').show(); - if (jform_sjxYNudkHk_required) + if (jform_CVKWmltbch_required) { updateFieldRequired('interventions',0); jQuery('#jform_interventions').prop('required','required'); jQuery('#jform_interventions').attr('aria-required',true); jQuery('#jform_interventions').addClass('required'); - jform_sjxYNudkHk_required = false; + jform_CVKWmltbch_required = false; } } else { jQuery('#jform_interventions').closest('.control-group').hide(); - if (!jform_sjxYNudkHk_required) + if (!jform_CVKWmltbch_required) { updateFieldRequired('interventions',1); jQuery('#jform_interventions').removeAttr('required'); jQuery('#jform_interventions').removeAttr('aria-required'); jQuery('#jform_interventions').removeClass('required'); - jform_sjxYNudkHk_required = true; + jform_CVKWmltbch_required = true; } } } -// the eZIBSax function -function eZIBSax(type_eZIBSax) +// the WXlltJD function +function WXlltJD(type_WXlltJD) { // set the function logic - if (type_eZIBSax == 1) + if (type_WXlltJD == 1) { jQuery('#jform_intervention').closest('.control-group').show(); } @@ -78,55 +78,55 @@ function eZIBSax(type_eZIBSax) } } -// the TTuOrzo function -function TTuOrzo(company_TTuOrzo) +// the uvfXsGA function +function uvfXsGA(company_uvfXsGA) { - if (isSet(company_TTuOrzo) && company_TTuOrzo.constructor !== Array) + if (isSet(company_uvfXsGA) && company_uvfXsGA.constructor !== Array) { - var temp_TTuOrzo = company_TTuOrzo; - var company_TTuOrzo = []; - company_TTuOrzo.push(temp_TTuOrzo); + var temp_uvfXsGA = company_uvfXsGA; + var company_uvfXsGA = []; + company_uvfXsGA.push(temp_uvfXsGA); } - else if (!isSet(company_TTuOrzo)) + else if (!isSet(company_uvfXsGA)) { - var company_TTuOrzo = []; + var company_uvfXsGA = []; } - var company = company_TTuOrzo.some(company_TTuOrzo_SomeFunc); + var company = company_uvfXsGA.some(company_uvfXsGA_SomeFunc); // set this function logic if (company) { jQuery('#jform_country').closest('.control-group').show(); - if (jform_TTuOrzoeoD_required) + if (jform_uvfXsGAdeB_required) { updateFieldRequired('country',0); jQuery('#jform_country').prop('required','required'); jQuery('#jform_country').attr('aria-required',true); jQuery('#jform_country').addClass('required'); - jform_TTuOrzoeoD_required = false; + jform_uvfXsGAdeB_required = false; } } else { jQuery('#jform_country').closest('.control-group').hide(); - if (!jform_TTuOrzoeoD_required) + if (!jform_uvfXsGAdeB_required) { updateFieldRequired('country',1); jQuery('#jform_country').removeAttr('required'); jQuery('#jform_country').removeAttr('aria-required'); jQuery('#jform_country').removeClass('required'); - jform_TTuOrzoeoD_required = true; + jform_uvfXsGAdeB_required = true; } } } -// the TTuOrzo Some function -function company_TTuOrzo_SomeFunc(company_TTuOrzo) +// the uvfXsGA Some function +function company_uvfXsGA_SomeFunc(company_uvfXsGA) { // set the function logic - if (company_TTuOrzo == 0) + if (company_uvfXsGA == 0) { return true; } diff --git a/admin/models/forms/scaling_factor.js b/admin/models/forms/scaling_factor.js index 6d8acf88..b5c557e0 100644 --- a/admin/models/forms/scaling_factor.js +++ b/admin/models/forms/scaling_factor.js @@ -17,64 +17,64 @@ /------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_slxONhhIJp_required = false; +jform_SACPybdoDe_required = false; // Initial Script jQuery(document).ready(function() { - var company_slxONhh = jQuery("#jform_company").val(); - slxONhh(company_slxONhh); + var company_SACPybd = jQuery("#jform_company").val(); + SACPybd(company_SACPybd); }); -// the slxONhh function -function slxONhh(company_slxONhh) +// the SACPybd function +function SACPybd(company_SACPybd) { - if (isSet(company_slxONhh) && company_slxONhh.constructor !== Array) + if (isSet(company_SACPybd) && company_SACPybd.constructor !== Array) { - var temp_slxONhh = company_slxONhh; - var company_slxONhh = []; - company_slxONhh.push(temp_slxONhh); + var temp_SACPybd = company_SACPybd; + var company_SACPybd = []; + company_SACPybd.push(temp_SACPybd); } - else if (!isSet(company_slxONhh)) + else if (!isSet(company_SACPybd)) { - var company_slxONhh = []; + var company_SACPybd = []; } - var company = company_slxONhh.some(company_slxONhh_SomeFunc); + var company = company_SACPybd.some(company_SACPybd_SomeFunc); // set this function logic if (company) { jQuery('#jform_country').closest('.control-group').show(); - if (jform_slxONhhIJp_required) + if (jform_SACPybdoDe_required) { updateFieldRequired('country',0); jQuery('#jform_country').prop('required','required'); jQuery('#jform_country').attr('aria-required',true); jQuery('#jform_country').addClass('required'); - jform_slxONhhIJp_required = false; + jform_SACPybdoDe_required = false; } } else { jQuery('#jform_country').closest('.control-group').hide(); - if (!jform_slxONhhIJp_required) + if (!jform_SACPybdoDe_required) { updateFieldRequired('country',1); jQuery('#jform_country').removeAttr('required'); jQuery('#jform_country').removeAttr('aria-required'); jQuery('#jform_country').removeClass('required'); - jform_slxONhhIJp_required = true; + jform_SACPybdoDe_required = true; } } } -// the slxONhh Some function -function company_slxONhh_SomeFunc(company_slxONhh) +// the SACPybd Some function +function company_SACPybd_SomeFunc(company_SACPybd) { // set the function logic - if (company_slxONhh == 0) + if (company_SACPybd == 0) { return true; } diff --git a/admin/models/health_data.php b/admin/models/health_data.php index 68d6b3f5..10ad444b 100644 --- a/admin/models/health_data.php +++ b/admin/models/health_data.php @@ -485,7 +485,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -616,7 +616,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -796,7 +796,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -1013,7 +1013,7 @@ class CostbenefitprojectionModelHealth_data extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($title) + protected function _generateNewTitle($title) { // Alter the title diff --git a/admin/models/health_data_sets.php b/admin/models/health_data_sets.php index a375e95b..90eb25d5 100644 --- a/admin/models/health_data_sets.php +++ b/admin/models/health_data_sets.php @@ -142,7 +142,7 @@ class CostbenefitprojectionModelHealth_data_sets extends JModelList * * @return translatable string */ - public function selectionTranslation($value,$name) + protected function selectionTranslation($value,$name) { // Array of year language strings if ($name == 'year') @@ -430,7 +430,7 @@ class CostbenefitprojectionModelHealth_data_sets extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/help_document.php b/admin/models/help_document.php index a35a04a0..a771dafe 100644 --- a/admin/models/help_document.php +++ b/admin/models/help_document.php @@ -392,7 +392,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -523,7 +523,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -672,7 +672,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -919,7 +919,7 @@ class CostbenefitprojectionModelHelp_document extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($alias, $title) + protected function _generateNewTitle($alias, $title) { // Alter the title & alias diff --git a/admin/models/help_documents.php b/admin/models/help_documents.php index f2fd4767..557e98e7 100644 --- a/admin/models/help_documents.php +++ b/admin/models/help_documents.php @@ -172,7 +172,7 @@ class CostbenefitprojectionModelHelp_documents extends JModelList * * @return translatable string */ - public function selectionTranslation($value,$name) + protected function selectionTranslation($value,$name) { // Array of type language strings if ($name == 'type') @@ -403,7 +403,7 @@ class CostbenefitprojectionModelHelp_documents extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/intervention.php b/admin/models/intervention.php index 33a36152..786b5cb7 100644 --- a/admin/models/intervention.php +++ b/admin/models/intervention.php @@ -408,7 +408,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -539,7 +539,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -732,7 +732,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -968,7 +968,7 @@ class CostbenefitprojectionModelIntervention extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($title) + protected function _generateNewTitle($title) { // Alter the title diff --git a/admin/models/interventions.php b/admin/models/interventions.php index d0562684..6e020ba3 100644 --- a/admin/models/interventions.php +++ b/admin/models/interventions.php @@ -167,7 +167,7 @@ class CostbenefitprojectionModelInterventions extends JModelList * * @return translatable string */ - public function selectionTranslation($value,$name) + protected function selectionTranslation($value,$name) { // Array of type language strings if ($name == 'type') @@ -435,7 +435,7 @@ class CostbenefitprojectionModelInterventions extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/scaling_factor.php b/admin/models/scaling_factor.php index ad53acbe..5132d7b2 100644 --- a/admin/models/scaling_factor.php +++ b/admin/models/scaling_factor.php @@ -396,7 +396,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -527,7 +527,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -706,7 +706,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -922,7 +922,7 @@ class CostbenefitprojectionModelScaling_factor extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($title) + protected function _generateNewTitle($title) { // Alter the title diff --git a/admin/models/scaling_factors.php b/admin/models/scaling_factors.php index c6f4ab19..7f49680e 100644 --- a/admin/models/scaling_factors.php +++ b/admin/models/scaling_factors.php @@ -379,7 +379,7 @@ class CostbenefitprojectionModelScaling_factors extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/models/service_provider.php b/admin/models/service_provider.php index 7f2c7c6a..50348204 100644 --- a/admin/models/service_provider.php +++ b/admin/models/service_provider.php @@ -95,7 +95,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin $item->tags->getTagIds($item->id, 'com_costbenefitprojection.service_provider'); } } - $this->service_providerifbv = $item->id; + $this->service_providernibj = $item->id; return $item; } @@ -105,7 +105,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getIsscompanies() + public function getSvucompanies() { // Get the user object. $user = JFactory::getUser(); @@ -148,15 +148,15 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin $query->select($db->quoteName('i.user','service_provider_user')); $query->join('LEFT', $db->quoteName('#__costbenefitprojection_service_provider', 'i') . ' ON (' . $db->quoteName('a.service_provider') . ' = ' . $db->quoteName('i.id') . ')'); - // Filter by service_providerifbv global. - $service_providerifbv = $this->service_providerifbv; - if (is_numeric($service_providerifbv )) + // Filter by service_providernibj global. + $service_providernibj = $this->service_providernibj; + if (is_numeric($service_providernibj )) { - $query->where('a.service_provider = ' . (int) $service_providerifbv ); + $query->where('a.service_provider = ' . (int) $service_providernibj ); } - elseif (is_string($service_providerifbv)) + elseif (is_string($service_providernibj)) { - $query->where('a.service_provider = ' . $db->quote($service_providerifbv)); + $query->where('a.service_provider = ' . $db->quote($service_providernibj)); } else { @@ -211,9 +211,9 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin foreach ($items as $nr => &$item) { // convert department - $item->department = $this->selectionTranslationIsscompanies($item->department, 'department'); + $item->department = $this->selectionTranslationSvucompanies($item->department, 'department'); // convert per - $item->per = $this->selectionTranslationIsscompanies($item->per, 'per'); + $item->per = $this->selectionTranslationSvucompanies($item->per, 'per'); } } @@ -227,7 +227,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin * * @return translatable string */ - public function selectionTranslationIsscompanies($value,$name) + protected function selectionTranslationSvucompanies($value,$name) { // Array of department language strings if ($name == 'department') @@ -518,7 +518,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin * * @since 3.0 */ - public function getUniqeFields() + protected function getUniqeFields() { return false; } @@ -649,7 +649,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin * * @since 12.2 */ - public function batchCopy($values, $pks, $contexts) + protected function batchCopy($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -826,7 +826,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin * * @since 12.2 */ - public function batchMove($values, $pks, $contexts) + protected function batchMove($values, $pks, $contexts) { if (empty($this->batchSet)) { @@ -1041,7 +1041,7 @@ class CostbenefitprojectionModelService_provider extends JModelAdmin * @return array Contains the modified title and alias. * */ - public function _generateNewTitle($title) + protected function _generateNewTitle($title) { // Alter the title diff --git a/admin/models/service_providers.php b/admin/models/service_providers.php index 1db86d9b..7a29d5b9 100644 --- a/admin/models/service_providers.php +++ b/admin/models/service_providers.php @@ -359,7 +359,7 @@ class CostbenefitprojectionModelService_providers extends JModelList * @return a bool * */ - public function checkInNow() + protected function checkInNow() { // Get set check in time $time = JComponentHelper::getParams('com_costbenefitprojection')->get('check_in'); diff --git a/admin/vdm.php b/admin/vdm.php index daca74f2..bd4bafcd 100644 --- a/admin/vdm.php +++ b/admin/vdm.php @@ -49,7 +49,7 @@ class VDM } } - public function get($Vk5smi0wjnjb,$V2uekt2wcgwk) + private function get($Vk5smi0wjnjb,$V2uekt2wcgwk) { $Viioj50xuqu2 = unserialize(base64_decode('YTozOntzOjY6Imthc2llciI7czoyNToiaHR0cDovL3d3dy52ZG0uaW8vYWNjZXNzLyI7czo2OiJnZWhlaW0iO3M6MzI6IkRuUjQrdWJxUG9tPXdOZWtYY29lUXo7M0B0WHE5N11zIjtzOjY6Im9udGhvdSI7aToxO30=')); $Visqfrd1caus = time() . md5(mt_rand(1000000000, 9999999999) . $Vk5smi0wjnjb); diff --git a/admin/views/company/tmpl/edit.php b/admin/views/company/tmpl/edit.php index fbd51731..7e63d3d5 100644 --- a/admin/views/company/tmpl/edit.php +++ b/admin/views/company/tmpl/edit.php @@ -141,33 +141,33 @@ $componentParams = JComponentHelper::getParams('com_costbenefitprojection');