Cloud_Dir
extends Core_Empty_Entity
in package
Cloud.
Tags
Table of Contents
Properties
- $datetime : mixed
- Datetime
- $hash : mixed
- Hash
- $id : mixed
- ID
- $mode : mixed
- Mode
- $name : mixed
- Name
- $size : mixed
- Size
- $type : mixed
- Type
- $user_id : int
- User id
- $_columns : mixed
- Columns
- $_dataValues : array<string|int, mixed>
- data-values, e.g. dataMyValue
- $_modelName : string
- Model name
- $_tableColums : array<string|int, mixed>
- Table columns
- $_oCloud_Controller : mixed
- Cloud_Controller object
Methods
- __construct() : mixed
- Constructor
- cloudController() : object|null
- Get cloud controller
- delete() : mixed
- Delete dir
- getDataValues() : array<string|int, mixed>
- Get dataValues
- getModelName() : string
- Get model name, e.g. 'book' for 'Book_Model'
- getPrimaryKeyName() : string
- Get primary key name
- getRelatedSite() : null
- Get Related Site
- getTableColumns() : array<string|int, mixed>
- Get table columns
- image() : mixed
- Get file image
- setTableColums() : self
- Set table columns
- _loadColumns() : self
- Load columns list
Properties
$datetime
Datetime
public
mixed
$datetime
= \NULL
$hash
Hash
public
mixed
$hash
= \NULL
$id
ID
public
mixed
$id
= \NULL
$mode
Mode
public
mixed
$mode
= \NULL
$name
Name
public
mixed
$name
= \NULL
$size
Size
public
mixed
$size
= \NULL
$type
Type
public
mixed
$type
= \NULL
$user_id
User id
public
int
$user_id
= 0
$_columns
Columns
protected
mixed
$_columns
= \NULL
$_dataValues
data-values, e.g. dataMyValue
protected
array<string|int, mixed>
$_dataValues
= array()
$_modelName
Model name
protected
string
$_modelName
= 'cloud_dir'
$_tableColums
Table columns
protected
array<string|int, mixed>
$_tableColums
= array()
$_oCloud_Controller
Cloud_Controller object
private
mixed
$_oCloud_Controller
= \NULL
Methods
__construct()
Constructor
public
__construct() : mixed
cloudController()
Get cloud controller
public
cloudController([Cloud_Controller $oCloud_Controller = NULL ]) : object|null
Parameters
- $oCloud_Controller : Cloud_Controller = NULL
Return values
object|nulldelete()
Delete dir
public
delete([mixed $primaryKey = NULL ]) : mixed
Parameters
- $primaryKey : mixed = NULL
getDataValues()
Get dataValues
public
getDataValues() : array<string|int, mixed>
Return values
array<string|int, mixed>getModelName()
Get model name, e.g. 'book' for 'Book_Model'
public
getModelName() : string
Return values
stringgetPrimaryKeyName()
Get primary key name
public
getPrimaryKeyName() : string
Return values
stringgetRelatedSite()
Get Related Site
public
getRelatedSite() : null
Return values
nullgetTableColumns()
Get table columns
public
getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>image()
Get file image
public
image() : mixed
setTableColums()
Set table columns
public
setTableColums(array<string|int, mixed> $tableColums) : self
Parameters
- $tableColums : array<string|int, mixed>
-
columns
Return values
self_loadColumns()
Load columns list
protected
_loadColumns() : self