/usr/share/php/kohana2/modules/kodoc/views/kodoc/class.php is in libkohana2-modules-php 2.3.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?php defined('SYSPATH') OR die('No direct access allowed.');
// Re-create class declaration
$declaration = implode('', array
(
$final ? html::anchor('http://www.php.net/manual/language.oop5.final.php', 'final').' ' : '',
$abstract ? html::anchor('http://www.php.net/manual/language.oop5.abstract.php', 'abstract').' ' : '',
$interface ? html::anchor('http://www.php.net/manual/language.oop5.interfaces.php', 'interface').' ': '',
'class ',
$name,
$extends ? ' extends '.$extends : '',
$implements ? ' implements '.implode(', ', $implements) : '',
));
?>
<h3>Class: <?php echo $name ?></h3>
<code class="declaration"><?php echo $declaration ?></code>
<?php
if ( ! empty($comment['about'])):
echo $comment['about'];
endif;
if ( ! empty($methods)):
?>
<div class="methods">
<?php
foreach ($methods as $method):
echo new View('kodoc/method', $method);
endforeach;
?>
</div>
<?php
endif;
?>
|