LFT
  • Namespace
  • Class
  • Tree

Namespaces

  • Docoflow
    • Contracts
    • Entity
    • Facades
    • Models
    • Traits
  • Docolight
    • Agno
      • Traits
    • Container
    • Http
      • Contracts
    • Rest
      • Handler
      • Http
    • Support
      • Debug
      • Traits
  • Docotory
    • Traits
  • None

Classes

  • Workflow
  • WorkflowAction
  • WorkflowActivity
  • WorkflowGroups
  • WorkflowNotification
  • WorkflowState
  • WorkflowStateActivity
  • WorkflowStep
  • WorkflowVerificator

Class Workflow

This is the model class for table "workflow".

The followings are the available columns in table 'workflow':

CActiveRecord
Extended by Docoflow\Models\Workflow implements Docoflow\Contracts\ValidationStatus uses Docoflow\Traits\Validable, Docoflow\Traits\HasMutator
Namespace: Docoflow\Models
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docoflow/Models/Workflow.php

Methods summary

public static Docoflow\Models\Workflow
# model( string $className = __CLASS__ )

Returns the static model of the specified AR class.

Returns the static model of the specified AR class.

Parameters

$className
active record class name.

Returns

Docoflow\Models\Workflow
the static model class
public CDbConnection
# getDbConnection( )

Returns

CDbConnection
database connection
public string
# tableName( )

Returns

string
the associated database table name
public array
# rules( )

Returns

array
validation rules for model attributes.
public array
# relations( )

Returns

array
relational rules.
public array
# attributeLabels( )

Returns

array
customized attribute labels (name=>label)
public CActiveDataProvider
# search( )

Retrieves a list of models based on the current search/filter conditions.

Retrieves a list of models based on the current search/filter conditions.

Returns

CActiveDataProvider
the data provider that can return the models based on the search/filter conditions.

Methods used from Docoflow\Traits\Validable

approve(), approveIf(), reject(), rejectIf(), reset(), resetIf(), status(), valid(), validUntil()

Methods used from Docoflow\Traits\HasMutator

afterFind(), callMutator(), getInstance(), hasMutator(), mutate()

Constants summary

Constants inherited from Docoflow\Contracts\ValidationStatus

APPROVED, INVALID, PARTIAL, REJECTED, UNPROCESSED

Properties summary

Properties used from Docoflow\Traits\Validable

$validUntil

Properties used from Docoflow\Traits\HasMutator

$instance, $mutator

Magic properties

public integer $id
public string $name
public integer $status
public string $expired_at
LFT API documentation generated by ApiGen