Topics

Default Filter list

The table below lists default ImpressPages core filters.

Filter name Filtered object (1 argument) Comment Additional data (2 argument)
ipAdminMenu Array of \Ip\Internal\Admin\MenuItem
ipAdminNavbarButtons Array
ipAdminNavbarCenterElements Array
ipAdminPermission Bool By catching this filter you can modify admin's prmissions on the fly depending on your own criteria

permission

administratorId

ipAdminRepositorySidebar String Repository browser HTML, that resides on the side.
ipAdminSystemSubmenu Arary of \Ip\Internal\Admin\MenuItem
ipAdminWidgets Array Filter widgets, that appear in admin. Change widget grouping (tagging). Available since 4.6.1
ipAvailablePermissions Array of strings (Plugin names) List of all available admin permissions
ipBlockContent String Filter block output HTML blockName
ipBreadcrumb Array of \Ip\Page Modify breadcrumb
ipDesignOptionsSave Key => value array Filter design options before storing to the database. Available since 4.5.0
ipHead String Filter ipHead() function result. Available since 4.2.7
ipJs Array Filter JavaScript URLs added using ipAddJs function
ipJavaScript  Array Filter the output of ipJs function. Available since 4.5.3
ipMenuForm \Ip\Form Modify form object of menu creation popup menuId
ipPageListGridConfig Array Modify GRID config used to display pages in a list style in pages section. (since 4.5.2) parentId
ipPagePropertiesForm Form Modify page properties form in admin pageId
ipPagesMenuList Array Filter menu list appearing in Pages section of admin
ipPageTree Array Filter page tree appearing in pages section of admin (since 4.5.2) languageCode parentId
ipPaymentMethods Array of \Ip\Payment Array of payment methods available to process requested payment defined by data variables

id

price

currency

title

(any other data supported by installed payment methods)

ipPaymentSelectPageResponse String Filter payment method selection page content

paymentKey

ipPluginPropertiesHtml String Plugin's properties HTML in admin area (since 4.2.0) pluginName
ipPluginPropertiesForm \Ip\Form pluginName
ipReflectionExtension String (file extension) Modify file extension of reflection being created. Useful when your custom reflection needs to change file type

source

options

ipReplacePlaceholdersValues Modify the default list of available placeholders

content

context

customValues

ipReplacePlaceholders Actually replace placeholders to their values

content

context

customValues

ipRepositoryNewReflectionFileName
ipSendEmailPHPMailerObject Modify PHPMailerObject before email will be sent

id

email

to

toName

from

fromName

subject

immediate

html

files

fileNames

fileMimeTypes

ipSendResponse Modify the response just before it will be sent out to the browser
ipSubscriptionPaymentMethods Array of subscription payment methods available to process requested payment defined by data variables

item

period

periodType

amount

currency

(any other data supported by installed payment methods)

ipSubscriptionPaymentSelectPageResponse Filter payment method selection page content

paymentKey

ipThemes (since 4.2.2) Filter list of themes available in Design section of admin

ipUserData Modify user data accessed using ipUser()->data() method. userId
ipWhiteListExtensions Extensions to be allowed to upload to the repository
ipWidgetFormFieldTypes Field types available in form widget
ipWidgetHtml Modify HTML of the widget

id

name

skin

data

revisionId

languageId

blockName

position

isVisible

isDeleted

createdAt

updatedAt

deletedAt

ipWidgetHtmlFull (since 4.2.8) Modify HTML of the widget including the surrounding widget container

id

name

skin

data

revisionId

languageId

blockName

position

isVisible

isDeleted

createdAt

updatedAt

deletedAt

ipWidgetManagementMenu Settings menu of widget. Separate filter is thrown for every single widget on the page.

id

name

skin

data

revisionId

languageId

blockName

position

isVisible

isDeleted

createdAt

updatedAt

deletedAt

ipWidgets Objects of all available widgets on the system

See also


comments powered by Disqus