mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
673ce66e90
commit
2c773d0d69
@ -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")) {
|
||||
|
@ -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());
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user