Skip to content

Commit

Permalink
adds Account::getLinks()
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycatalinismith committed Sep 4, 2011
1 parent 0f5f312 commit 595acd8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,18 @@ public function hasModMail()
return isset($this['has_mod_mail']) ? $this['has_mod_mail'] : false;
}

/**
* Returns an array of links posted by the user
*
* @access public
* @return array
*/
public function getLinks()
{
$username = $this->getName();

$links = $this->reddit->getLinksByUsername();
}

}

0 comments on commit 595acd8

Please sign in to comment.