diff options
| author | spiderr <spider@viovio.com> | 2012-05-05 18:22:27 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-05 18:22:27 -0400 |
| commit | 21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b (patch) | |
| tree | 0e4e29187a290e98354466f16dbbffbeae1e6240 | |
| parent | 4c3c62ab8aa107d64ee2118ddf4736d4950fae1e (diff) | |
| download | liberty-21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b.tar.gz liberty-21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b.tar.bz2 liberty-21f61ad0a0be74a02955cc25e7c5eb5d3dc2c09b.zip | |
tweak ::exportHash values
| -rw-r--r-- | LibertyContent.php | 5 |
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') ), |
