MINOR phpdoc tweaks

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63490 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-02 00:34:16 +00:00
parent 673ce66e90
commit 2c773d0d69
4 changed files with 10 additions and 5 deletions

View File

@ -250,7 +250,10 @@ class Text extends DBField {
}
/**
* Allows a sub-class of TextParser to be rendered. @see TextParser for implementation details.
* Allows a sub-class of TextParser to be rendered.
*
* @see TextParser for implementation details.
* @return string
*/
function Parse($parser = "TextParser") {
if($parser == "TextParser" || is_subclass_of($parser, "TextParser")) {

View File

@ -521,7 +521,7 @@ JS;
* even if there is no action relevant for the main controller (to provide the instance of ComplexTableField
* which in turn saves the record.
*
* @see {Form::ReferencedField}).
* @see Form::ReferencedField
*/
function saveComplexTableField($data, $form, $params) {
$className = $this->sourceClass();
@ -669,7 +669,7 @@ class ComplexTableField_ItemRequest extends RequestHandlingData {
* even if there is no action relevant for the main controller (to provide the instance of ComplexTableField
* which in turn saves the record.
*
* @see {Form::ReferencedField}).
* @see Form::ReferencedField
*/
function saveComplexTableField($data, $form, $request) {
$form->saveInto($this->dataObj());

View File

@ -8,7 +8,8 @@
* @deprecated If you need to have a label for your literal field, just put the
* HTML into a LiteralField, or use a custom form template to separate your
* presentation/content from the data fields.
* {@see http://doc.silverstripe.com/doku.php?id=form#using_a_custom_template}
*
* @see http://doc.silverstripe.com/doku.php?id=form#using_a_custom_template
*/
class LabelledLiteralField extends LiteralField {

View File

@ -21,7 +21,8 @@ class ToggleField extends ReadonlyField {
public $labelLess;
/**
* @var $truncateMethod string (FirstSentence|FirstParagraph) @see {Text}
* @see Text
* @var $truncateMethod string (FirstSentence|FirstParagraph)
*/
public $truncateMethod = 'FirstSentence';