Made a little tweak to placeholders, to remove uneeded space.

This commit is contained in:
2018-09-11 22:28:17 +02:00
parent 5962b557c8
commit 45c255485f
307 changed files with 588 additions and 588 deletions

View File

@@ -97,7 +97,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -350,7 +350,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -640,7 +640,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -772,7 +772,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the tabs items to data.
if (isset($data['tabs']) && is_array($data['tabs']))

View File

@@ -117,7 +117,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -370,7 +370,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -660,7 +660,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -792,7 +792,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
if (isset($data['addfields']) && ComponentbuilderHelper::checkArray($data['addfields']))
{

View File

@@ -117,7 +117,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -370,7 +370,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -660,7 +660,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -792,7 +792,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addconditions items to data.
if (isset($data['addconditions']) && is_array($data['addconditions']))

View File

@@ -97,7 +97,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -350,7 +350,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -640,7 +640,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -772,7 +772,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addrelations items to data.
if (isset($data['addrelations']) && is_array($data['addrelations']))

View File

@@ -428,7 +428,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -734,7 +734,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -1080,7 +1080,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -1212,7 +1212,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// if system name is empty create from name_single
if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name']))

View File

@@ -107,7 +107,7 @@ class ComponentbuilderModelAdmin_views extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -127,7 +127,7 @@ class ComponentbuilderModelAdmin_views extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -146,7 +146,7 @@ class ComponentbuilderModelAdmin_views extends JModelList
$item->add_php_ajax = $this->selectionTranslation($item->add_php_ajax, 'add_php_ajax');
}
}
// return items
return $items;
@@ -491,7 +491,7 @@ class ComponentbuilderModelAdmin_views extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_fields extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_fields extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_fields extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -86,7 +86,7 @@ class ComponentbuilderModelCompiler extends JModelList
// redirect away if not a correct (TODO for now we go to default view)
$app->redirect('index.php?option=com_componentbuilder');
return false;
}
}
// load parent items
$items = parent::getItems();
@@ -113,7 +113,7 @@ class ComponentbuilderModelCompiler extends JModelList
// Checking if copyright has uikit components that must be loaded.
$this->uikitComp = ComponentbuilderHelper::getUikitComp($item->copyright,$this->uikitComp);
}
}
}
// return items
return $items;
@@ -132,7 +132,7 @@ class ComponentbuilderModelCompiler extends JModelList
return $this->uikitComp;
}
return false;
}
}
public $compiler;

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addadmin_views items to data.
if (isset($data['addadmin_views']) && is_array($data['addadmin_views']))

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addconfig items to data.
if (isset($data['addconfig']) && is_array($data['addconfig']))

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addcustommenus items to data.
if (isset($data['addcustommenus']) && is_array($data['addcustommenus']))

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addcustom_admin_views items to data.
if (isset($data['addcustom_admin_views']) && is_array($data['addcustom_admin_views']))

View File

@@ -134,7 +134,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -387,7 +387,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -677,7 +677,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -809,7 +809,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the dashboard_tab items to data.
if (isset($data['dashboard_tab']) && is_array($data['dashboard_tab']))

View File

@@ -153,7 +153,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -406,7 +406,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -696,7 +696,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -828,7 +828,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addfoldersfullpath items to data.
if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath']))

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the sql_tweak items to data.
if (isset($data['sql_tweak']) && is_array($data['sql_tweak']))

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addsite_views items to data.
if (isset($data['addsite_views']) && is_array($data['addsite_views']))

View File

@@ -128,7 +128,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -381,7 +381,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -671,7 +671,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -803,7 +803,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the version_update items to data.
if (isset($data['version_update']) && is_array($data['version_update']))

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_admin_views extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_admin_views extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_admin_views extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_config extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_config extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_config extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_dashboard extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_dashboard extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_dashboard extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_files_folders extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_files_folders extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_files_folders extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_site_views extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_site_views extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_site_views extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelComponents_updates extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelComponents_updates extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelComponents_updates extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -245,7 +245,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -549,7 +549,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -839,7 +839,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -971,7 +971,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// always reset the snippets
$data['snippet'] = 0;

