Release of v5.1.1-alpha2
Adds the ModalSelect fieldtype to Joomla Component Builder - J5. Adds the Data Import Function to the Demo Component. Adds new country related tables and fields to the Demo Component. Resolves the Database Updating issue in the compiler. #1212,#1209. Adds the Component Commands Plugin to the CLI for Import of spreadsheet data-sets.
This commit is contained in:
@ -234,7 +234,7 @@ class ###View###Model extends AdminModel
|
||||
*/
|
||||
protected function prepareTable($table)
|
||||
{###LICENSE_TABLE_LOCKED_CHECK###
|
||||
$date = Factory::getDate();
|
||||
$date = Joomla___39403062_84fb_46e0_bac4_0023f766e827___Power::getDate();
|
||||
$user = $this->getCurrentUser();
|
||||
|
||||
if (isset($table->name))
|
||||
@ -291,7 +291,7 @@ class ###View###Model extends AdminModel
|
||||
protected function loadFormData()
|
||||
{
|
||||
// Check the session for previously entered form data.
|
||||
$data = Factory::getApplication()->getUserState('com_###component###.edit.###view###.data', []);
|
||||
$data = Joomla___39403062_84fb_46e0_bac4_0023f766e827___Power::getApplication()->getUserState('com_###component###.edit.###view###.data', []);
|
||||
|
||||
if (empty($data))
|
||||
{
|
||||
@ -368,7 +368,7 @@ class ###View###Model extends AdminModel
|
||||
|
||||
if (empty($pks))
|
||||
{
|
||||
$this->setError(Text::_('JGLOBAL_NO_ITEM_SELECTED'));
|
||||
$this->setError(Joomla___ba6326ef_cb79_4348_80f4_ab086082e3c5___Power::_('JGLOBAL_NO_ITEM_SELECTED'));
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -385,7 +385,7 @@ class ###View###Model extends AdminModel
|
||||
|
||||
if (!$this->canDo->get('core.batch'))
|
||||
{
|
||||
$this->setError(Text::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION'));
|
||||
$this->setError(Joomla___ba6326ef_cb79_4348_80f4_ab086082e3c5___Power::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION'));
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -428,7 +428,7 @@ class ###View###Model extends AdminModel
|
||||
|
||||
if (!$done)
|
||||
{
|
||||
$this->setError(Text::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION'));
|
||||
$this->setError(Joomla___ba6326ef_cb79_4348_80f4_ab086082e3c5___Power::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION'));
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -449,7 +449,7 @@ class ###View###Model extends AdminModel
|
||||
*/
|
||||
public function save($data)
|
||||
{
|
||||
$input = Factory::getApplication()->input;
|
||||
$input = Joomla___39403062_84fb_46e0_bac4_0023f766e827___Power::getApplication()->input;
|
||||
$filter = InputFilter::getInstance();
|
||||
|
||||
// set the metadata to the Item Data
|
||||
|
Reference in New Issue
Block a user