aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 09c5d8bcf..985276734 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -44,6 +44,10 @@ class FreshRSS_Entry extends Minz_Model {
public function title() {
return $this->title;
}
+ public function author() {
+ //Deprecated
+ return $this->authors(true);
+ }
public function authors($asString = false) {
if ($asString) {
return $this->authors == null ? '' : ';' . implode('; ', $this->authors);
@@ -129,6 +133,10 @@ class FreshRSS_Entry extends Minz_Model {
$this->hash = null;
$this->title = $value;
}
+ public function _author($value) {
+ //Deprecated
+ $this->_authors($value);
+ }
public function _authors($value) {
$this->hash = null;
if (!is_array($value)) {