\Fuel\TasksUser

Summary

Methods
Properties
Constants
run()
refresh()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_refresh()
No private properties found
N/A

Methods

run()

run(  $args = null) : string

This method gets ran when a valid method name is not used in the command.

Usage (from command line):

php oil r user

Parameters

$args

Returns

string

refresh()

refresh(  $user_id = null) : string

ユーザのアクセストークンをリフレッシュするタスク user_idを与えるとそのIDのユーザのアクセストークンのみリフレッシュする。

Usage (from command line):

php oil r user:refresh [user_id]

Parameters

$user_id

Returns

string

_refresh()

_refresh(\Fuel\Tasks\Model_User  $user) : boolean

トークンのリフレッシュを行う実体部。

Parameters

\Fuel\Tasks\Model_User $user

トークンを更新したいユーザオブジェクト

Returns

boolean —

更新に成功したらtrue、更新が必要なかった場合もtrue