41 $file = codify(
$config[
"sitename"].
"_sections_".date(
"Ymd")).
".xml";
43 header(
"Pragma: private");
44 header(
"Content-Disposition: attachment;filename=\"" .
$file .
"\"");
45 header(
"Content-Type: text/xml");
49 echo
$mgr->export(
"section");
static using()
Import the datamodels, views and manifest for the specified component(s).
static assertRole($role, $redirect="", $message="")
Assert that the user has one of the specified roles.
Section DataItem, defining the data model for sections within a site.
SerializationManager handles import/export of DataItems via an XML file.