public static function getByCategory($catId, $limit = false, $offset = false, $moreQuerySettings = [])
    {
        return self::getBy(Ajax::CATEGORY, $catId, $limit, $offset, $moreQuerySettings);
    }
public static function getByCategory($catId, $limit = false, $offset = false, $moreQuerySettings = [])
    {
        return self::getBy(Ajax::CATEGORY, $catId, $limit, $offset, $moreQuerySettings);
    }
public static function getByCategory ( $ catId , $ limit = false , $ offset = false , $ moreQuerySettings = [ ] ) { return self :: getBy ( Ajax :: CATEGORY , $ catId , $ limit , $ offset , $ moreQuerySettings ) ; }
Get posts from a category

@param integer $catId
@param integer $limit
@param array $moreQuerySettings
@return array<Post>
Get posts from a category