Commit 87c73f4a authored by Nigel McNie's avatar Nigel McNie
Browse files

Tidied up the documentation of $view->export_config().


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 9137c347
......@@ -1508,16 +1508,15 @@ class View {
* include access rules or ownership information - only the information
* required to rebuild the view's layout, blocks and other such info.
*
* TODO: This structure can then be imported again.
* This structure can then be imported again, using {@link import_from_config()}
*
* This structure contains all the information necessary to rebuild the view layout.
*
* TODO: needs tweaking. Should I implement import() ?
* @return array The configuration for this view, try calling this to see
* what fields are available.
*/
public function export_config() {
$data = $this->get_column_datastructure();
$config = array(
'title' => $this->get('title'),
'title' => $this->get('title'),
'description' => $this->get('description'),
'type' => $this->get('type'),
'layout' => $this->get('layout'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment