Class ClipitTag
A Tag (Stumbling Block) identifier which is linked from one or more Tricky
Topics, and which can be added as metadata to Items or Resources.
-
UBItem
-
ClipitTag
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
|
public static
|
|
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
|
public
boolean|integer
|
#
save( )
Saves this instance to the system.
Saves this instance to the system.
Returns
boolean|integer Returns id of saved instance, or false if error.
Overrides
|
public static
static[]
|
#
get_from_search( string $search_string, boolean $name_only = true, boolean $strict = false, integer $limit = 0, integer $offset = 0 )
Get all objects which match a $search_string
Get all objects which match a $search_string
Parameters
- $search_string
string $search_string String for searching matching objects
- $name_only
boolean $name_only Whether to look only in the name property, default false.
- $strict
boolean $strict Whether to match the $search_string exactly, including case, or only
partially.
- $limit
integer $offset The offset of the returned array
- $offset
integer $limit The limit of the returned array
Returns
static[] Returns an array of matched objects
Overrides
|
Methods inherited from UBItem
__construct(),
count_all(),
create_clone(),
delete_all(),
delete_by_id(),
get_all(),
get_all_parents(),
get_by_id(),
get_by_owner(),
get_clone_tree(),
get_cloned_from(),
get_clones(),
get_events(),
get_properties(),
link_parent_clone(),
list_properties(),
set_properties(),
sort_by_date(),
sort_by_date_inv(),
sort_by_name(),
sort_by_name_inv(),
sort_numbers(),
sort_numbers_inv(),
unlink_from_clones(),
unlink_from_parent()
|