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

  • ClipitActivity
  • ClipitChat
  • ClipitComment
  • ClipitEvent
  • ClipitExample
  • ClipitFile
  • ClipitGroup
  • ClipitLA
  • ClipitLabel
  • ClipitPerformanceItem
  • ClipitPerformanceRating
  • ClipitPost
  • ClipitQuiz
  • ClipitQuizQuestion
  • ClipitQuizResult
  • ClipitRating
  • ClipitRemoteTrickyTopic
  • ClipitRemoteVideo
  • ClipitResource
  • ClipitSite
  • ClipitStoryboard
  • ClipitTag
  • ClipitTagRating
  • ClipitTask
  • ClipitTrickyTopic
  • ClipitUser
  • ClipitVideo
  • Overview
  • Package
  • Class
  • Tree

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
Extended by ClipitTag
Package: ClipIt\clipit\api
License: Affero General Public License v3
Author: Pablo LlinĂ¡s Arnaiz <pebs74@gmail.com>, URJC JuxtaLearn Team
Located at ClipitTag.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()
public static
# get_tricky_topics( mixed $id )
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 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

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

UBItem::get_from_search()
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()
Constants inherited from UBItem
REL_PARENT_CLONE, SUBTYPE, TYPE
Properties summary
public string $ontologylink ""
#
Properties inherited from UBItem
$clone_array, $cloned_from, $description, $id, $name, $owner_id, $time_created, $url
API documentation generated by ApiGen 2.8.0