Class Socialveo\Tasks\KarmaTask

InheritanceSocialveo\Tasks\KarmaTask » Phalcon\CLI\Task

Class KarmaTask

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addIconsAction() Socialveo\Tasks\KarmaTask
badgesAction() Creates karma Badge resource according to rules defined in config Socialveo\Tasks\KarmaTask
mainAction() Runs the "badges" action with this task, using predefined settings Socialveo\Tasks\KarmaTask

Method Details

addIconsAction() public method

public void addIconsAction ( )
badgesAction() public method (available since version 1.0)

Creates karma Badge resource according to rules defined in config

public void badgesAction ( array $params = [] )
$params array

Array of command line parameters passed into task, first parameter defines how many hours back to we look into the database (karma events)

mainAction() public method (available since version 1.0)

Runs the "badges" action with this task, using predefined settings

public void mainAction ( array $params = [] )
$params array

Array of command line parameters passed into task