Class Socialveo\Tasks\UploadTask

InheritanceSocialveo\Tasks\UploadTask » Phalcon\CLI\Task

Public Methods

Hide inherited methods

MethodDescriptionDefined By
mainAction() Method is unused Socialveo\Tasks\UploadTask
tokenAction() Generate token json file Socialveo\Tasks\UploadTask
vimeoAction() Vimeo action Socialveo\Tasks\UploadTask
youtubeAction() YouTube action Socialveo\Tasks\UploadTask

Method Details

mainAction() public method (available since version 1.0)

Method is unused

public void mainAction ( array $params )
$params array

Array of command line parameters passed into task

tokenAction() public method (available since version 1.0)

Generate token json file

public void tokenAction ( array $params )
$params array

Array of command line parameters passed into task

vimeoAction() public method (available since version 1.0)

Vimeo action

Uploads unprocessed media-videos to Vimeo and saves their vimeo link in the "cdn" column A valid Vimeo API token has to be set in config

public void vimeoAction ( array $params )
$params array

Array of command line parameters passed into task

youtubeAction() public method (available since version 1.0)

YouTube action

Uploads unprocessed media-videos to YouTube and saves their youtube link in the "cdn" column. Site has to be authorized with Google a valid "google_client_secret.json" file has to be available in config folder.

public void youtubeAction ( array $params )
$params array

Array of command line parameters passed into task