PHP 클래스 ElggData, Elgg

상속: implements Loggable, implements Iterator, implements ArrayAccess, implements Exportable
파일 보기 프로젝트 열기: elgg/elgg 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes Holds attributes to save to database Blank entries for all database fields should be created by the constructor. Subclasses should add to this in their constructors. Any field not appearing in this will be viewed as metadata
$valid * ITERATOR INTERFACE

공개 메소드들

메소드 설명
__isset ( string $name ) : boolean Test if property is set either as an attribute or metadata.
current ( ) : mixed Iterator interface
delete ( ) : boolean Delete this data.
getTimeCreated ( ) : integer Returns the UNIX epoch time that this entity was created
getURL ( ) : string Get a URL for this object
key ( ) : string Iterator interface
next ( ) : void Iterator interface
offsetExists ( integer $offset ) : integer Array access interface
offsetGet ( mixed $key ) : mixed Array access interface
offsetSet ( mixed $key, mixed $value ) : void Array access interface
offsetUnset ( mixed $key ) : void Array access interface
rewind ( ) : void Iterator interface
save ( ) : boolean Save this data to the appropriate database table.
toObject ( ) : stdClass Get a plain old object copy for public consumption
valid ( ) : boolean Iterator interface

보호된 메소드들

메소드 설명
getDatabase ( ) : Database Provides a pointer to the database object.
initializeAttributes ( ) : void Initialize the attributes array.

메소드 상세

__isset() 공개 메소드

Test if property is set either as an attribute or metadata.
public __isset ( string $name ) : boolean
$name string The name of the attribute or metadata.
리턴 boolean

current() 공개 메소드

Iterator interface
또한 보기: Iterator::current()
public current ( ) : mixed
리턴 mixed

delete() 추상적인 공개 메소드

Delete this data.
abstract public delete ( ) : boolean
리턴 boolean

getDatabase() 보호된 메소드

Provides a pointer to the database object.
protected getDatabase ( ) : Database
리턴 Elgg\Database The database where this data is (will be) stored.

getTimeCreated() 공개 메소드

Returns the UNIX epoch time that this entity was created
public getTimeCreated ( ) : integer
리턴 integer UNIX epoch time

getURL() 추상적인 공개 메소드

Get a URL for this object
abstract public getURL ( ) : string
리턴 string

initializeAttributes() 보호된 메소드

This is vital to distinguish between metadata and base parameters.
protected initializeAttributes ( ) : void
리턴 void

key() 공개 메소드

Iterator interface
또한 보기: Iterator::key()
public key ( ) : string
리턴 string

next() 공개 메소드

Iterator interface
또한 보기: Iterator::next()
public next ( ) : void
리턴 void

offsetExists() 공개 메소드

Array access interface
또한 보기: ArrayAccess::offsetExists()
public offsetExists ( integer $offset ) : integer
$offset integer Offset
리턴 integer

offsetGet() 공개 메소드

Array access interface
또한 보기: ArrayAccess::offsetGet()
public offsetGet ( mixed $key ) : mixed
$key mixed Name
리턴 mixed

offsetSet() 공개 메소드

Array access interface
또한 보기: ArrayAccess::offsetSet()
public offsetSet ( mixed $key, mixed $value ) : void
$key mixed Name
$value mixed Value
리턴 void

offsetUnset() 공개 메소드

Array access interface
또한 보기: ArrayAccess::offsetUnset()
public offsetUnset ( mixed $key ) : void
$key mixed Name
리턴 void

rewind() 공개 메소드

Iterator interface
또한 보기: Iterator::rewind()
public rewind ( ) : void
리턴 void

save() 추상적인 공개 메소드

Save this data to the appropriate database table.
abstract public save ( ) : boolean
리턴 boolean

toObject() 추상적인 공개 메소드

Get a plain old object copy for public consumption
abstract public toObject ( ) : stdClass
리턴 stdClass

valid() 공개 메소드

Iterator interface
또한 보기: Iterator::valid()
public valid ( ) : boolean
리턴 boolean

프로퍼티 상세

$attributes 보호되어 있는 프로퍼티

Holds attributes to save to database Blank entries for all database fields should be created by the constructor. Subclasses should add to this in their constructors. Any field not appearing in this will be viewed as metadata
protected $attributes

$valid 보호되어 있는 프로퍼티

* ITERATOR INTERFACE
protected $valid