MINOR Syntax error and documentation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92839 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:20:36 +00:00
parent 7569c5385e
commit 2d82a2ff35
2 changed files with 6 additions and 1 deletions

View File

@ -329,7 +329,7 @@ JS;
$fields->push($idField = new HiddenField("ID", false, $id));
$fields->push($liveURLField = new HiddenField("LiveURLSegment"));
$fields->push($stageURLField = new HiddenField("StageURLSegment"));
$fields->push($stageURLField = new HiddenField("TreeTitle", false, $record->TreeTitle));
$fields->push(new HiddenField("TreeTitle", false, $record->TreeTitle));
$fields->push(new HiddenField('Sort','', $record->Sort));

View File

@ -30,6 +30,11 @@ class LeftAndMain extends Controller {
static $url_priority = 50;
/**
* @var string A subclass of {@link DataObject}.
* Determines what is managed in this interface,
* through {@link getEditForm()} and other logic.
*/
static $tree_class = null;
static $allowed_actions = array(