diff options
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r-- | engine/lib/sites.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php index f7d3407ae..4c8a57ec4 100644 --- a/engine/lib/sites.php +++ b/engine/lib/sites.php @@ -215,6 +215,20 @@ */ public function getCollections($subtype="", $limit = 10, $offset = 0) { get_site_collections($this->getGUID(), $subtype, $limit, $offset); } + // EXPORTABLE INTERFACE //////////////////////////////////////////////////////////// + + /** + * Return an array of fields which can be exported. + */ + public function getExportableValues() + { + return array_merge(parent::getExportableValues(), array( + 'name', + 'description', + 'url', + )); + } + } /** |