![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
__construct ($docstring, $file, $line, $class=null) | |
docstringWithoutComments () | |
![]() | |
__construct ($label, $name=null) | |
getLabel () | |
labelIsImplicit () | |
Champs de données | |
$file = null | |
$line = null | |
$class = null | |
$hints = array('docstring') | |
![]() | |
$name | |
$label | |
$implicit_label = false | |
$hints = array() | |
$contents = array() | |
__construct | ( | $docstring, | |
$file, | |||
$line, | |||
$class = null |
|||
) |
docstringWithoutComments | ( | ) |
Returns the representation's docstring without surrounding comments.
Note that this will not work flawlessly.
On comments with whitespace after the stars the lines will begin with whitespace, since we can't accurately guess how much of an indentation is required.
And on lines without stars on the left this may eat bullet points.
Long story short: If you want the docstring read the contents. If you absolutely must have it without comments (ie renderValueShort) this will probably do.
$class = null |
$hints = array('docstring') |