Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clivi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
NF17 - CAMP - P14
clivi
Commits
287376ad
Commit
287376ad
authored
10 years ago
by
clement
Browse files
Options
Downloads
Patches
Plain Diff
corrections
parent
d240430f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
class/animal.php
+22
-0
22 additions, 0 deletions
class/animal.php
class/facture.php
+22
-0
22 additions, 0 deletions
class/facture.php
class/personne.php
+11
-0
11 additions, 0 deletions
class/personne.php
with
55 additions
and
0 deletions
class/animal.php
+
22
−
0
View file @
287376ad
...
...
@@ -3,6 +3,8 @@
class
Animal
{
private
$nom
;
private
$proprio
;
private
$race
;
private
$poids
;
private
$genre
;
private
$sterile
;
...
...
@@ -21,6 +23,26 @@ class Animal
$this
->
nom
=
$nom
;
}
public
function
proprio
()
{
return
$this
->
proprio
;
}
public
function
setProprio
(
$proprio
)
{
$this
->
proprio
=
$proprio
;
}
public
function
race
()
{
return
$this
->
race
;
}
public
function
setRace
(
$race
)
{
$this
->
race
=
$race
;
}
public
function
poids
()
{
return
$this
->
poids
;
...
...
This diff is collapsed.
Click to expand it.
class/facture.php
+
22
−
0
View file @
287376ad
...
...
@@ -3,6 +3,8 @@
class
Facture
{
private
$id
;
private
$employe
;
private
$animal
;
private
$date_edition
;
private
$date_paiement
;
private
$moyen_paiement
;
...
...
@@ -18,6 +20,26 @@ class Facture
$this
->
id
=
$id
;
}
public
function
employe
()
{
return
$this
->
employe
;
}
public
function
setEmploye
(
$employe
)
{
$this
->
employe
=
$employe
;
}
public
function
animal
()
{
return
$this
->
animal
;
}
public
function
setAnimal
(
$animal
)
{
$this
->
animal
=
$animal
;
}
public
function
date_edition
()
{
return
$this
->
date_edition
;
...
...
This diff is collapsed.
Click to expand it.
class/personne.php
+
11
−
0
View file @
287376ad
...
...
@@ -2,9 +2,20 @@
class
Personne
{
private
$id
;
private
$nom
;
private
$prenom
;
public
function
id
()
{
return
$this
->
id
;
}
public
function
setId
(
$id
)
{
$this
->
id
=
$id
;
}
public
function
nom
()
{
return
$this
->
nom
;
...
...
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