PHP Class Elgg\Mocks\Database\MetadataTable

Inheritance: extends Elgg\Database\MetadataTable
Datei anzeigen Open project: elgg/elgg

Public Properties

Property Type Description
$iterator integer
$query_specs array DB query query_specs
$rows stdClas\stdClass[]

Public Methods

Method Description
addQuerySpecs ( stdClass $row ) : void Add query query_specs for a metadata object
clearQuerySpecs ( stdClass $row ) : void Clear query specs
create ( $entity_guid, $name, $value, $value_type = '', $owner_guid, $access_id = ACCESS_PRIVATE, $allow_multiple = false )
deleteAll ( array $options = [] )
getAll ( array $options = [] )
iterate ( ) : integer Iterate ID
update ( $id, $name, $value, $value_type, $owner_guid, $access_id )

Method Details

addQuerySpecs() public method

Add query query_specs for a metadata object
public addQuerySpecs ( stdClass $row ) : void
$row stdClass Data row
return void

clearQuerySpecs() public method

Clear query specs
public clearQuerySpecs ( stdClass $row ) : void
$row stdClass Data row
return void

create() public method

public create ( $entity_guid, $name, $value, $value_type = '', $owner_guid, $access_id = ACCESS_PRIVATE, $allow_multiple = false )

deleteAll() public method

public deleteAll ( array $options = [] )
$options array

getAll() public method

public getAll ( array $options = [] )
$options array

iterate() public method

Iterate ID
public iterate ( ) : integer
return integer

update() public method

public update ( $id, $name, $value, $value_type, $owner_guid, $access_id )

Property Details

$iterator public_oe property

public int $iterator
return integer

$query_specs public_oe property

DB query query_specs
public array $query_specs
return array

$rows public_oe property

public stdClass[],stdClas $rows
return stdClas\stdClass[]