mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR: remove $template var as sapphire/07d2d52 will pick this up automatically
This commit is contained in:
parent
dc0168d01b
commit
8531525789
@ -1,24 +1,21 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @package cms
|
|
||||||
* @subpackage forms
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to edit the SiteTree->URLSegment property, and suggest input based on the serverside rules
|
* Used to edit the SiteTree->URLSegment property, and suggest input based on the serverside rules
|
||||||
* defined through {@link SiteTree->generateURLSegment()} and {@link URLSegmentFilter}.
|
* defined through {@link SiteTree->generateURLSegment()} and {@link URLSegmentFilter}.
|
||||||
*
|
*
|
||||||
* Note: The actual conversion for saving the value takes place in the model layer.
|
* Note: The actual conversion for saving the value takes place in the model layer.
|
||||||
|
*
|
||||||
|
* @package cms
|
||||||
|
* @subpackage forms
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class SiteTreeURLSegmentField extends TextField {
|
class SiteTreeURLSegmentField extends TextField {
|
||||||
|
|
||||||
protected $template = 'SiteTreeURLSegmentField';
|
/**
|
||||||
|
* @var string
|
||||||
/** @var String */
|
*/
|
||||||
protected $helpText;
|
protected $helpText, $urlPrefix;
|
||||||
|
|
||||||
/** @var String */
|
|
||||||
protected $urlPrefix;
|
|
||||||
|
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
'suggest'
|
'suggest'
|
||||||
@ -81,6 +78,4 @@ class SiteTreeURLSegmentField extends TextField {
|
|||||||
function Type() {
|
function Type() {
|
||||||
return 'text sitetreeurlsegment';
|
return 'text sitetreeurlsegment';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user