MINOR: remove $template var as sapphire/07d2d52 will pick this up automatically

This commit is contained in:
Will Rossiter 2012-04-14 18:15:49 +12:00
parent dc0168d01b
commit 8531525789

View File

@ -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';
} }
} }