Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • pseudoPlayer
  • Video
  • VideoObject_Options
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Video

handles 'picture' images

PersistentObject
Extended by ThemeObject
Extended by MediaObject
Extended by Image
Extended by Video
Package: classes\media
Author: Stephen Billard (sbillard)
Located at zp-extensions/class-video.php
Methods summary
public Image
# __construct( object $album, sting $filename, $quiet = false )

Constructor for class-video

Constructor for class-video

Parameters

$album
$album the owning album
$filename
the filename of the image
$quiet

Returns

Image

Overrides

Image::__construct()
public
# updateDimensions( )

Update this object's values for width and height.

Update this object's values for width and height.

Overrides

Image::updateDimensions()
public string
# getThumbImageFile( string $path = NULL )

Returns the image file name for the thumbnail image.

Returns the image file name for the thumbnail image.

Parameters

$path
override path

Returns

string

Overrides

Image::getThumbImageFile()
public string
# getThumb( $type = 'image' )

Get a default-sized thumbnail of this image.

Get a default-sized thumbnail of this image.

Returns

string

Overrides

Image::getThumb()
public string
# getCustomImage( string $size, integer $width, integer $height, integer $cropw, integer $croph, integer $cropx, integer $cropy, integer $thumbStandin = false, string $effects = NULL, string $id,…, boolean $thumbStandin,…, boolean $effects,… )

Get a custom sized version of this image based on the parameters.

Get a custom sized version of this image based on the parameters.

Parameters

$size
$alt Alt text for the url
$width
$size size
$height
$width width
$cropw
$height height
$croph
$cropw crop width
$cropx
$croph crop height
$cropy
$cropx crop x axis
$thumbStandin
$cropy crop y axis
$effects
$class Optional style class
$id,…
Optional style id
$thumbStandin,…
set to true to treat as thumbnail
$effects,…
ignored

Returns

string

Overrides

Image::getCustomImage()
public string
# getSizedImage( integer $size )

(non-PHPdoc)

(non-PHPdoc)

Parameters

$size
how big an image is wanted

Returns

string

See

zp-core/Image::getSizedImage()

Overrides

Image::getSizedImage()
public
# getFullImageURL( unknown_type $path,… )

returns URL to the original image or to a high quality alternate e.g. ogg, avi, wmv files that can be handled by the client browser

returns URL to the original image or to a high quality alternate e.g. ogg, avi, wmv files that can be handled by the client browser

Parameters

$path,…

Overrides

Image::getFullImageURL()
public
# getBody( $w = NULL, $h = NULL )
public string
# getContent( $w = NULL, $h = NULL )

returns the content of the vido

returns the content of the vido

Parameters

$w
$h

Returns

string

Overrides

Image::getContent()
public
# updateMetaData( )

Processes multi-media file metadata (non-PHPdoc)

Processes multi-media file metadata (non-PHPdoc)

See

zp-core/Image::updateMetaData()

Overrides

Image::updateMetaData()
Methods inherited from Image
checkAccess(), checkforGuest(), classSetup(), copy(), fileChanged(), getAlbum(), getAlbumName(), getCity(), getCopyright(), getCountry(), getCredit(), getFileName(), getFullImage(), getHeight(), getImageFootprint(), getImageLink(), getIndex(), getLink(), getLocation(), getMetaData(), getNextImage(), getOwner(), getPrevImage(), getState(), getThumbCropping(), getWMUse(), getWatermark(), getWidth(), isMyItem(), isProtected(), move(), remove(), rename(), setCity(), setCopyright(), setCountry(), setCredit(), setDefaults(), setLocation(), setOwner(), setState(), setWMUse(), setWatermark()
Methods inherited from MediaObject
getDesc(), getExpireDate(), getPassword(), getPasswordHint(), getPublishDate(), getSortOrder(), getUser(), setDesc(), setExpireDate(), setPassword(), setPasswordHint(), setPublishDate(), setSortOrder(), setUser()
Methods inherited from ThemeObject
addComment(), checkForGuest(), checkPublishDates(), countHit(), getCodeblock(), getCommentCount(), getComments(), getCommentsAllowed(), getCustomData(), getDateTime(), getHitcounter(), getParentID(), getShow(), getTags(), getTitle(), hasTag(), setCodeblock(), setCommentsAllowed(), setCustomData(), setDateTime(), setParentID(), setShow(), setTags(), setTitle()
Methods inherited from PersistentObject
__toString(), get(), getData(), getID(), instantiate(), save(), set()
Properties summary
public array $videoalt
# array()
Properties inherited from Image
$album, $albumlink, $albumname, $albumnamealbum, $displayname, $exists, $filemtime, $filename, $imagefolder, $index, $localpath, $manage_rights, $manage_some_rights, $objectsThumb, $sidecars, $sortorder, $view_rights, $webpath
Properties inherited from ThemeObject
$comments
Properties inherited from PersistentObject
$id, $loaded, $table, $transient
Zenphoto doc API documentation generated by ApiGen