forked from joomla/Component-Builder
add onBeforeBuildAccessSections & onAfterBuildAccessSections events to compiler of JCB.
This commit is contained in:
parent
9fcc5c3930
commit
40d867e602
@ -150,10 +150,10 @@ TODO
|
|||||||
+ *Version*: 2.10.0
|
+ *Version*: 2.10.0
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **247882**
|
+ *Line count*: **247734**
|
||||||
+ *Field count*: **1343**
|
+ *Field count*: **1343**
|
||||||
+ *File count*: **1608**
|
+ *File count*: **1604**
|
||||||
+ *Folder count*: **253**
|
+ *Folder count*: **250**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
|
@ -150,10 +150,10 @@ TODO
|
|||||||
+ *Version*: 2.10.0
|
+ *Version*: 2.10.0
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **247882**
|
+ *Line count*: **247734**
|
||||||
+ *Field count*: **1343**
|
+ *Field count*: **1343**
|
||||||
+ *File count*: **1608**
|
+ *File count*: **1604**
|
||||||
+ *Folder count*: **253**
|
+ *Folder count*: **250**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
|
@ -15703,7 +15703,11 @@ function vdm_dkim() {
|
|||||||
$this->componentGlobal = array();
|
$this->componentGlobal = array();
|
||||||
$this->permissionViews = array();
|
$this->permissionViews = array();
|
||||||
|
|
||||||
|
// Trigger Event: jcb_ce_onBeforeBuildAccessSections
|
||||||
|
$this->triggerEvent('jcb_ce_onBeforeBuildAccessSections', array(&$this->componentContext, $this));
|
||||||
|
|
||||||
$this->componentHead[] = '<section name="component">';
|
$this->componentHead[] = '<section name="component">';
|
||||||
|
|
||||||
$this->componentHead[] = $this->_t(2) . '<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />';
|
$this->componentHead[] = $this->_t(2) . '<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />';
|
||||||
$this->componentHead[] = $this->_t(2) . '<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />';
|
$this->componentHead[] = $this->_t(2) . '<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />';
|
||||||
$this->componentHead[] = $this->_t(2) . '<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />';
|
$this->componentHead[] = $this->_t(2) . '<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />';
|
||||||
@ -15938,6 +15942,10 @@ function vdm_dkim() {
|
|||||||
$this->buildPermissions($view, $nameView, $nameViews, $menuControllers);
|
$this->buildPermissions($view, $nameView, $nameViews, $menuControllers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Trigger Event: jcb_ce_onAfterBuildAccessSections
|
||||||
|
$this->triggerEvent('jcb_ce_onAfterBuildAccessSections', array(&$this->componentContext, $this));
|
||||||
|
|
||||||
// set the views permissions now
|
// set the views permissions now
|
||||||
if (ComponentbuilderHelper::checkArray($this->permissionViews))
|
if (ComponentbuilderHelper::checkArray($this->permissionViews))
|
||||||
{
|
{
|
||||||
|
@ -5215,9 +5215,6 @@ abstract class ComponentbuilderHelper
|
|||||||
&& ($timestamp <= PHP_INT_MAX)
|
&& ($timestamp <= PHP_INT_MAX)
|
||||||
&& ($timestamp >= ~PHP_INT_MAX);
|
&& ($timestamp >= ~PHP_INT_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Privacy integration with Joomla Privacy suite
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load the Component xml manifest.
|
* Load the Component xml manifest.
|
||||||
|
@ -5215,9 +5215,6 @@ abstract class ComponentbuilderHelper
|
|||||||
&& ($timestamp <= PHP_INT_MAX)
|
&& ($timestamp <= PHP_INT_MAX)
|
||||||
&& ($timestamp >= ~PHP_INT_MAX);
|
&& ($timestamp >= ~PHP_INT_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Privacy integration with Joomla Privacy suite
|
|
||||||
|
|
||||||
|
|
||||||
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
||||||
|
Loading…
Reference in New Issue
Block a user