[ class tree: classes ] [ index: classes ] [ all elements ]

Class: Video

Source Location: /zp-extensions/class-video.php

Class Video

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Image

Image::$album
Image::$albumlink
Image::$albumname
Image::$albumnamealbum
Image::$displayname
Image::$exists
Image::$filemtime
Image::$filename
Image::$imagefolder
Image::$index
Image::$localpath
Image::$manage_rights
Image::$manage_some_rights
Image::$objectsThumb
Image::$sidecars
Image::$sortorder
Image::$view_rights
Image::$webpath

Inherited From ThemeObject

ThemeObject::$comments

Inherited From PersistentObject

PersistentObject::$id
PersistentObject::$loaded
PersistentObject::$table
PersistentObject::$transient

Inherited From Image

Image::__construct()
Constructor for class-image
Image::checkAccess()
returns true if user is allowed to see the image
Image::checkforGuest()
Checks if guest is loggedin for the album
Image::classSetup()
generic "image" class setup code Returns true if valid image.
Image::copy()
Copies the image to a new album, along with all metadata.
Image::fileChanged()
Returns true if the file has changed since last time we looked
Image::getAlbum()
Returns the album that holds this image
Image::getAlbumName()
Retuns the folder name of the album that holds this image
Image::getCity()
Returns the city field of the image
Image::getContent()
Returns the default sized image HTML
Image::getCopyright()
Returns the copyright field of the image
Image::getCountry()
Returns the country field of the image
Image::getCredit()
Returns the credit field of the image
Image::getCustomImage()
Get a custom sized version of this image based on the parameters.
Image::getFileName()
Returns the image filename
Image::getFullImage()
Returns a path to the original image in the original folder.
Image::getFullImageURL()
returns URL to the original image
Image::getHeight()
Returns the height of the image
Image::getImageFootprint()
Returns the disk size of the image
Image::getImageLink()
Returns a path urlencoded image page link for the image
Image::getIndex()
Get the index of this image in the album, taking sorting into account.
Image::getLink()
Returns a path urlencoded image page link for the image
Image::getLocation()
Returns the location field of the image
Image::getMetaData()
Returns an array of EXIF data
Image::getNextImage()
Returns the next Image.
Image::getOwner()
Owner functions
Image::getPrevImage()
Return the previous Image
Image::getSizedImage()
Returns a path to a sized version of the image
Image::getState()
Returns the state field of the image
Image::getThumb()
Get a default-sized thumbnail of this image.
Image::getThumbCropping()
Returns an array of cropping parameters. Used as a "helper" function for various inherited getThumb() methods
Image::getThumbImageFile()
Returns the image file name for the thumbnail image.
Image::getWatermark()
Returns the custom watermark name
Image::getWidth()
Returns the width of the image
Image::getWMUse()
Returns the custom watermark usage
Image::isMyItem()
Image::isProtected()
returns true if there is any protection on the image
Image::move()
Moves an image to a new album and/or filename (rename).
Image::remove()
Permanently delete this image (permanent: be careful!)
Image::rename()
Renames an image to a new filename, keeping it in the same album. Convenience for move($image->album, $newfilename).
Image::setCity()
Stores the city field of the image
Image::setCopyright()
Stores the text for the copyright field of the image
Image::setCountry()
Stores the country field of the image
Image::setCredit()
Stores the credit field of the image
Image::setDefaults()
(non-PHPdoc)
Image::setLocation()
Stores the location field of the image
Image::setOwner()
Image::setState()
Stores the state field of the image
Image::setWatermark()
Set custom watermark
Image::setWMUse()
Sets the custom watermark usage
Image::updateDimensions()
Update this object's values for width and height.
Image::updateMetaData()
Parses Exif/IPTC data

Inherited From MediaObject

MediaObject::__construct()
Class instantiator
MediaObject::getDesc()
Returns the description
MediaObject::getExpireDate()
Returns the expire date
MediaObject::getPassword()
Returns the password
MediaObject::getPasswordHint()
Returns the password hint
MediaObject::getPublishDate()
Returns the publish date
MediaObject::getSortOrder()
Returns the sort order
MediaObject::getUser()
Returns the guest user
MediaObject::setDesc()
Stores the description
MediaObject::setExpireDate()
sets the expire date
MediaObject::setPassword()
Sets the encrypted password
MediaObject::setPasswordHint()
Sets the password hint
MediaObject::setPublishDate()
sets the publish date
MediaObject::setSortOrder()
Stores the sort order
MediaObject::setUser()
Sets the guest user

Inherited From ThemeObject

