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

This commit is contained in:
Llewellyn van der Merwe 2018-09-11 22:28:17 +02:00
parent 5962b557c8
commit 45c255485f
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
307 changed files with 588 additions and 588 deletions

View File

@ -21,7 +21,7 @@ defined('_JEXEC') or die('Restricted access');
* ###Component### component helper.
*/
abstract class ###Component###Helper
{###ADMIN_GLOBAL_EVENT_HELPER### ###CUSTOM_HELPER_SCRIPT### ###BOTH_CUSTOM_HELPER_SCRIPT###
{###ADMIN_GLOBAL_EVENT_HELPER######CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT###
/**
* Load the Component xml manifest.
**/
@ -96,7 +96,7 @@ abstract class ###Component###Helper
$user = JFactory::getUser();
// load the submenus to sidebar
###SUBMENU###
}###HELPER_CREATEUSER### ###HELPER_UIKIT### ###HELPER_EXEL###
}###HELPER_CREATEUSER######HELPER_UIKIT######HELPER_EXEL###
/**
* Get a Variable

View File

@ -21,7 +21,7 @@ defined('_JEXEC') or die('Restricted access');
* ###Component### component helper
*/
abstract class ###Component###Helper
{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT### ###BOTH_CUSTOM_HELPER_SCRIPT###
{###SITE_GLOBAL_EVENT_HELPER######SITE_CUSTOM_HELPER_SCRIPT######BOTH_CUSTOM_HELPER_SCRIPT###
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
{
@ -459,7 +459,7 @@ abstract class ###Component###Helper
'0' => isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO');
// return the input
return self::getFieldObject($buttonAttributes, $buttonAttributes['default'], $buttonOptions)->input;
}###HELPER_UIKIT### ###HELPER_CREATEUSER###
}###HELPER_UIKIT######HELPER_CREATEUSER###
/**
* Get a variable

View File

@ -44,5 +44,5 @@ class ###Component###Controller###Views### extends JControllerAdmin
public function getModel($name = '###View###', $prefix = '###Component###Model', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}###CONTROLLEREXIMPORTMETHOD### ###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER### ###ADMIN_CUSTOM_BUTTONS_CONTROLLER_LIST###
}###CONTROLLEREXIMPORTMETHOD######CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER######ADMIN_CUSTOM_BUTTONS_CONTROLLER_LIST###
}

View File

@ -94,7 +94,7 @@ class ###Component###Model###View### extends JModelAdmin
}###LINKEDVIEWGLOBAL###
return $item;
}###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL###
}###LINKEDVIEWMETHODS######LICENSE_LOCKED_SET_BOOL###
/**
* Method to get the record form.
@ -238,7 +238,7 @@ class ###Component###Model###View### extends JModelAdmin
}
return $data;
}###VALIDATIONFIX### ###UNIQUEFIELDS###
}###VALIDATIONFIX######UNIQUEFIELDS###
/**
* Method to delete one or more records.
@ -373,7 +373,7 @@ class ###Component###Model###View### extends JModelAdmin
$this->cleanCache();
return true;
}###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE###
}###MODEL_BATCH_COPY######MODEL_BATCH_MOVE###
/**
* Method to save the form data.
@ -397,7 +397,7 @@ class ###Component###Model###View### extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE###
}###CHECKBOX_SAVE######METHOD_ITEM_SAVE###
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))

View File

@ -94,7 +94,7 @@ class ###Component###Model###View### extends JModelAdmin
}###LINKEDVIEWGLOBAL###
return $item;
}###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL###
}###LINKEDVIEWMETHODS######LICENSE_LOCKED_SET_BOOL###
/**
* Method to get the record form.
@ -238,7 +238,7 @@ class ###Component###Model###View### extends JModelAdmin
}
return $data;
}###VALIDATIONFIX### ###UNIQUEFIELDS###
}###VALIDATIONFIX######UNIQUEFIELDS###
/**
* Method to delete one or more records.
@ -373,7 +373,7 @@ class ###Component###Model###View### extends JModelAdmin
$this->cleanCache();
return true;
}###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE###
}###MODEL_BATCH_COPY######MODEL_BATCH_MOVE###
/**
* Method to save the form data.
@ -397,7 +397,7 @@ class ###Component###Model###View### extends JModelAdmin
$metadata = new JRegistry;
$metadata->loadArray($data['metadata']);
$data['metadata'] = (string) $metadata;
}###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE###
}###CHECKBOX_SAVE######METHOD_ITEM_SAVE###
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))

View File

@ -123,5 +123,5 @@ class ###Component###Model###SView### extends JModelItem
}###CUSTOM_ADMIN_AFTER_GET_ITEM###
return $this->_item[$pk];
}###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD###
}###CUSTOM_ADMIN_CUSTOM_METHODS######LICENSE_LOCKED_SET_BOOL######CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD###
}

View File

@ -116,5 +116,5 @@ class ###Component###Model###SView### extends JModelItem
}###SITE_AFTER_GET_ITEM###
return $this->_item[$pk];
}###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD###
}###LICENSE_LOCKED_SET_BOOL######SITE_CUSTOM_METHODS######SITE_CUSTOM_BUTTONS_METHOD###
}

View File

@ -78,9 +78,9 @@ class ###Component###Model###Views### extends JModelList
* @return mixed An array of data items on success, false on failure.
*/
public function getItems()
{###LICENSE_LOCKED_CHECK### ###CHECKINCALL###
{###LICENSE_LOCKED_CHECK######CHECKINCALL###
// load parent items
$items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX### ###SELECTIONTRANSLATIONFIX### ###GET_ITEMS_METHOD_AFTER_ALL###
$items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX######SELECTIONTRANSLATIONFIX######GET_ITEMS_METHOD_AFTER_ALL###
// return items
return $items;
@ -94,7 +94,7 @@ class ###Component###Model###Views### extends JModelList
protected function getListQuery()
{###LICENSE_LOCKED_CHECK###
###LISTQUERY###
}###MODELEXPORTMETHOD### ###LICENSE_LOCKED_SET_BOOL###
}###MODELEXPORTMETHOD######LICENSE_LOCKED_SET_BOOL###
/**
* Method to get a store id based on model configuration state.

View File

@ -71,14 +71,14 @@ class ###Component###Model###SViews### extends JModelList
// redirect away if not a correct (TODO for now we go to default view)
$app->redirect('index.php?option=com_###component###');
return false;
}###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS###
}###LICENSE_LOCKED_CHECK######CUSTOM_ADMIN_BEFORE_GET_ITEMS###
// load parent items
$items = parent::getItems();
// Get the global params
$globalParams = JComponentHelper::getParams('com_###component###', true);###CUSTOM_ADMIN_GET_ITEMS### ###CUSTOM_ADMIN_AFTER_GET_ITEMS###
$globalParams = JComponentHelper::getParams('com_###component###', true);###CUSTOM_ADMIN_GET_ITEMS######CUSTOM_ADMIN_AFTER_GET_ITEMS###
// return items
return $items;
}###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD###
}###CUSTOM_ADMIN_CUSTOM_METHODS######LICENSE_LOCKED_SET_BOOL######CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD###
}

View File

@ -62,14 +62,14 @@ class ###Component###Model###SViews### extends JModelList
*/
public function getItems()
{
$user = JFactory::getUser();###USER_PERMISSION_CHECK_ACCESS### ###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS###
$user = JFactory::getUser();###USER_PERMISSION_CHECK_ACCESS######LICENSE_LOCKED_CHECK######SITE_BEFORE_GET_ITEMS###
// load parent items
$items = parent::getItems();
// Get the global params
$globalParams = JComponentHelper::getParams('com_###component###', true);###SITE_GET_ITEMS### ###SITE_AFTER_GET_ITEMS###
$globalParams = JComponentHelper::getParams('com_###component###', true);###SITE_GET_ITEMS######SITE_AFTER_GET_ITEMS###
// return items
return $items;
}###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD###
}###LICENSE_LOCKED_SET_BOOL######SITE_CUSTOM_METHODS######SITE_CUSTOM_BUTTONS_METHOD###
}

