Overview

Namespaces

  • Crowdsdom
    • Client
      • Exceptions
    • Labor
      • Models
        • Base
  • PHP

Classes

  • Job
  • JobType
  • Model
  • Task
  • Overview
  • Namespace
  • Class
  • Tree

Class Task

Crowdsdom\Labor\Models\Model
Extended by Crowdsdom\Labor\Models\Base\Task
Extended by Crowdsdom\Labor\Models\Task
Namespace: Crowdsdom\Labor\Models
Located at Labor/Models/Task.php
Methods summary
public array|null
# create( array $data )

Parameters

$data
array
$data

Returns

array|null

Overrides

Crowdsdom\Labor\Models\Model::create()
public array|null
# find( )

Returns

array|null

Throws

RuntimeException

Overrides

Crowdsdom\Labor\Models\Model::find()
public array|null
# findById( string $id )

Parameters

$id
string
$id

Returns

array|null

Throws

RuntimeException

Overrides

Crowdsdom\Labor\Models\Model::findById()
public
# approve( mixed $id )
public
# reject( mixed $id )
Methods inherited from Crowdsdom\Labor\Models\Model
__construct(), getResponse()
Constants inherited from Crowdsdom\Labor\Models\Model
ENDPOINT
Properties inherited from Crowdsdom\Labor\Models\Base\Task
$acceptTime, $answers, $approvalTime, $autoApprovalTime, $contributorId, $expirationTime, $jobId, $rejectionTime, $requesterFeedback, $status, $submitTime
Properties inherited from Crowdsdom\Labor\Models\Model
$client, $response
API documentation generated by ApiGen 2.8.0