1
0

Added Disqus Widget to [programs/view] and [blog/view]

This commit is contained in:
2014-09-06 15:39:39 +02:00
parent 6718ad0470
commit 9cffea9ec3
11 changed files with 236 additions and 3 deletions

View File

@@ -120,6 +120,13 @@ class BlogPost extends CActiveRecord
return '/blog/' . $this->ID . '/' . rawurlencode($name);
}
/**
* @return string
*/
public function getAbsoluteLink() {
return 'http://www.mikescher.de' . $this->getLink();
}
/**
* @param $search string[]
* @return array()

View File

@@ -176,6 +176,13 @@ class Program extends CActiveRecord
return '/programs/view/' . rawurlencode($this->Name);
}
/**
* @return string
*/
public function getAbsoluteLink() {
return 'http://www.mikescher.de' . $this->getLink();
}
/**
* @return string
*/