Methods summary
public static
integer|boolean
|
#
create( array $prop_value_array )
Create a new instance of this class, and assign values to its properties.
Create a new instance of this class, and assign values to its properties.
Parameters
- $prop_value_array
array $prop_value_array Array of [property]=>value pairs to set into the new
instance
Returns
integer|boolean Returns instance Id if correct, or false if error
Overrides
|
protected
|
#
copy_from_elgg( ElggEntity $elgg_entity )
Loads object parameters stored in Elgg
Loads object parameters stored in Elgg
Parameters
- $elgg_entity
ElggEntity
$elgg_entity Elgg Object to load parameters from.
Overrides
|
protected
|
#
copy_to_elgg( ElggEntity $elgg_entity )
Copy $this object parameters into an Elgg entity.
Copy $this object parameters into an Elgg entity.
Parameters
- $elgg_entity
ElggEntity
$elgg_entity Elgg object instance to save $this to
Overrides
|
protected
integer
|
#
save( boolean $double_save = false )
Saves Site parameters into Elgg
Saves Site parameters into Elgg
Parameters
- $double_save
boolean $double_save if double_save is true, this object is saved twice to ensure that
all properties are updated properly. E.g. the time_created property can only
beset on ElggObjects during an update. Defaults to false!
Returns
integer Site ID
Overrides
|
public static
integer|boolean
|
#
set_properties( integer $id, array $prop_value_array )
Sets values to specified properties of a RemoteSite
Sets values to specified properties of a RemoteSite
Parameters
- $id
integer $id Id of User to set property values
- $prop_value_array
array $prop_value_array Array of property=>value pairs to set into the RemoteSite
Returns
integer|boolean Returns Id of User if correct, or false if error
Throws
Overrides
|
public static
static|null
|
#
get_from_url( string $url, boolean $id_only = false )
Parameters
- $url
string $url
- $id_only
boolean $id_only
Returns
static|null
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|