summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-05 18:22:27 -0400
committerspiderr <spider@viovio.com>2012-05-05 18:22:27 -0400
commit21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b (patch)
tree0e4e29187a290e98354466f16dbbffbeae1e6240
parent4c3c62ab8aa107d64ee2118ddf4736d4950fae1e (diff)
downloadliberty-21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b.tar.gz
liberty-21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b.tar.bz2
liberty-21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b.zip
tweak ::exportHash values
-rw-r--r--LibertyContent.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/LibertyContent.php b/LibertyContent.php
index b76fa3a..dc4d4d1 100644
--- a/LibertyContent.php
+++ b/LibertyContent.php
@@ -750,9 +750,10 @@ class LibertyContent extends LibertyBase {
$ret = array();
if( $this->isValid() ) {
$ret = array(
- 'type' => $this->mContentTypeGuid,
+ 'type' => $this->getContentType(),
'title' => $this->getTitle(),
- 'url' => $this->getDisplayUri(),
+ 'uri' => $this->getDisplayUri(),
+ 'url' => $this->getDisplayUrl(),
'content_id' => $this->mContentId,
'date_created' => date( DateTime::W3C, $this->getField('created') ),
'date_last_modified' => date( DateTime::W3C, $this->getField('last_modified') ),