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 ClipitRemoteSite

Created by PhpStorm. User: pebs74 Date: 11/11/2014 Time: 13:09

UBItem
Extended by ClipitRemoteSite
Located at ClipitRemoteSite.php
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

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

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

InvalidParameterException

Overrides

UBItem::set_properties()
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
# add_tricky_topics( mixed $id, mixed $tricky_topic_array )
public static
# set_tricky_topics( mixed $id, mixed $tricky_topic_array )
public static
# remove_tricky_topics( mixed $id, mixed $tricky_topic_array )
public static
# get_tricky_topics( mixed $id )
public static
# add_videos( mixed $id, mixed $video_array )
public static
# set_videos( mixed $id, mixed $video_array )
public static
# remove_videos( mixed $id, mixed $video_array )
public static
# get_videos( mixed $id )
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(), 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 summary
string REL_REMOTESITE_REMOTETRICKYTOPIC "ClipitRemoteSite-ClipitRemoteTrickyTopic"
#
string REL_REMOTESITE_REMOTEVIDEO "ClipitRemoteSite-ClipitRemoteVideo"
#
Constants inherited from UBItem
REL_PARENT_CLONE, SUBTYPE, TYPE
Properties summary
public string $timezone ""
#
public array $tricky_topic_array array()
#
public array $video_array 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