1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Blog Plugin as a part of Monstra CMS - getPostAuthor() - added #188

This commit is contained in:
Awilum
2014-01-09 22:20:41 +02:00
parent 01be9f66e4
commit e08c17df4b

View File

@@ -367,5 +367,21 @@
return Page::date($format);
}
/**
* Get author of current post
*
* <code>
* echo Blog::getPostAuthor();
* </code>
*
* @return string
*/
public static function getPostAuthor()
{
return Page::author();
}
}