PHP 클래스 ElggUpgrade, Elgg

These are listed in admin/upgrades and allow for ajax upgrades.
상속: extends ElggObject
파일 보기 프로젝트 열기: elgg/elgg 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_callable_egefps callable Do not use.

공개 메소드들

메소드 설명
__get ( string $name ) : mixed Get an attribute or private setting value
__set ( string $name, mixed $value ) : void Set a value as private setting or attribute.
getBatch ( ) : Elgg\Upgrade\Batch | false Return instance of the class that processes the data
getCompletedTime ( ) : string Gets the time when the upgrade completed.
initializeAttributes ( ) : null Set subtype to upgrade
isCompleted ( ) : boolean Has this upgrade completed?
save ( ) : mixed Require an upgrade page.
setClass ( string $class ) : void Sets a class for the upgrade
setCompleted ( ) : boolean Mark this upgrade as completed
setCompletedTime ( integer $time = null ) : boolean Sets the timestamp for when the upgrade completed.
setID ( string $id ) : void Sets an unique id for the upgrade

메소드 상세

__get() 공개 메소드

Get an attribute or private setting value
public __get ( string $name ) : mixed
$name string Name of the attribute or private setting
리턴 mixed

__set() 공개 메소드

Attributes include title and description.
public __set ( string $name, mixed $value ) : void
$name string Name of the attribute or private_setting
$value mixed Value to be set
리턴 void

getBatch() 공개 메소드

Return instance of the class that processes the data
public getBatch ( ) : Elgg\Upgrade\Batch | false
리턴 Elgg\Upgrade\Batch | false

getCompletedTime() 공개 메소드

Gets the time when the upgrade completed.
public getCompletedTime ( ) : string
리턴 string

initializeAttributes() 공개 메소드

Set subtype to upgrade
public initializeAttributes ( ) : null
리턴 null

isCompleted() 공개 메소드

Has this upgrade completed?
public isCompleted ( ) : boolean
리턴 boolean

save() 공개 메소드

Require an upgrade page.
public save ( ) : mixed
리턴 mixed

setClass() 공개 메소드

Sets a class for the upgrade
public setClass ( string $class ) : void
$class string Fully qualified class name
리턴 void

setCompleted() 공개 메소드

Mark this upgrade as completed
public setCompleted ( ) : boolean
리턴 boolean

setCompletedTime() 공개 메소드

Sets the timestamp for when the upgrade completed.
public setCompletedTime ( integer $time = null ) : boolean
$time integer Timestamp when upgrade finished. Defaults to now.
리턴 boolean

setID() 공개 메소드

Sets an unique id for the upgrade
public setID ( string $id ) : void
$id string Upgrade id in format :
리턴 void

프로퍼티 상세

$_callable_egefps 공개적으로 프로퍼티

Do not use.
public callable $_callable_egefps
리턴 callable