Documentation

Update_Entity extends Core_Empty_Entity
in package

Updates.

Tags
subpackage

Update

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$beta  : int
Backend property
$description  : int
Backend property
$id  : int
Backend property
$img  : int
Backend property
$name  : int
Backend property
$number  : int
Backend property
$_columns  : mixed
Columns
$_dataValues  : array<string|int, mixed>
data-values, e.g. dataMyValue
$_modelName  : string
Name of the model
$_tableColums  : array<string|int, mixed>
Table columns

Methods

__construct()  : mixed
Constructor
description()  : string
Processing update description
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 colums
install()  : mixed
Install updates
loadUpdates()  : self
Load updates
numberBadge()  : string
Backend callback method
setTableColums()  : self
Set table columns
_loadColumns()  : self
Load columns list

Properties

$beta

Backend property

public int $beta = \NULL

$description

Backend property

public int $description = \NULL

$id

Backend property

public int $id = \NULL

$img

Backend property

public int $img = 0

$name

Backend property

public int $name = \NULL

$number

Backend property

public int $number = \NULL

$_columns

Columns

protected mixed $_columns = \NULL

$_dataValues

data-values, e.g. dataMyValue

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

$_modelName

Name of the model

protected string $_modelName = 'update'

$_tableColums

Table columns

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

Methods

__construct()

Constructor

public __construct() : mixed

description()

Processing update description

public description() : string
Return values
string

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

getTableColumns()

Get table colums

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

install()

Install updates

public install() : mixed
Tags
hostcms-event

Update_Entity.onBeforeInstall

hostcms-event

Update_Entity.onAfterInstall

loadUpdates()

Load updates

public loadUpdates() : self
Return values
self

numberBadge()

Backend callback method

public numberBadge(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

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
Return values
self

        
On this page

Search results