Home » Documentation » What is PeoplePods? » SDK Documentation » Object Definitions » $Obj » $Obj->author()

$Obj->author()

Returns a person object referencing the object's author.

In the case of a content object, this will be the person referenced by userId - by default, the person who created the content

In the case of a comment object, this will be the person who left the comment.

// write out a link to the author's profile
$content->author()->permalink();

// access author's name
$name = $content->author()->get('nick');
  • Discuss This Document

No comments have been posted yet.

Download Download the latest version of PeoplePods!

0.667 Latest Version:
Release Notes

A free membership is required to download PeoplePods.

  Already Registered? Login

Recent Posts from Our Blog

Developer Preview Launch!

I am very excited to announce the launch of PeoplePods version 0.666, THE DEVELOPER PREVIEW! After tons of hacking, I have tweaked the last line of code, and I am finally ready for a wider audience...