View File

@ -39,7 +39,7 @@ class ###Component###Table###View### extends JTable
*/
function __construct(&$db)
{
parent::__construct('#__###component###_###view###', 'id', $db);###JTABLECONSTRUCTOR### ###LICENSE_LOCKED_CHECK###
parent::__construct('#__###component###_###view###', 'id', $db);###JTABLECONSTRUCTOR######LICENSE_LOCKED_CHECK###
}
public function bind($array, $ignore = '')

View File

@ -39,9 +39,9 @@ class ###Component###View###SView### extends JViewLegacy
* Prepares the document
*/
protected function setDocument()
{###CUSTOM_ADMIN_LIBRARIES_LOADER### ###CUSTOM_ADMIN_DOCUMENT_METADATA### ###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
{###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_DOCUMENT_METADATA######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
// add the document default css file
$this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
$this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
}
/**

View File

@ -115,7 +115,7 @@ class ###Component###View###View### extends JViewLegacy
$this->document = JFactory::getDocument();
}
$this->document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT'));
$this->document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS###
$this->document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE######LINKEDVIEWTABLESCRIPTS###
$this->document->addScript(JURI::root() . $this->script, (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
$this->document->addScript(JURI::root() . "administrator/components/com_###component###/views/###view###/submitbutton.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); ###DOCUMENT_CUSTOM_PHP###
JText::script('view not acceptable. Error');

View File

@ -123,7 +123,7 @@ class ###Component###View###View### extends JViewLegacy
$this->document->addStyleSheet(JURI::root()."administrator/templates/isis/css/template.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
$this->document->addScript(JURI::root()."administrator/templates/isis/js/template.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
// the default style of this view
$this->document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS###
$this->document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###AJAXTOKE######LINKEDVIEWTABLESCRIPTS###
// default javascript of this view
$this->document->addScript(JURI::root().$this->script, (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
$this->document->addScript(JURI::root(). "components/com_###component###/views/###view###/submitbutton.js", (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript'); ###DOCUMENT_CUSTOM_PHP###

View File

@ -116,7 +116,7 @@ class ###Component###View###Views### extends JViewLegacy
// add the button to the page
$dhtml = $layout->render(array('title' => $title));
$bar->appendButton('Custom', $dhtml, 'batch');
}###CUSTOM_ADMIN_DYNAMIC_BUTTONS### ###ADMIN_CUSTOM_BUTTONS_LIST###
}###CUSTOM_ADMIN_DYNAMIC_BUTTONS######ADMIN_CUSTOM_BUTTONS_LIST###
if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete))
{
@ -126,7 +126,7 @@ class ###Component###View###Views### extends JViewLegacy
{
JToolbarHelper::trash('###views###.trash');
}###EXPORTBUTTON###
}###ADMIN_CUSTOM_FUNCTION_ONLY_BUTTONS_LIST### ###IMPORTBUTTON###
}###ADMIN_CUSTOM_FUNCTION_ONLY_BUTTONS_LIST######IMPORTBUTTON###
// set help url for this view if found
$help_url = ###Component###Helper::getHelpUrl('###views###');
@ -172,7 +172,7 @@ class ###Component###View###Views### extends JViewLegacy
'batch[access]',
JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text')
);
}###CATEGORYFILTER### ###OTHERFILTERS###
}###CATEGORYFILTER######OTHERFILTERS###
}
/**

View File

@ -39,9 +39,9 @@ class ###Component###View###SViews### extends JViewLegacy
* Prepares the document
*/
protected function setDocument()
{###CUSTOM_ADMIN_LIBRARIES_LOADER### ###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
{###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
// add the document default css file
$this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
$this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
}
/**

View File

@ -37,9 +37,9 @@ class ###Component###View###SViews### extends JViewLegacy
* Prepares the document
*/
protected function _prepareDocument()
{###SITE_LIBRARIES_LOADER### ###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP###
{###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP###
// add the document default css file
$this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### ###SITE_JAVASCRIPT_FOR_BUTTONS###
$this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS###
}
/**

View File

@ -37,9 +37,9 @@ class ###Component###View###SView### extends JViewLegacy
* Prepares the document
*/
protected function _prepareDocument()
{###SITE_LIBRARIES_LOADER### ###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP###
{###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP###
// add the document default css file
$this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### ###SITE_JAVASCRIPT_FOR_BUTTONS###
$this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS###
}
/**

View File

@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######CUSTOM_ADMIN_CODE_BODY###
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.tooltip');

View File

@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_TEMPLATE_CODE_BODY###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######CUSTOM_ADMIN_TEMPLATE_CODE_BODY###
?>###CUSTOM_ADMIN_TEMPLATE_BODY###

View File

@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED###
?>
<tr>

View File

@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED###
?>
###LISTHEAD###

View File

@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######CUSTOM_ADMIN_CODE_BODY###
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.tooltip');

View File

@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######SITE_CODE_BODY###
?>
###SITE_TOP_FORM### ###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### ###SITE_BOTTOM_FORM###
###SITE_TOP_FORM######SITE_TOP_BUTTON######SITE_BODY######SITE_BOTTOM_BUTTON######SITE_BOTTOM_FORM###

View File

@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######SITE_CODE_BODY###
?>
###SITE_TOP_FORM### ###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### ###SITE_BOTTOM_FORM###
###SITE_TOP_FORM######SITE_TOP_BUTTON######SITE_BODY######SITE_BOTTOM_BUTTON######SITE_BOTTOM_FORM###

View File

@ -15,6 +15,6 @@ defined('_JEXEC') or die('Restricted access');
###BOM###
// No direct access to this file
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_TEMPLATE_CODE_BODY###
defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED######SITE_TEMPLATE_CODE_BODY###
?>###SITE_TEMPLATE_BODY###

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerAdmin_views extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=admin_views', false), $message, 'error');
return;
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_custom_tabs extends JControllerAdmin
public function getModel($name = 'Admin_custom_tabs', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_fields extends JControllerAdmin
public function getModel($name = 'Admin_fields', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_fields_conditions extends JControllerAdmi
public function getModel($name = 'Admin_fields_conditions', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerAdmins_fields_relations extends JControllerAdmin
public function getModel($name = 'Admin_fields_relations', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_admin_views extends JControllerAdmin
public function getModel($name = 'Component_admin_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_config extends JControllerAdmin
public function getModel($name = 'Component_config', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_custom_admin_menus extends JControlle
public function getModel($name = 'Component_custom_admin_menus', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_custom_admin_views extends JControlle
public function getModel($name = 'Component_custom_admin_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_dashboard extends JControllerAdmin
public function getModel($name = 'Component_dashboard', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_files_folders extends JControllerAdmi
public function getModel($name = 'Component_files_folders', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_mysql_tweaks extends JControllerAdmin
public function getModel($name = 'Component_mysql_tweaks', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_site_views extends JControllerAdmin
public function getModel($name = 'Component_site_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerComponents_updates extends JControllerAdmin
public function getModel($name = 'Component_updates', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerCustom_admin_views extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views', false), $message, 'error');
return;
}
}
public function getSnippets()
{

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerCustom_codes extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_codes', false), $message, 'error');
return;
}
}
}

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerDynamic_gets extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=dynamic_gets', false), $message, 'error');
return;
}
}
}

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerFields extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fields', false), $message, 'error');
return;
}
}
}

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerFieldtypes extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fieldtypes', false), $message, 'error');
return;
}
}
}

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerHelp_documents extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=help_documents', false), $message, 'error');
return;
}
}
}

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerJoomla_components extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_components', false), $message, 'error');
return;
}
}
public function smartImport()
{

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerLanguage_translations extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=language_translations', false), $message, 'error');
return;
}
}
}

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerLanguages extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=languages', false), $message, 'error');
return;
}
}
public function buildLanguages()
{

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerLayouts extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=layouts', false), $message, 'error');
return;
}
}
public function getSnippets()
{

View File

@ -39,7 +39,7 @@ class ComponentbuilderControllerLibraries extends JControllerAdmin
public function getModel($name = 'Library', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
public function getSnippets()
{

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerLibraries_config extends JControllerAdmin
public function getModel($name = 'Library_config', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerLibraries_files_folders_urls extends JController
public function getModel($name = 'Library_files_folders_urls', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerServers extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=servers', false), $message, 'error');
return;
}
}
}

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerSite_views extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=site_views', false), $message, 'error');
return;
}
}
public function getSnippets()
{

View File

@ -39,5 +39,5 @@ class ComponentbuilderControllerSnippet_types extends JControllerAdmin
public function getModel($name = 'Snippet_type', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
{
return parent::getModel($name, $prefix, $config);
}
}
}

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerSnippets extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=snippets', false), $message, 'error');
return;
}
}
public function getSnippets()
{

View File

@ -102,7 +102,7 @@ class ComponentbuilderControllerTemplates extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=templates', false), $message, 'error');
return;
}
}
public function getSnippets()
{

View File

@ -102,5 +102,5 @@ class ComponentbuilderControllerValidation_rules extends JControllerAdmin
$message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED');
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=validation_rules', false), $message, 'error');
return;
}
}
}

View File

@ -25,7 +25,7 @@ abstract class ComponentbuilderHelper
{
// the Session keeps track of all data related to the current session of this user
self::loadSession();
}
}
/**
* Locked Libraries (we can not have these change)
@ -4054,7 +4054,7 @@ abstract class ComponentbuilderHelper
{
JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_HELP_DOCUMENTS'), 'index.php?option=com_componentbuilder&view=help_documents', $submenu === 'help_documents');
}
}
}
/**
* UIKIT Component Classes
@ -4156,7 +4156,7 @@ abstract class ComponentbuilderHelper
return $classes;
}
return false;
}
}
/**
* Prepares the xml document

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;
}
}
}

Some files were not shown because too many files have changed in this diff Show More