ThemeObject::__construct()
Class instantiator
ThemeObject::addComment()
Adds comments to the album assumes data is coming straight from GET or POST
ThemeObject::checkAccess()
Checks if viewing of object is allowed
ThemeObject::checkForGuest()
returns false (deny) if gallery is "private"
ThemeObject::countHit()
counts visits to the object
ThemeObject::getCodeblock()
Returns the codeblocks as an serialized array
ThemeObject::getCommentCount()
Returns the count of comments in the album. Ignores comments in moderation
ThemeObject::getComments()
Returns an array of comments for this album
ThemeObject::getCommentsAllowed()
Retuns true if comments are allowed
ThemeObject::getCustomData()
returns the custom data field
ThemeObject::getDateTime()
Returns the unformatted date
ThemeObject::getHitcounter()
Returns the hitcount
ThemeObject::getParentID()
Returns the partent id
ThemeObject::getShow()
Returns true published
ThemeObject::getTags()
Returns the tag data
ThemeObject::getTitle()
Returns the title
ThemeObject::hasTag()
Checks if an object has a tag assigned.
ThemeObject::isMyItem()
Checks basic access rights of an object
ThemeObject::setCodeblock()
set the codeblocks as an serialized array
ThemeObject::setCommentsAllowed()
Sets the comments allowed flag
ThemeObject::setCustomData()
Sets the custom data field
ThemeObject::setDateTime()
Stores the date
ThemeObject::setParentID()
Sets the ParentID field
ThemeObject::setShow()
Stores the published value
ThemeObject::setTags()
Stores tag information
ThemeObject::setTitle()
Stores the title

Inherited From PersistentObject

PersistentObject::PersistentObject()
PersistentObject::copy()
Copy this record to another unique set. Checks if the record exists there first, if so returns false. If successful returns true. No changes are made to this object and no other objects are created, just the database entry.
PersistentObject::get()
Get the value of a variable. If $current is false, return the value as of the last save of this object.
PersistentObject::getData()
returns the database record of the object
PersistentObject::getID()
Returns the id
PersistentObject::instantiate()
Prime instantiator for Zenphoto objects
PersistentObject::move()
Change one or more values of the unique set assigned to this record.
PersistentObject::remove()
Deletes object from the database
PersistentObject::save()
Save the updates made to this object since the last update. Returns true if successful, false if not.
PersistentObject::set()
Set a variable in this object. Does not persist to the database until save() is called. So, IMPORTANT: Call save() after set() to persist.
PersistentObject::setDefaults()
Sets default values for new objects using the set() method.
PersistentObject::__toString()
"Magic" function to return a string identifying the object when it is treated as a string

[ Top ]
Property Summary
mixed   $videoalt  

[ Top ]
Method Summary
Image   __construct()   Constructor for class-video
void   getBody()  
string   getContent()   returns the content of the vido
string   getCustomImage()   Get a custom sized version of this image based on the parameters.
void   getFullImageURL()   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
void   getSizedImage()   (non-PHPdoc)
string   getThumb()   Get a default-sized thumbnail of this image.
string   getThumbImageFile()   Returns the image file name for the thumbnail image.
void   updateDimensions()   Update this object's values for width and height.
void   updateMetaData()   Processes multi-media file metadata

[ Top ]
Properties
mixed   $videoalt = array() [line 73]

[ Top ]
Methods
Constructor __construct  [line 82]

  Image __construct( $album, sting $filename, [ $quiet = false], object &$album  )

Constructor for class-video

Parameters:
object   &$album:  the owning album
sting   $filename:  the filename of the image
   $album: 
   $quiet: 


Redefinition of:
Image::__construct()
Constructor for class-image

[ Top ]
getBody  [line 314]

  void getBody( [ $w = NULL], [ $h = NULL]  )

Parameters:
   $w: 
   $h: 


[ Top ]
getContent  [line 326]

  string getContent( [$w $w = NULL], [$h $h = NULL]  )

returns the content of the vido

Parameters:
$w   $w: 
$h   $h: 


Redefinition of:
Image::getContent()
Returns the default sized image HTML

[ Top ]
getCustomImage  [line 245]

  string getCustomImage( int $size, int $width, int $height, int $cropw, int $croph, int $cropx, int $cropy, [bool $thumbStandin = false], [bool $effects = NULL], string $alt, string $class, string $id  )

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

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


Redefinition of:
Image::getCustomImage()
Get a custom sized version of this image based on the parameters.

[ Top ]
getFullImageURL  [line 295]

  void 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

Parameters:
unknown_type   $path: 


Redefinition of:
Image::getFullImageURL()
returns URL to the original image

[ Top ]
getSizedImage  [line 278]

  void getSizedImage( $size  )

(non-PHPdoc)

Parameters:
   $size: 

API Tags:
See:  zp-core/Image::getSizedImage()


Redefinition of:
Image::getSizedImage()
Returns a path to a sized version of the image

[ Top ]
getThumb  [line 205]

  string getThumb( [ $type = 'image']  )

Get a default-sized thumbnail of this image.

Parameters:
   $type: 


Redefinition of:
Image::getThumb()
Get a default-sized thumbnail of this image.

[ Top ]
getThumbImageFile  [line 152]

  string getThumbImageFile( [string $path = NULL]  )

Returns the image file name for the thumbnail image.

Parameters:
string   $path:  override path


Redefinition of:
Image::getThumbImageFile()
Returns the image file name for the thumbnail image.

[ Top ]
updateDimensions  [line 125]

  void updateDimensions( )

Update this object's values for width and height.



Redefinition of:
Image::updateDimensions()
Update this object's values for width and height.

[ Top ]
updateMetaData  [line 376]

  void updateMetaData( )

Processes multi-media file metadata

(non-PHPdoc)


API Tags:
See:  zp-core/Image::updateMetaData()


Redefinition of:
Image::updateMetaData()
Parses Exif/IPTC data

[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:18 +0200 by phpDocumentor 1.4.3