57 redirect(
"/admin/site_map");
61 $title =
"Edit Details for {$siteMapPage->url}";
68 $form->submitLabel =
"Save Changes";
69 $form->hide(
"role",
"page_title",
"sort_order");
70 $form->readOnly(
"url");
83 $table->cssStyle =
"width: 50%";
84 $table->enableDragReorder(
"/action/site_map/reorder_site_map");
85 $table->dragText =
"<span style='font-size: 10px'>Click and drag to change the order of the pages</span>";
96 $form->msg =
"<warning>Invalid tree. A page cannot have a parent that is also a child.</warning>";
111 echo
"<h4>SubPages</h4>\n";
126 $newParent =
$_POST[
"parent_url"];
152 foreach($children as $child)
154 trace(
"validateDescendents:: child identifier {$child->identifier}", 3);
155 if($child->identifier == $newParent)
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
$method
Pull out a simple reference to the request method.