Import
in package
Import entity.
Tags
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- checkAccess() : CheckAccessAction
- create() : Create
- delete() : Delete
- get() : DAOGetAction
- getActions() : GetActions
- getFields() : DAOGetFieldsAction
- getLinks() : GetLinks
- import() : Import
- permissions() : array<string|int, mixed>
- We need to implement these elsewhere as we permit based on 'created_id'.
- replace() : BasicReplaceAction
- save() : Save
- update() : Update
- validate() : Validate
Methods
__construct()
Constructor.
public
__construct() : mixed
This is here cos otherwise phpcs complains about the import function
having the same name as the class.
checkAccess()
public
static checkAccess(int $userJobID) : CheckAccessAction
Parameters
- $userJobID : int
Tags
Return values
CheckAccessActioncreate()
public
static create(int $userJobID[, bool $checkPermissions = true ]) : Create
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Tags
Return values
Createdelete()
public
static delete(int $userJobID[, bool $checkPermissions = true ]) : Delete
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Tags
Return values
Deleteget()
public
static get(int $userJobID[, bool $checkPermissions = true ]) : DAOGetAction
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Tags
Return values
DAOGetActiongetActions()
public
static getActions(int $userJobID[, bool $checkPermissions = true ]) : GetActions
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Return values
GetActionsgetFields()
public
static getFields(int $userJobID[, bool $checkPermissions = true ]) : DAOGetFieldsAction
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Return values
DAOGetFieldsActiongetLinks()
public
static getLinks(int $userJobID[, bool $checkPermissions = true ]) : GetLinks
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Return values
GetLinksimport()
public
static import(int $userJobID[, bool $checkPermissions = true ]) : Import
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Return values
Importpermissions()
We need to implement these elsewhere as we permit based on 'created_id'.
public
static permissions() : array<string|int, mixed>
Return values
array<string|int, mixed>replace()
public
static replace(string $userJobID[, bool $checkPermissions = true ]) : BasicReplaceAction
Parameters
- $userJobID : string
- $checkPermissions : bool = true
Tags
Return values
BasicReplaceActionsave()
public
static save(int $userJobID[, bool $checkPermissions = true ]) : Save
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Tags
Return values
Saveupdate()
public
static update(int $userJobID[, bool $checkPermissions = true ]) : Update
Parameters
- $userJobID : int
- $checkPermissions : bool = true
Tags
Return values
Updatevalidate()
public
static validate(int $userJobID[, bool $checkPermissions = true ]) : Validate
Parameters
- $userJobID : int
- $checkPermissions : bool = true