Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.52
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
php_old /
pear /
PHP /
UML /
Output /
HtmlNew /
Delete
Unzip
Name
Size
Permission
Date
Action
$resources
[ DIR ]
drwxrwxrwx
2024-07-26 17:38
templates
[ DIR ]
drwxrwxrwx
2024-07-26 17:38
DocClass.php
1.33
KB
-rw-rw-rw-
2016-01-27 13:08
DocClassifier.php
7.3
KB
-rw-rw-rw-
2016-01-27 13:08
DocDatatype.php
1.37
KB
-rw-rw-rw-
2016-01-27 13:08
DocElement.php
12.08
KB
-rw-rw-rw-
2016-01-27 13:08
DocIndex.php
5
KB
-rw-rw-rw-
2016-01-27 13:08
DocInterface.php
1.36
KB
-rw-rw-rw-
2016-01-27 13:08
DocMenu.php
4.1
KB
-rw-rw-rw-
2016-01-27 13:08
DocPackage.php
4.18
KB
-rw-rw-rw-
2016-01-27 13:08
DocResources.php
1.76
KB
-rw-rw-rw-
2016-01-27 13:08
Exporter.php
3.33
KB
-rw-rw-rw-
2016-01-27 13:08
Save
Rename
<?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: 169 $ * @link http://pear.php.net/package/PHP_UML * @since $Date: 2011-09-12 01:28:43 +0200 (lun., 12 sept. 2011) $ */ /** * Implementation of the HTML renderer for a Package * * @category PHP * @package PHP_UML * @subpackage Output * @subpackage HtmlNew * @author Baptiste Autin <ohlesbeauxjours@yahoo.fr> * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3 */ class PHP_UML_Output_HtmlNew_DocPackage extends PHP_UML_Output_HtmlNew_DocElement { /** * Generates and saves the HTML code for a package * * @param PHP_UML_Metamodel_Package $p Starting package */ public function render($p) { if ($this->getContextPackage()->dir=='') { $fullName = $p->name; } else { $fullName = rtrim($this->getAbsPath($p, self::T_NAMESPACE), self::T_NAMESPACE); } $nav = $this->getNavigationBlock(); $tit = $this->getTitleBlock($fullName); $str = $this->getDescriptionBlock($p); $str .= $this->getPropertyBlock($p); $str .= $this->getFunctionBlock($p); $str = $this->replaceInTpl($str, $nav, $tit, $fullName); $this->save(self::PACKAGE_FILENAME, $str); } private function getDescriptionBlock($p) { $str = ''; if (!is_null($p->description)) { $str .= '<div class="descriptionPkg"><p><ul class="single">'.$this->getTagsAsList($p->description).'</ul></p></div>'; } if (count($p->nestedPackage)>0) { $str .= '<h2>Packages</h2>'; $str .= '<ul class="summary">'; foreach ($p->nestedPackage as $np) { $str .= '<li>'; $str .= '<a href="'.$np->name.'/'.self::PACKAGE_FILENAME.'.'.self::FILE_EXT.'" class="package" target="main">'.$np->name.'</a>'; $str .= '</li>'; } $str .= '</ul>'; } $display = false; $tmp = '<h2>Classes</h2>'; $tmp .= '<ul class="summary">'; foreach ($this->getContextPackage()->classes as $o) { if ($this->getContextPackage()->dir!='' || !in_array($o->name, $this->hiddenClasses)) { $display = true; $tmp .= '<li>'. '<a href="'.self::getObjPrefix($o).$o->name.'.'.self::FILE_EXT.'" class="'.self::getObjStyle($o).'" target="main">'.$o->name.'</a>'. '</li>'; } } $tmp .= '</ul>'; if ($display) $str .= $tmp; $display = false; $tmp = '<h2>Interfaces</h2>'; $tmp .= '<ul class="summary">'; foreach ($this->getContextPackage()->interfaces as $o) { if ($this->getContextPackage()->dir!='' || !in_array($o->name, $this->hiddenInterfaces)) { $display = true; $tmp .= '<li>'. '<a href="'.self::getObjPrefix($o).$o->name.'.'.self::FILE_EXT.'" class="'.self::getObjStyle($o).'" target="main">'.$o->name.'</a>'. '</li>'; } } $tmp .= '</ul>'; if ($display) $str .= $tmp; return $str; } /** * Return the HTML code for the navigation bar * * @return string */ private function getNavigationBlock() { $str = $this->getCommonLinks(); if (!empty($this->getContextPackage()->rpt)) $str .= $this->getNavigParentPackage('../'); return $str; } private function getTitleBlock($name) { return '<h1 class="'.$this->getStyleName().'">'.$name.'</h1>'; } private function getStyleName() { return $this->getContextPackage()->dir=='' ? 'model' : 'package'; } protected function getTypeName() { return $this->getStyleName(); } protected function getPropertyStyle($visibility) { return 'property'; } protected function getFunctionStyle($visibility) { return 'method'; } } ?>