KWeb
6.4
|
Podstawowa klasa do implementowania atrybutow. More...
Public Member Functions | |
__construct ($id, $title, $opt=array()) | |
getType () | |
Zwraca nazwÄ™ typu . | |
getMediaType (KWebObject_Attributable $object, $pathOrLang=false) | |
getMediaId (KWebObject_Attributable $object, $pathOrLang=false) | |
getFileSizeLimit () | |
getUploadPath () | |
getFileAcceptExt () | |
canMirrorFile () | |
checkUrl (KWebObject_Attributable $object, &$url) | |
getPreview (KWebObject_Attributable $object, $imgPreview, array $options=array(), $lang=false) | |
Returns preview result for this file. | |
Data Fields | |
const | TYPE_IMAGE = 'image' |
const | TYPE_MOVIE = 'movie' |
const | TYPE_FLASHVIDEO = 'flv' |
const | TYPE_SOUND = 'sound' |
const | TYPE_DOCUMENT = 'document' |
const | TYPE_ARCHIVE = 'archive' |
const | TYPE_YOUTUBE = 'youtube' |
const | TYPE_OTHER = 'other' |
Podstawowa klasa do implementowania atrybutow.
KWebAttribute_Media::__construct | ( | $ | id, |
$ | title, | ||
$ | opt = array() |
||
) |
Reimplemented from KWebAttribute_Image.
KWebAttribute_Media::canMirrorFile | ( | ) |
Reimplemented from KWebAttribute_Image.
KWebAttribute_Media::checkUrl | ( | KWebObject_Attributable $ | object, |
&$ | url | ||
) |
Reimplemented from KWebAttribute_File.
KWebAttribute_Media::getFileAcceptExt | ( | ) |
Reimplemented from KWebAttribute_Image.
KWebAttribute_Media::getFileSizeLimit | ( | ) |
Reimplemented from KWebAttribute_Image.
KWebAttribute_Media::getMediaId | ( | KWebObject_Attributable $ | object, |
$ | pathOrLang = false |
||
) |
KWebAttribute_Media::getMediaType | ( | KWebObject_Attributable $ | object, |
$ | pathOrLang = false |
||
) |
KWebAttribute_Media::getPreview | ( | KWebObject_Attributable $ | object, |
$ | imgPreview, | ||
array $ | options = array() , |
||
$ | lang = false |
||
) |
Returns preview result for this file.
$imgPreview | ImgPreview instance, or instance name |
Reimplemented from KWebAttribute_File.
KWebAttribute_Media::getType | ( | ) |
Zwraca nazwÄ™ typu .
Reimplemented from KWebAttribute_Image.
KWebAttribute_Media::getUploadPath | ( | ) |
Reimplemented from KWebAttribute_Image.
const KWebAttribute_Media::TYPE_ARCHIVE = 'archive' |
const KWebAttribute_Media::TYPE_DOCUMENT = 'document' |
const KWebAttribute_Media::TYPE_FLASHVIDEO = 'flv' |
const KWebAttribute_Media::TYPE_IMAGE = 'image' |
const KWebAttribute_Media::TYPE_MOVIE = 'movie' |
const KWebAttribute_Media::TYPE_OTHER = 'other' |
const KWebAttribute_Media::TYPE_SOUND = 'sound' |
const KWebAttribute_Media::TYPE_YOUTUBE = 'youtube' |