Import
in package
Import entity.
Tags
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- checkAccess() : CheckAccessAction
- create() : Create
- 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'.
- 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
Createget()
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>save()
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