class CTableVideo extends CTableCache implements CTaggable_Item


Located at : UKNOWVA_ROOT/components/com_community/tables/video.php

Properties

$id
$title
$type
$video_id
$description
$creator
$creator_type
$created
$permissions
$category_id
$hits
$published
$featured
$duration
$status
$thumb
$path
$groupid
$storage
$location
$latitude
$longitude
$_wallcount
$_size
$_width
$_height
$_lastupdated
$_videoUrl
$_videoId
$_thumbnail
$_provider

Methods

__construct($db)

Constructor

load($oid = null)

Load the object and the video provider as well

init($url)

Initialize the video with a new url

hit()

Make sure hits are user and session sensitive

boolean
isValid()

Verify whether weblinks is accessible

getId()

No description

getType()

No description

video
getTitle(videoid $escape = true)

Get video's title from videoid

desctiption
getDescription($escape = true)

Get video's description from videoid

$duration
getDuration()

Get video duration

getDurationInHMS()

No description

url
getThumbnail()

Get video's thumbnail URL from videoid

getSize()

No description

getWidth()

No description

getHeight()

No description

getWallCount()

No description

getLastUpdated($raw = false)

No description

isPending()

No description

check()

No description

$embedvideo
getViewHTML($videoWidth = '', $videoHeight = '', $defaultView = true)

No description

getProvider()

Return the video provider object

store()

No description

isPublic()

Return true if it's not private video

getViewURI($route = true)

No description

getFlv()

No description

getURL($raw = false)

No description

getPermalink()

No description

isOwner()

No description

isAdmin()

No description

canEdit()

No description

getCreatorName()

No description

getHits()

No description

getPlayerHTML($width = null, $height = null, $defaultView = true)

No description

tagGetTitle()

Return the title of the object

tagGetHtml()

Return the HTML summary of the object

tagGetLink()

Return the internal link of the object

tagAllow($userid)

Return true if the user is allow to modify the tag

Details

at line 55
__construct($db)

Constructor

Parameters

$db

at line 84
load($oid = null)

Load the object and the video provider as well

Parameters

$oid

at line 108
init($url)

Initialize the video with a new url

Parameters

$url

at line 137
hit()

Make sure hits are user and session sensitive

at line 152
boolean isValid()

Verify whether weblinks is accessible

Return Value

boolean

at line 155
getId()

at line 159
getType()

at line 170
video getTitle(videoid $escape = true)

Get video's title from videoid

Parameters

videoid $escape

Return Value

video title

at line 184
desctiption getDescription($escape = true)

Get video's description from videoid

Parameters

$escape

Return Value

desctiption

at line 199
$duration getDuration()

Get video duration

Return Value

$duration seconds

at line 209
getDurationInHMS()

at line 231
url getThumbnail()

Get video's thumbnail URL from videoid

Return Value

url

at line 274
getSize()

at line 278
getWidth()

at line 282
getHeight()

at line 286
getWallCount()

at line 300
getLastUpdated($raw = false)

Parameters

$raw

at line 342
isPending()

at line 347
check()

at line 378
$embedvideo getViewHTML($videoWidth = '', $videoHeight = '', $defaultView = true)

Parameters

$videoWidth
$videoHeight
$defaultView

Return Value

$embedvideo specific embeded code to play the video

at line 397
getProvider()

Return the video provider object

at line 402
store()

at line 422
isPublic()

Return true if it's not private video

at line 437
getViewURI($route = true)

Parameters

$route

at line 454
getFlv()

at line 482
getURL($raw = false)

Parameters

$raw

at line 516
isOwner()

at line 522
isAdmin()

at line 527
canEdit()

at line 532
getCreatorName()

at line 538
getHits()

at line 543
getPlayerHTML($width = null, $height = null, $defaultView = true)

Parameters

$width
$height
$defaultView

at line 562
tagGetTitle()

Return the title of the object

at line 570
tagGetHtml()

Return the HTML summary of the object

Return the internal link of the object

at line 588
tagAllow($userid)

Return true if the user is allow to modify the tag

Parameters

$userid