Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
renderer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
renderer
Commits
19620b1b
Commit
19620b1b
authored
3 years ago
by
Thibaut Vallee
Browse files
Options
Downloads
Patches
Plain Diff
Implémentation de ressourceIntergace pour Macro et Content
parent
720e1227
No related branches found
No related tags found
No related merge requests found
Pipeline
#10837
passed
3 years ago
Stage: publish
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/UnicaenRenderer/Entity/Db/Content.php
+14
-1
14 additions, 1 deletion
src/UnicaenRenderer/Entity/Db/Content.php
src/UnicaenRenderer/Entity/Db/Macro.php
+14
-1
14 additions, 1 deletion
src/UnicaenRenderer/Entity/Db/Macro.php
with
28 additions
and
2 deletions
src/UnicaenRenderer/Entity/Db/Content.php
+
14
−
1
View file @
19620b1b
...
...
@@ -4,10 +4,23 @@ namespace UnicaenRenderer\Entity\Db;
use
UnicaenUtilisateur\Entity\HistoriqueAwareInterface
;
use
UnicaenUtilisateur\Entity\HistoriqueAwareTrait
;
use
Zend\Permissions\Acl\Resource\ResourceInterface
;
class
Content
implements
HistoriqueAwareInterface
{
class
Content
implements
HistoriqueAwareInterface
,
ResourceInterface
{
use
HistoriqueAwareTrait
;
const
RESOURCE_ID
=
'Content'
;
/**
* Returns the string identifier of the Resource
*
* @return string
*/
public
function
getResourceId
()
{
return
self
::
RESOURCE_ID
;
}
const
TYPE_TXT
=
'texte'
;
const
TYPE_PDF
=
'pdf'
;
const
TYPE_MAIL
=
'mail'
;
...
...
This diff is collapsed.
Click to expand it.
src/UnicaenRenderer/Entity/Db/Macro.php
+
14
−
1
View file @
19620b1b
...
...
@@ -4,10 +4,23 @@ namespace UnicaenRenderer\Entity\Db;
use
UnicaenUtilisateur\Entity\HistoriqueAwareInterface
;
use
UnicaenUtilisateur\Entity\HistoriqueAwareTrait
;
use
Zend\Permissions\Acl\Resource\ResourceInterface
;
class
Macro
implements
HistoriqueAwareInterface
{
class
Macro
implements
HistoriqueAwareInterface
,
ResourceInterface
{
use
HistoriqueAwareTrait
;
const
RESOURCE_ID
=
'Macro'
;
/**
* Returns the string identifier of the Resource
*
* @return string
*/
public
function
getResourceId
()
{
return
self
::
RESOURCE_ID
;
}
/** @var integer */
private
$id
;
/** @var string */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment