public function getPosts($limit = false, $offset = false)
    {
        if (!$limit) {
            $limit = Option::get('posts_per_page');
        }
        return Post::getByAuthor($this->ID, $limit, $offset);
    }
public function getPosts($limit = false, $offset = false)
    {
        if (!$limit) {
            $limit = Option::get('posts_per_page');
        }
        return Post::getByAuthor($this->ID, $limit, $offset);
    }
public function getPosts ( $ limit = false , $ offset = false ) { if ( ! $ limit ) { $ limit = Option :: get ( 'posts_per_page' ) ; } return Post :: getByAuthor ( $ this -> ID , $ limit , $ offset ) ; }
Get all posts

@param integer $max total posts to show
@return array<Post>
Get all posts