View File

@@ -99,7 +99,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -119,7 +119,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -132,7 +132,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList
$item->add_custom_button = $this->selectionTranslation($item->add_custom_button, 'add_custom_button');
}
}
// return items
return $items;
@@ -384,7 +384,7 @@ class ComponentbuilderModelCustom_admin_views extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -95,7 +95,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -401,7 +401,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -691,7 +691,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -823,7 +823,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the code string to base64 string.
if (isset($data['code']))

View File

@@ -95,7 +95,7 @@ class ComponentbuilderModelCustom_codes extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -132,7 +132,7 @@ class ComponentbuilderModelCustom_codes extends JModelList
$item->type = 2;
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -147,7 +147,7 @@ class ComponentbuilderModelCustom_codes extends JModelList
$item->comment_type = $this->selectionTranslation($item->comment_type, 'comment_type');
}
}
// return items
return $items;
@@ -412,7 +412,7 @@ class ComponentbuilderModelCustom_codes extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -258,7 +258,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -562,7 +562,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -852,7 +852,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -984,7 +984,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the join_db_table items to data.
if (isset($data['join_db_table']) && is_array($data['join_db_table']))

View File

@@ -87,7 +87,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -107,7 +107,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -120,7 +120,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList
$item->gettype = $this->selectionTranslation($item->gettype, 'gettype');
}
}
// return items
return $items;
@@ -359,7 +359,7 @@ class ComponentbuilderModelDynamic_gets extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -150,7 +150,7 @@ class ComponentbuilderModelField extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -454,7 +454,7 @@ class ComponentbuilderModelField extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -753,7 +753,7 @@ class ComponentbuilderModelField extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -901,7 +901,7 @@ class ComponentbuilderModelField extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// get the properties
$properties = $input->get('properties', null, 'ARRAY');

View File

