2017 © Pedro Peláez
 

library component-popular-posts

FlexPress popular posts component

image

flexpress/component-popular-posts

FlexPress popular posts component

  • Tuesday, September 2, 2014
  • by timperry
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

FlexPress popular posts component

Install via pimple

$pimple['popularPostsHelper'] = function() {
    return new PopularPosts();
};

Usage

$popularPostsHelper = $pimple['popularPostsHelper'];
$popularPosts = $popularPostsHelper->getPopular('post');

The getPopular method takes 3 params: - The post type, can be an array/string, defaults to any. - The total results you want back, defaults to five. - How many to offset the results by, defaults to zero., (*1)

The Versions

02/09 2014

dev-master

9999999-dev

FlexPress popular posts component

  Sources   Download

MIT

The Requires

 

02/09 2014

v1.0.0

1.0.0.0

FlexPress popular posts component

  Sources   Download

MIT

The Requires