Class Socialveo\Tasks\ImportTask

InheritanceSocialveo\Tasks\ImportTask » Phalcon\CLI\Task

Public Methods

Hide inherited methods

MethodDescriptionDefined By
mainAction() Prints out proper usage of task actions and parameters Socialveo\Tasks\ImportTask
usersAction() Imports a users from CSV or Excel file into database Socialveo\Tasks\ImportTask

Method Details

mainAction() public method (available since version 1.0)

Prints out proper usage of task actions and parameters

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

Array of command line parameters passed into task

usersAction() public method (available since version 1.0)

Imports a users from CSV or Excel file into database

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

Array of command line parameters passed into task, first parameter is the name of source file