@@ -111,7 +111,7 @@ class ComponentbuilderModelFields extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -131,7 +131,7 @@ class ComponentbuilderModelFields extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -148,7 +148,7 @@ class ComponentbuilderModelFields extends JModelList
$item->store = $this->selectionTranslation($item->store, 'store');
}
}
// return items
return $items;
@@ -462,7 +462,7 @@ class ComponentbuilderModelFields extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -300,7 +300,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
}
}
return $value;
}
}
/**
* Method to get the record form.
@@ -551,7 +551,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -850,7 +850,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -998,7 +998,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the properties items to data.
if (isset($data['properties']) && is_array($data['properties']))

View File

@@ -95,7 +95,7 @@ class ComponentbuilderModelFieldtypes extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -115,7 +115,7 @@ class ComponentbuilderModelFieldtypes extends JModelList
}
}
}
}
// return items
return $items;
@@ -312,7 +312,7 @@ class ComponentbuilderModelFieldtypes extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -94,7 +94,7 @@ class ComponentbuilderModelGet_snippets extends JModelList
// redirect away if not a correct (TODO for now we go to default view)
$app->redirect('index.php?option=com_componentbuilder');
return false;
}
}
// load parent items
$items = parent::getItems();
@@ -109,7 +109,7 @@ class ComponentbuilderModelGet_snippets extends JModelList
// Always create a slug for sef URL's
$item->slug = (isset($item->alias) && isset($item->id)) ? $item->id.':'.$item->alias : $item->id;
}
}
}
// return items
return $items;
@@ -128,5 +128,5 @@ class ComponentbuilderModelGet_snippets extends JModelList
return $this->uikitComp;
}
return false;
}
}
}

View File

@@ -95,7 +95,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -382,7 +382,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -667,7 +667,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -799,7 +799,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the groups string to JSON string.
if (isset($data['groups']))

View File

@@ -95,7 +95,7 @@ class ComponentbuilderModelHelp_documents extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -135,7 +135,7 @@ class ComponentbuilderModelHelp_documents extends JModelList
$item->groups = $groupsNames;
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -148,7 +148,7 @@ class ComponentbuilderModelHelp_documents extends JModelList
$item->location = $this->selectionTranslation($item->location, 'location');
}
}
// return items
return $items;
@@ -358,7 +358,7 @@ class ComponentbuilderModelHelp_documents extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -278,7 +278,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -584,7 +584,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -930,7 +930,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -1062,7 +1062,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// if system name is empty create from name
if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name']))

View File

@@ -1747,7 +1747,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -1767,7 +1767,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
}
}
}
}
// return items
return $items;
@@ -1999,7 +1999,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -89,7 +89,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -340,7 +340,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -630,7 +630,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -762,7 +762,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))

View File

@@ -134,7 +134,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -385,7 +385,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -675,7 +675,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -807,7 +807,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the translation items to data.
if (isset($data['translation']) && is_array($data['translation']))

View File

@@ -79,7 +79,7 @@ class ComponentbuilderModelLanguage_translations extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -99,7 +99,7 @@ class ComponentbuilderModelLanguage_translations extends JModelList
}
}
}
}
// show all languages that are already set for this string
if (!isset($_export) && ComponentbuilderHelper::checkArray($items))
{
@@ -447,7 +447,7 @@ class ComponentbuilderModelLanguage_translations extends JModelList
}
}
return $headers;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -206,7 +206,7 @@ class ComponentbuilderModelLanguages extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -226,7 +226,7 @@ class ComponentbuilderModelLanguages extends JModelList
}
}
}
}
// return items
return $items;
@@ -399,7 +399,7 @@ class ComponentbuilderModelLanguages extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -140,7 +140,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -444,7 +444,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -729,7 +729,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -861,7 +861,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// always reset the snippets
$data['snippet'] = 0;

View File

@@ -91,7 +91,7 @@ class ComponentbuilderModelLayouts extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -111,7 +111,7 @@ class ComponentbuilderModelLayouts extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -122,7 +122,7 @@ class ComponentbuilderModelLayouts extends JModelList
$item->add_php_view = $this->selectionTranslation($item->add_php_view, 'add_php_view');
}
}
// return items
return $items;
@@ -336,7 +336,7 @@ class ComponentbuilderModelLayouts extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -91,7 +91,7 @@ class ComponentbuilderModelLibraries extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -115,7 +115,7 @@ class ComponentbuilderModelLibraries extends JModelList
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -126,7 +126,7 @@ class ComponentbuilderModelLibraries extends JModelList
$item->type = $this->selectionTranslation($item->type, 'type');
}
}
// return items
return $items;
@@ -252,7 +252,7 @@ class ComponentbuilderModelLibraries extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelLibraries_config extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelLibraries_config extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelLibraries_config extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -77,7 +77,7 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -97,7 +97,7 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList
}
}
}
}
// return items
return $items;
@@ -161,7 +161,7 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -142,7 +142,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -429,7 +429,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -781,7 +781,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -913,7 +913,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the libraries items to data.
if (isset($data['libraries']) && is_array($data['libraries']))

View File

@@ -97,7 +97,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -350,7 +350,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -640,7 +640,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -772,7 +772,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addconfig items to data.
if (isset($data['addconfig']) && is_array($data['addconfig']))

View File

@@ -129,7 +129,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -382,7 +382,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -672,7 +672,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -804,7 +804,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the addfoldersfullpath items to data.
if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath']))

View File

@@ -228,7 +228,7 @@ class ComponentbuilderModelServer extends JModelAdmin
return $items;
}
return false;
}
}
/**
* Method to get the record form.
@@ -517,7 +517,7 @@ class ComponentbuilderModelServer extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -807,7 +807,7 @@ class ComponentbuilderModelServer extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -939,7 +939,7 @@ class ComponentbuilderModelServer extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Get the basic encryption key.
$basickey = ComponentbuilderHelper::getCryptKey('basic');

View File

@@ -83,7 +83,7 @@ class ComponentbuilderModelServers extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -103,7 +103,7 @@ class ComponentbuilderModelServers extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -114,7 +114,7 @@ class ComponentbuilderModelServers extends JModelList
$item->protocol = $this->selectionTranslation($item->protocol, 'protocol');
}
}
// return items
return $items;
@@ -371,7 +371,7 @@ class ComponentbuilderModelServers extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -263,7 +263,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -567,7 +567,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -857,7 +857,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -989,7 +989,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// always reset the snippets
$data['snippet'] = 0;

View File

@@ -103,7 +103,7 @@ class ComponentbuilderModelSite_views extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -123,7 +123,7 @@ class ComponentbuilderModelSite_views extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -136,7 +136,7 @@ class ComponentbuilderModelSite_views extends JModelList
$item->add_custom_button = $this->selectionTranslation($item->add_custom_button, 'add_custom_button');
}
}
// return items
return $items;
@@ -388,7 +388,7 @@ class ComponentbuilderModelSite_views extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -95,7 +95,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -346,7 +346,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -636,7 +636,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -768,7 +768,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// set the contributor details if not set
if (strlen($data['contributor_company']) < 1 || strlen($data['contributor_name']) < 1 || strlen($data['contributor_email']) < 3 || strlen($data['contributor_website']) < 3)

View File

@@ -89,7 +89,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -340,7 +340,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -630,7 +630,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -762,7 +762,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))

View File

@@ -83,7 +83,7 @@ class ComponentbuilderModelSnippet_types extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -103,7 +103,7 @@ class ComponentbuilderModelSnippet_types extends JModelList
}
}
}
}
// return items
return $items;
@@ -178,7 +178,7 @@ class ComponentbuilderModelSnippet_types extends JModelList
}
return $query;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -209,7 +209,7 @@ class ComponentbuilderModelSnippets extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -229,7 +229,7 @@ class ComponentbuilderModelSnippets extends JModelList
}
}
}
}
// return items
return $items;
@@ -422,7 +422,7 @@ class ComponentbuilderModelSnippets extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -140,7 +140,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -444,7 +444,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
}
}
return parent::validate($form, $data, $group);
}
}
/**
* Method to get the unique fields of this table.
@@ -729,7 +729,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -861,7 +861,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// always reset the snippets
$data['snippet'] = 0;

View File

@@ -91,7 +91,7 @@ class ComponentbuilderModelTemplates extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -111,7 +111,7 @@ class ComponentbuilderModelTemplates extends JModelList
}
}
}
}
// set selection value to a translatable value
if (ComponentbuilderHelper::checkArray($items))
@@ -122,7 +122,7 @@ class ComponentbuilderModelTemplates extends JModelList
$item->add_php_view = $this->selectionTranslation($item->add_php_view, 'add_php_view');
}
}
// return items
return $items;
@@ -336,7 +336,7 @@ class ComponentbuilderModelTemplates extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.

View File

@@ -126,7 +126,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
}
return $item;
}
}
/**
* Method to get the record form.
@@ -377,7 +377,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
}
return $data;
}
}
/**
* Method to get the unique fields of this table.
@@ -667,7 +667,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
$this->cleanCache();
return $newIds;
}
}
/**
* Batch move items to a new category
@@ -799,7 +799,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}
}
// Set the php string to base64 string.
if (isset($data['php']))

View File

@@ -83,7 +83,7 @@ class ComponentbuilderModelValidation_rules extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{
{
// check in items
$this->checkInNow();
@@ -103,7 +103,7 @@ class ComponentbuilderModelValidation_rules extends JModelList
}
}
}
}
// return items
return $items;
@@ -278,7 +278,7 @@ class ComponentbuilderModelValidation_rules extends JModelList
return $headers;
}
return false;
}
}
/**
* Method to get a store id based on model configuration state.