Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
renderer
Commits
720e1227
Commit
720e1227
authored
Sep 21, 2021
by
Jean-Philippe Metivier
Browse files
Changement getId():int => getId():?int
parent
b5268f9b
Pipeline
#10777
passed with stage
in 20 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
readme.md
View file @
720e1227
...
...
@@ -6,4 +6,9 @@ Le module **unicaen/renderer** est en charge du stockage des templates et des ma
Deux tables sont utilisées pour stocker les données :
-
unicaen_renderer_content
-
unicaen_renderer_macro
Les scripts associées à la création est trouvable dans ModuleRenderer
\E
ntity
\S
QL
\0
01_table.sql
\ No newline at end of file
Les scripts associées à la création est trouvable dans [ModuleRenderer
\S
QL
\0
01_table.sql]
Deux catégories de privileges sont utilisées pour la gestion des accés aux interfaces
La liste des pribvilèges est enregistré dans les providers et l'insertion de ceux-ci dans le fichier
Utilisation de tinyMCE (v4.+) pour la partie WYSIWYG
\ No newline at end of file
src/UnicaenRenderer/Entity/Db/Content.php
View file @
720e1227
...
...
@@ -28,9 +28,9 @@ class Content implements HistoriqueAwareInterface {
private
$css
;
/**
* @return int
* @return int
|null
*/
public
function
getId
()
:
int
public
function
getId
()
:
?
int
{
return
$this
->
id
;
}
...
...
src/UnicaenRenderer/Entity/Db/Macro.php
View file @
720e1227
...
...
@@ -20,9 +20,9 @@ class Macro implements HistoriqueAwareInterface {
private
$methode
;
/**
* @return int
* @return int
|null
*/
public
function
getId
()
:
int
public
function
getId
()
:
?
int
{
return
$this
->
id
;
}
...
...
src/UnicaenRenderer/Entity/SQL/001_table.sql
deleted
100755 → 0
View file @
b5268f9b
-- TABLE DES MACROS
create
table
unicaen_renderer_macro
(
id
serial
not
null
constraint
unicaen_renderer_macro_pk
primary
key
,
code
varchar
(
256
)
not
null
,
description
text
,
variable_name
varchar
(
256
)
not
null
,
methode_name
varchar
(
256
)
not
null
,
histo_creation
timestamp
not
null
,
histo_createur_id
integer
not
null
constraint
unicaen_renderer_macro_user_id_fk
references
"user"
,
histo_modification
timestamp
not
null
,
histo_modificateur_id
integer
not
null
constraint
unicaen_renderer_macro_user_id_fk_2
references
"user"
,
histo_destruction
timestamp
,
histo_destructeur_id
integer
constraint
unicaen_renderer_macro_user_id_fk_3
references
"user"
);
create
unique
index
unicaen_renderer_macro_id_uindex
on
unicaen_renderer_macro
(
id
);
create
unique
index
unicaen_renderer_macro_code_uindex
on
unicaen_renderer_macro
(
code
);
-- TABLE DES CONTENUS
create
table
unicaen_renderer_content
(
id
serial
not
null
constraint
unicaen_content_content_pk
primary
key
,
code
varchar
(
256
)
not
null
,
description
text
,
renderer_type
varchar
(
256
)
not
null
,
renderer_complement
text
not
null
,
renderer_content
text
not
null
,
histo_creation
timestamp
not
null
,
histo_createur_id
integer
not
null
constraint
unicaen_content_content_user_id_fk
references
"user"
,
histo_modification
timestamp
not
null
,
histo_modificateur_id
integer
not
null
constraint
unicaen_content_content_user_id_fk_2
references
"user"
,
histo_destruction
timestamp
,
histo_destructeur_id
integer
constraint
unicaen_content_content_user_id_fk_3
references
"user"
);
create
unique
index
unicaen_content_content_id_uindex
on
unicaen_renderer_content
(
id
);
create
unique
index
unicaen_content_content_code_uindex
on
unicaen_renderer_content
(
code
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment