Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ClipitExampleType
  • ClipitRemoteSite
  • Overview
  • Package
  • Class
  • Tree

Class ClipitExampleType

Created by PhpStorm. User: pebs74 Date: 05/12/2014 Time: 13:45

UBItem
Extended by ClipitExampleType
Located at ClipitExampleType.php
Methods summary
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

UBItem::copy_from_elgg()
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

UBItem::copy_to_elgg()
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

UBItem::create()
public static integer|boolean
# set_properties( integer $id, array $prop_value_array )

Sets values to specified properties of an Item

Sets values to specified properties of an Item

Parameters

$id
integer
$id Id of Item to set property values
$prop_value_array
array
$prop_value_array Array of property=>value pairs to set into the Item

Returns

integer|boolean
Returns Id of Item if correct, or false if error

Throws

InvalidParameterException

Overrides

UBItem::set_properties()
public static
# get_language_index( mixed $language )
public static static[]
# get_from_category( string $category = null, string $language = "en" )

Gets all Items by category, or all items grouped by category if no category is specified.

Gets all Items by category, or all items grouped by category if no category is specified.

Parameters

$category
string
$category
$language
string
$language

Returns

static[]
Array of Items for the specified category
public static static|null
# get_by_reference( mixed $reference )

Parameters

$reference
mixed
$reference

Returns

static|null
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_from_search(), get_properties(), link_parent_clone(), list_properties(), save(), 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()
Constants inherited from UBItem
REL_PARENT_CLONE, SUBTYPE, TYPE
Properties summary
public array $reference array()
#
public array $item_name array()
#
public array $item_description array()
#
public array $category array()
#
public array $category_description array()
#
Properties inherited from UBItem
$clone_array, $cloned_from, $description, $id, $name, $owner_id, $time_created, $url
API documentation generated by ApiGen 2.8.0