Documentation

Backup_File extends Wysiwyg_Filemanager_File
in package

Backup.

Tags
subpackage

Backup

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Properties

$aConfig  : mixed
Module config
$datetime  : string
Backend property
$download  : int
Backend property
$hash  : string
Backend property
$mode  : string
Backend property
$name  : string
Backend property
$nameEncoded  : string
Backend property
$owner  : string
Backend property
$path  : string
Backend property
$size  : string
Backend property
$type  : string
Backend property
$user_id  : int
Backend property
$_columns  : mixed
Columns
$_dataValues  : array<string|int, mixed>
data-values, e.g. dataMyValue
$_modelName  : mixed
Model name
$_sortField  : string
Sorting field
$_tableColums  : array<string|int, mixed>
Table columns

Methods

__construct()  : mixed
Constructor
adminDownload()  : string
Callback function
checkBackendAccess()  : bool
Check user access to admin form action
datetime()  : string
Get file datetime
delete()  : Core_Entity
Delete object from database
download()  : mixed
Download file
extract()  : Core_Entity
Delete object from database
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
getSortField()  : string
Get sorting field
getTableColumns()  : array<string|int, mixed>
Get table colums
image()  : mixed
Get file image
nameBadge()  : string
Backend badge
setSortField()  : mixed
Set sorting field
setTableColums()  : self
Set table columns
_getFullPath()  : string
Get full file path for current file
_loadColumns()  : self
Load columns list
_setPreloadValues()  : Core_ORM
Set preload values from _preloadValues

Properties

$aConfig

Module config

public static mixed $aConfig = \NULL

$datetime

Backend property

public string $datetime = \NULL

$download

Backend property

public int $download = 0

$hash

Backend property

public string $hash = \NULL

$mode

Backend property

public string $mode = \NULL

$name

Backend property

public string $name = \NULL

$nameEncoded

Backend property

public string $nameEncoded = \NULL

$owner

Backend property

public string $owner = \NULL

$path

Backend property

public string $path = \NULL

$size

Backend property

public string $size = \NULL

$type

Backend property

public string $type = \NULL

$user_id

Backend property

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 mixed $_modelName = 'backup'

$_sortField

Sorting field

protected string $_sortField = \NULL

$_tableColums

Table columns

protected array<string|int, mixed> $_tableColums = array()

Methods

__construct()

Constructor

public __construct() : mixed

adminDownload()

Callback function

public adminDownload() : string
Return values
string

checkBackendAccess()

Check user access to admin form action

public checkBackendAccess(string $actionName, User_Model $oUser) : bool
Parameters
$actionName : string

admin form action name

$oUser : User_Model

user object

Return values
bool

datetime()

Get file datetime

public datetime() : string
Return values
string

delete()

Delete object from database

public delete([mixed $primaryKey = NULL ]) : Core_Entity
Parameters
$primaryKey : mixed = NULL

primary key for deleting object

Return values
Core_Entity

download()

Download file

public download() : mixed

extract()

Delete object from database

public extract([mixed $primaryKey = NULL ]) : Core_Entity
Parameters
$primaryKey : mixed = NULL

primary key for deleting object

Return values
Core_Entity

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
string

getPrimaryKeyName()

Get primary key name

public getPrimaryKeyName() : string
Return values
string

getRelatedSite()

Get Related Site

public getRelatedSite() : null
Return values
null

getSortField()

Get sorting field

public getSortField() : string
Return values
string

getTableColumns()

Get table colums

public getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>

image()

Get file image

public image() : mixed

nameBadge()

Backend badge

public nameBadge(Admin_Form_Field $oAdmin_Form_Field, Admin_Form_Controller $oAdmin_Form_Controller) : string
Parameters
$oAdmin_Form_Field : Admin_Form_Field
$oAdmin_Form_Controller : Admin_Form_Controller
Return values
string

setSortField()

Set sorting field

public setSortField(string $sortField) : mixed
Parameters
$sortField : string

setTableColums()

Set table columns

public setTableColums(array<string|int, mixed> $tableColums) : self
Parameters
$tableColums : array<string|int, mixed>

columns

Return values
self

_getFullPath()

Get full file path for current file

protected _getFullPath() : string
Return values
string

_loadColumns()

Load columns list

protected _loadColumns() : self
Return values
self

_setPreloadValues()

Set preload values from _preloadValues

protected _setPreloadValues() : Core_ORM
Return values
Core_ORM

        
On this page

Search results