PHP CRUD Generator - Base de données renecra_admin

Outils
renecra_admin Relations
Table Colonne Table référencée Colonne référencée
expositions ref_expo type_expo id_exv
oeuvres ref_cat categories id_cat
oeuvres ref_type type_oeuvre id_type
type_oeuvre ref_catype categories id_cat
utilisateurs profiles_ID utilisateurs_profiles ID
Table
Sélectionnez une action
Options de la liste paginée
archivesConfiguration générale
archivesNoms affichés dans l'administration
archivesFiltres (listes déroulantes pour filtrer les résultats)

Utilisez FlySpeed SQL Query pour générer et tester vos requêtes

Label
Label affiché en regard de la liste déroulante.
Exemple : "Auteur"
Valeur(s)
Champs à afficher dans la liste déroulante, séparés par " + ".
Exemple : "authors.name + authors.first_name"
Champs
Champs pour la requête SQL SELECT.
Exemple : "authors.name, authors.first_name, articles.authors_id"
Champs à filtrer
Champ utilisé pour filtrer la requête.
Exemple : "articles.authors_id"
SQL FROM
Requête SQL FROM.
Exemple : "articles Left Join authors On articles.authors_id = authors.id"
n° de colonne
Index de la colonne filtrée dans la liste paginée
Utilisé pour colorer la colonne filtrée. L'index commence au numéro 1.
Type de valeurs
Texte ou Booléen.

La requête citée en exemple sera la suivante :

SELECT DISTINCT authors.name, authors.first_name, articles.authors_id FROM articles INNER JOIN authors ON articles.authors_id = authors.id

Lorsque l'utilisateur a choisi un élément de la liste :

SELECT DISTINCT authors.name, authors.first_name, articles.authors_id FROM articles INNER JOIN authors ON articles.authors_id = authors.id WHERE articles.authors_id =  [valeur postée]

Utilisez table.field plutôt que field pour éviter les requêtes ambigues.

archivesarchives Champs

Valeurs : Aucun(e)

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/
Choisissez les types de champs et options pour les formulaires Create | Update
archives

Les valeurs des champs auto-incrément sont automatiquement générées dans les formulaires CREATE.
La validation est automatique et ne peut être modifiée

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

integer($message = null)
min($limit, $include = TRUE, $message = null)
max($limit, $include = TRUE, $message = null)
[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

required($message = null)
maxLength($length, $message = null)
[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

required($message = null)
maxLength($length, $message = null)
[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

maxLength($length, $message = null)
[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

required($message = null)
[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

required($message = null)
maxLength($length, $message = null)
[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Laisser vide si aucune limitation

Laisser vide si aucune limitation

Champ caché à la date du your (non|oui)

Aucun(e)

Rule Description Result
d Date of the month 1 – 31
dd Date of the month with a leading zero 01 – 31
ddd Day of the week in short form Sun – Sat
dddd Day of the week in full form Sunday – Saturday
m Month of the year 1 – 12
mm Month of the year with a leading zero 01 – 12
mmm Month name in short form Jan – Dec
mmmm Month name in full form January – December
yy Year in short form * 00 – 99
yyyy Year in full form 2000 – 2999
Rule Description Result
h Hour in 12-hour format 1 – 12
hh Hour in 12-hour format with a leading zero 01 – 12
H Hour in 24-hour format 0 – 23
HH Hour in 24-hour format with a leading zero 00 – 23
i Minutes 00 – 59
a Day time period a.m. / p.m.
A Day time period in uppercase AM / PM

Pas de html

required($message = null)
maxLength($length, $message = null)
Options de la liste enregistrement unique
Configuration générale
archives
archives

Valeurs : Aucun(e)

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/

Valeurs : Aucun(e)

[ROOT_PATH]/
[ROOT_URL]/

Liste séparée par des virgules. Exemple: doc, docx, xls, xlsx, pdf, txt

[ROOT_PATH]/
[ROOT_URL]/
Options pour le formulaire de suppression

Champs affichés à l'utilisateur dans l'admin pour confirmer la suppression

 

construct

getTables => Get tables from DB

getTables => generator default table = archives

getDbColumns

registerColumnsProperties => From JSON : renecra_admin/archives.json