Fixed the filter array checking in the getStoredId method for categories as well.
This commit is contained in:
@ -680,15 +680,16 @@ class ComponentbuilderModelAdmin_views extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
@ -700,8 +701,9 @@ class ComponentbuilderModelAdmin_views extends JModelList
|
||||
{
|
||||
$id .= ':' . implode(':', $_type);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_type))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_type)
|
||||
|| ComponentbuilderHelper::checkString($_type))
|
||||
{
|
||||
$id .= ':' . $_type;
|
||||
}
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelAdmins_custom_tabs extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelAdmins_fields extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelAdmins_fields_conditions extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelAdmins_fields_relations extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -285,15 +285,16 @@ class ComponentbuilderModelClass_extendings extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -458,15 +458,16 @@ class ComponentbuilderModelClass_methods extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -456,15 +456,16 @@ class ComponentbuilderModelClass_properties extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_admin_views extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_config extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_custom_admin_menus extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_custom_admin_views extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_dashboard extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_files_folders extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_modules extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_mysql_tweaks extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_placeholders extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_plugins extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_site_views extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelComponents_updates extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -514,15 +514,16 @@ class ComponentbuilderModelCustom_admin_views extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -550,15 +550,16 @@ class ComponentbuilderModelCustom_codes extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -465,15 +465,16 @@ class ComponentbuilderModelDynamic_gets extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -633,15 +633,16 @@ class ComponentbuilderModelFields extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
@ -651,9 +652,42 @@ class ComponentbuilderModelFields extends JModelList
|
||||
$id .= ':' . $this->getState('filter.indexes');
|
||||
$id .= ':' . $this->getState('filter.null_switch');
|
||||
$id .= ':' . $this->getState('filter.store');
|
||||
$id .= ':' . $this->getState('filter.category');
|
||||
$id .= ':' . $this->getState('filter.category_id');
|
||||
$id .= ':' . $this->getState('filter.catid');
|
||||
// Check if the value is an array
|
||||
$_category = $this->getState('filter.category');
|
||||
if (ComponentbuilderHelper::checkArray($_category))
|
||||
{
|
||||
$id .= ':' . implode(':', $_category);
|
||||
}
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_category)
|
||||
|| ComponentbuilderHelper::checkString($_category))
|
||||
{
|
||||
$id .= ':' . $_category;
|
||||
}
|
||||
// Check if the value is an array
|
||||
$_category_id = $this->getState('filter.category_id');
|
||||
if (ComponentbuilderHelper::checkArray($_category_id))
|
||||
{
|
||||
$id .= ':' . implode(':', $_category_id);
|
||||
}
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_category_id)
|
||||
|| ComponentbuilderHelper::checkString($_category_id))
|
||||
{
|
||||
$id .= ':' . $_category_id;
|
||||
}
|
||||
// Check if the value is an array
|
||||
$_catid = $this->getState('filter.catid');
|
||||
if (ComponentbuilderHelper::checkArray($_catid))
|
||||
{
|
||||
$id .= ':' . implode(':', $_catid);
|
||||
}
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_catid)
|
||||
|| ComponentbuilderHelper::checkString($_catid))
|
||||
{
|
||||
$id .= ':' . $_catid;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.name');
|
||||
|
||||
return parent::getStoreId($id);
|
||||
|
@ -394,22 +394,56 @@ class ComponentbuilderModelFieldtypes extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
$id .= ':' . $this->getState('filter.modified_by');
|
||||
$id .= ':' . $this->getState('filter.category');
|
||||
$id .= ':' . $this->getState('filter.category_id');
|
||||
$id .= ':' . $this->getState('filter.catid');
|
||||
// Check if the value is an array
|
||||
$_category = $this->getState('filter.category');
|
||||
if (ComponentbuilderHelper::checkArray($_category))
|
||||
{
|
||||
$id .= ':' . implode(':', $_category);
|
||||
}
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_category)
|
||||
|| ComponentbuilderHelper::checkString($_category))
|
||||
{
|
||||
$id .= ':' . $_category;
|
||||
}
|
||||
// Check if the value is an array
|
||||
$_category_id = $this->getState('filter.category_id');
|
||||
if (ComponentbuilderHelper::checkArray($_category_id))
|
||||
{
|
||||
$id .= ':' . implode(':', $_category_id);
|
||||
}
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_category_id)
|
||||
|| ComponentbuilderHelper::checkString($_category_id))
|
||||
{
|
||||
$id .= ':' . $_category_id;
|
||||
}
|
||||
// Check if the value is an array
|
||||
$_catid = $this->getState('filter.catid');
|
||||
if (ComponentbuilderHelper::checkArray($_catid))
|
||||
{
|
||||
$id .= ':' . implode(':', $_catid);
|
||||
}
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_catid)
|
||||
|| ComponentbuilderHelper::checkString($_catid))
|
||||
{
|
||||
$id .= ':' . $_catid;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.name');
|
||||
$id .= ':' . $this->getState('filter.short_description');
|
||||
|
||||
|
@ -2512,15 +2512,16 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -291,15 +291,16 @@ class ComponentbuilderModelJoomla_modules extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelJoomla_modules_files_folders_urls extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelJoomla_modules_updates extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -232,15 +232,16 @@ class ComponentbuilderModelJoomla_plugin_groups extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -452,15 +452,16 @@ class ComponentbuilderModelJoomla_plugins extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelJoomla_plugins_files_folders_urls extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelJoomla_plugins_updates extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -451,15 +451,16 @@ class ComponentbuilderModelLanguage_translations extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -477,15 +477,16 @@ class ComponentbuilderModelLanguages extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -446,15 +446,16 @@ class ComponentbuilderModelLayouts extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -378,15 +378,16 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelLibraries_config extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -205,15 +205,16 @@ class ComponentbuilderModelLibraries_files_folders_urls extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -358,15 +358,16 @@ class ComponentbuilderModelPlaceholders extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -473,15 +473,16 @@ class ComponentbuilderModelServers extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -522,15 +522,16 @@ class ComponentbuilderModelSite_views extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -232,15 +232,16 @@ class ComponentbuilderModelSnippet_types extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -536,15 +536,16 @@ class ComponentbuilderModelSnippets extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -446,15 +446,16 @@ class ComponentbuilderModelTemplates extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
@ -356,15 +356,16 @@ class ComponentbuilderModelValidation_rules extends JModelList
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
// Check if the value is an array
|
||||
$_filter = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_filter))
|
||||
$_access = $this->getState('filter.access');
|
||||
if (ComponentbuilderHelper::checkArray($_access))
|
||||
{
|
||||
$id .= ':' . implode(':', $_filter);
|
||||
$id .= ':' . implode(':', $_access);
|
||||
}
|
||||
// This should not happen, but we try
|
||||
elseif (is_numeric($_filter))
|
||||
// Check if this is only an int or string
|
||||
elseif (is_numeric($_access)
|
||||
|| ComponentbuilderHelper::checkString($_access))
|
||||
{
|
||||
$id .= ':' . $_filter;
|
||||
$id .= ':' . $_access;
|
||||
}
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
|
Reference in New Issue
Block a user