PHP Class Queue

Inheritance: extends Illuminate\Support\Facades\Queue
Datei anzeigen Open project: yupe/yupe Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
beforeSave ( ) : boolean
complete ( ) : boolean
completeWithError ( $notice, integer $status = self::STATUS_ERROR ) : boolean
decodeJson ( ) : array
getPriority ( ) : mixed | string
getPriorityList ( ) : array
getStatus ( ) : mixed | string
getStatusList ( ) : array
getTasksForWorker ( $worker, integer $limit = 10 ) : array | mixed | null
getWorkerName ( ) : string
model ( string $className = __CLASS__ ) : Queue Returns the static model of the specified AR class.
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

beforeSave() public method

public beforeSave ( ) : boolean
return boolean

complete() public method

public complete ( ) : boolean
return boolean

completeWithError() public method

public completeWithError ( $notice, integer $status = self::STATUS_ERROR ) : boolean
$notice
$status integer
return boolean

decodeJson() public method

public decodeJson ( ) : array
return array

getPriority() public method

public getPriority ( ) : mixed | string
return mixed | string

getPriorityList() public method

public getPriorityList ( ) : array
return array

getStatus() public method

public getStatus ( ) : mixed | string
return mixed | string

getStatusList() public method

public getStatusList ( ) : array
return array

getTasksForWorker() public method

public getTasksForWorker ( $worker, integer $limit = 10 ) : array | mixed | null
$worker
$limit integer
return array | mixed | null

getWorkerName() public method

public getWorkerName ( ) : string
return string

model() public static method

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : Queue
$className string active record class name.
return Queue the static model class

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name