Download the PHP package sqli/ezplatform_adminui_extended without Composer
On this page you can find all versions of the php package sqli/ezplatform_adminui_extended. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sqli/ezplatform_adminui_extended
More information about sqli/ezplatform_adminui_extended
Files in sqli/ezplatform_adminui_extended
Package ezplatform_adminui_extended
Short Description SQLI eZPlatform AdminUI Extended is a bundle that add a new tab in admin top bar and allow to display and CRUD entities
License MIT
Homepage https://github.com/DocDams/EzPlatformAdminUiExtended
Informations about the package ezplatform_adminui_extended
SQLI eZPlatform Admin UI Extended Bundle
SQLI eZPlatform AdminUI Extended is a bundle that add a new tab in admin top bar and allow to display and CRUD entities
Installation
Install with composer
Register the bundle
Activate the bundle in app/AppKernel.php
Add routes
In app/config/routing.yml
:
Assets
Generate assets :
Parameters
Configure directories (and namespaces if not according to PSR-0 rules) entities to lookup :
Use "~" if the namespace of your classes observe PSR-0 rules or specify directory which contains them.
(Optional) Change label tabname
You can change label of the default tab using this translation key for domain sqli_admin
: sqli_adminmenu_entities_tabdefault
Annotations on entities :
Class annotation Entity
has following properties :
- description Description
- update Allow update of a line in table
- delete Allow deletion of a line in table
- create Allow creation of new line in table
- max_per_page Number of elements per page (Pagerfanta)
- csv_exportable Allow data CSV export for the entity
- tabname Group this entity in a tab under top menu instead of default tab
Property annotation EntityProperty
has following properties :
- description Description
- visible Display column
- readonly Disallow modifications in edit form
- choices An hash relayed to ChoiceType
- extra_link Use value as contentID or locationID or tagID (required Netgen/TagsBundle) to create a link in eZPlatform Back-Office
Supported types
List of supported Doctrine types :
- string
- text
- integer
- float
- decimal
- boolean
- date
- datetime
- array (Using serialization)
- object (Using serialization)
NOTICE : Be careful if you choose to specify the return type on getters : in creation mode, getters will return 'null' so please provide a default value or nullable in type of return (see getter in above class example)
Tab
Specifying class annotation tabname
for an entity will create a new tab under main top menu.
Label for this tab can be define in translation domain sqli_admin
with this key :
sqli_adminmenu_entities_tabtabname
Traduction for default
tab :
sqli_adminmenu_entities_tabdefault: "Entités Doctrine"
All versions of ezplatform_adminui_extended with dependencies
symfony/symfony Version ^3.4.2
twig/twig Version ^1.0||^2.0
doctrine/doctrine-bundle Version ^1.6
doctrine/orm Version ^2.5
ezsystems/ezpublish-kernel Version ^7.0
ezsystems/ezplatform-admin-ui Version ^1.0
white-october/pagerfanta-bundle Version ^1.1