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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
<?php /** * PHP_UML * * PHP version 5 * * @category PHP * @package PHP_UML * @author Baptiste Autin <ohlesbeauxjours@yahoo.fr> * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3 * @version SVN: $Revision: 136 $ * @link http://pear.php.net/package/PHP_UML * @since $Date: 2009-12-10 01:35:58 +0100 (jeu., 10 déc. 2009) $ */
/** * Implementation of the class renderer * * @category PHP * @package PHP_UML * @subpackage Output * @subpackage Php * @author Baptiste Autin <ohlesbeauxjours@yahoo.fr> * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3 */ class PHP_UML_Output_Php_DocInterface extends PHP_UML_Output_Php_DocClassifier { protected function getTypeName() { return 'interface'; }
protected function getStyleName() { return 'interface'; }
protected function getPrefix() { return self::INTERFACE_PREFIX; }
protected function getCurrentElement($i) { return $this->getContextPackage()->interfaces[$i]; }
protected function getNextElement($i) { return $i+1<count($this->getContextPackage()->interfaces) ? $this->getContextPackage()->interfaces[$i+1] : null; }
protected function getPreviousElement($i) { return $i>0 ? $this->getContextPackage()->interfaces[$i-1] : null; } } ?>
|