aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-21 16:53:51 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-21 16:53:51 +0000
commitbbff983c576762ff138f482cdabd73c184243184 (patch)
tree9c53c0442dea8ca95f2d6c20b394352fc044c2ca /mod/blog/start.php
parent4fd408ae7e97c775aa9ab9c74431445af0684fd1 (diff)
downloadelgg-bbff983c576762ff138f482cdabd73c184243184.tar.gz
elgg-bbff983c576762ff138f482cdabd73c184243184.tar.bz2
Added doc for blog URL function
git-svn-id: https://code.elgg.org/elgg/trunk@507 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index d1157bdaf..8a39e4435 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -84,6 +84,12 @@
}
+ /**
+ * Populates the ->getUrl() method for blog objects
+ *
+ * @param ElggEntity $blogpost Blog post entity
+ * @return string Blog post URL
+ */
function blog_url($blogpost) {
global $CONFIG;