CTableVideoRevver
class CTableVideoRevver extends CVideoProvider
Class to manipulate data from Revver
Properties
$xmlContent | |||
$url | |||
$videoId |
Methods
Class constructor, overridden in descendant classes.
Sets a default value if not alreay assigned
Returns a property of the object or the default value if the property is not set.
Returns an associative array of object properties.
Get the most recent error message.
Modifies a property of the object, creating it if it does not already exist.
Set the object properties based on a named array/hash.
No description
No description
No description
Return the video provider's name
No description
Return embedded code
Return feedUrl of the video
Extract video id from the video url submitted by the user
No description
Details
in CVideoProvider at line 517
JObject
__construct($db = null)
Class constructor, overridden in descendant classes.
in JObject at line 56
string
__toString()
Magic method to convert the object to a string gracefully.
in JObject at line 70
mixed
def(string $property, mixed $default = null)
Sets a default value if not alreay assigned
in JObject at line 88
mixed
get(string $property, mixed $default = null)
Returns a property of the object or the default value if the property is not set.
in JObject at line 107
array
getProperties(boolean $public = true)
Returns an associative array of object properties.
in JObject at line 133
string
getError(integer $i = null, boolean $toString = true)
Get the most recent error message.
in JObject at line 165
array
getErrors()
Return all errors, if any.
in JObject at line 180
mixed
set(string $property, mixed $value = null)
Modifies a property of the object, creating it if it does not already exist.
in JObject at line 198
boolean
setProperties(mixed $properties)
Set the object properties based on a named array/hash.
in JObject at line 222
void
setError(string $error)
Add an error message.
in JObject at line 235
string
toString()
deprecated
deprecated
at line 96
getThumbnail()
at line 55
getTitle()
at line 86
getDuration()
at line 50
getType()
Return the video provider's name
at line 116
getViewHTML($videoId, $videoWidth, $videoHeight)
in CVideoProvider at line 524
init($url)
Initialize the provider with video url resource
in CVideoProvider at line 539
type
getEmbedCode(type $videoId, type $videoWidth, type $videoHeight)
Return embedded code
in CVideoProvider at line 550
type
isValid()
Return true if the video is valid.
This function uses a typical video privider method where they normally provide a XML feed file to extract all the video info
at line 25
getFeedUrl()
Return feedUrl of the video
at line 37
videoid
getId()
Extract video id from the video url submitted by the user