-
Notifications
You must be signed in to change notification settings - Fork 0
/
Document.php
38 lines (33 loc) · 1.21 KB
/
Document.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
Project: Short PLCS PHP Implementation
Started : 2019, oct 13
From : http://www.plcs.org/plcslib/plcslib/data/PLCS/psm_model/model_base.html
PURPOSE:
Learn bases of object oriented programming how to :
- call classes, create objects,
- use inherance, ploymorphism, encapsulation,
- implement Interface and abstract class
=== THIS IS THE DOCUMENT CLAS
SysLM block diagram http://www.plcs.org/plcslib/plcslib/data/PLCS/psm_model/images/SysML_Block_Definition_Diagram__Diagrams__Product.png
-->
<?php
include 'ReferenceData.php';
require 'Product.php';
class Document extends Product
{
// Remember the inherited properties :
// $id, $name, $description, $classifiedAs, state, handling, goingToRoom; $document; $weight; $state; $handling;
private $digitalFile;
public function __construct($myName)
{
parent::__construct($myName);
}
public function get_digitalFile()
{
//write here to return digitalFile
}
public function set_digitalFile(){
//write here to return digitalFile
}
}
?>