Download the PHP package belcebur/belcebur-basic without Composer
On this page you can find all versions of the php package belcebur/belcebur-basic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download belcebur/belcebur-basic
More information about belcebur/belcebur-basic
Files in belcebur/belcebur-basic
Package belcebur-basic
Short Description Basic Tools from ZF2 + Doctrine + Gedmo Extension / Utilidades varias para ZF2 + Doctrine + Gedmo Extension
License Apache-2.0
Informations about the package belcebur-basic
= Belcebur Basics
'''
==== Require PHP >=7.0
- Nl2brFilter
- View Helper
- Abstract Entity
- Abstract Gedmo Entity
- Abstract Repository
- Abstract Gedmo Translatable Repository
== Nl2brFilter
Añadir el filtro a los formularios
In your input filter configuration, add the nl2br
filter to filter the result. An example form:
[source,php]
// To Create Breadcrumb
// To Create Menu
== Abstract Doctrine Entity / Doctrine Entity abstracta
Add new search methods to your entity
Añade nuevos metodos de busqueda a tus entities
== Example Custom Repository
[source,php]
== Example Custom Repository With Gedmo Extensions Translatable
Gedmo Extensions Translatable https://github.com/Atlantic18/DoctrineExtensions
[source,php]
=== Included Methods/ Metodos Incluidos
==== ONLY GEDMO
getTranslatableLocale() setTranslatableLocale()
==== setFromArray(array $data)
[source,php]
== Example Gedmo Translations
If you use Gedmo Extensions Translatable https://github.com/Atlantic18/DoctrineExtensions, extend your repository from EntityRepositoryTranslatable and adds new search methods. It is not necessary to include the Gedmo Walker.
Si utiliza las Gedmo Extensions Translatable https://github.com/Atlantic18/DoctrineExtensions, extienda su repositorio de EntityRepositoryTranslatable y añada nuevos métodos de búsqueda. No es necesario incluir el Gedmo Walker.
[source,php]
=== Included Methods/ Metodos Incluidos
- findNotBy(array $criteria, array $orderBy = NULL, $limit = NULL, $offset = NULL)
- findOneNotBy(array $criteria)
- findOrLikeBy(array $orCriteria, array $orderBy = NULL, $limit = NULL, $offset = NULL, $andCriteria = NULL)
- findOneOrLikeBy(array $criteria)
- findOneBy(array $criteria) //Only for Gedmo Extensions (Include Gedmo Walker on query)
- findOneLikeBy(array $criteria)
- findNotLikeBy(array $criteria, array $orderBy = NULL, $limit = NULL, $offset = NULL)
- findBy(array $criteria, array $orderBy = NULL, $limit = NULL, $offset = NULL)
- findLikeBy(array $criteria, array $orderBy = NULL, $limit = NULL, $offset = NULL)