Squiz Matrix
4.12.2
|
Public Member Functions | |
MP3_File_Edit_Fns () | |
processFileUpload (&$asset, &$o, $prefix, $info=Array(), $redirect_in_limbo=TRUE, $asset_cloned=FALSE) | |
paintExtractID3 (MP3_File $asset, Backend_Outputter $o, $prefix) | |
processExtractID3 (MP3_File $asset, Backend_Outputter $o, $prefix) | |
paintWriteID3 (MP3_File $asset, Backend_Outputter $o, $prefix) | |
processWriteID3 (MP3_File $asset, Backend_Outputter $o, $prefix) | |
Public Member Functions inherited from File_Edit_Fns | |
File_Edit_Fns () | |
paintFilename (&$asset, &$o, $prefix) | |
processFilename (&$asset, &$o, $prefix) | |
paintFileUpload (File $asset, Backend_Outputter $o, $prefix) | |
processFileUploadPreUpload (File $asset, $o, $prefix, Array $info=Array(), $redirect_in_limbo=TRUE) | |
processFileUpload (File $asset, &$o, $prefix, Array $info=Array(), $redirect_in_limbo=TRUE, $asset_cloned=FALSE) | |
processFileChooser (File $asset, $o, $prefix, $create=FALSE) | |
removeOldFile (File $asset, &$existing, File_Versioning $fv) | |
getNewFile (File $asset, $name, Array $info) | |
getChosenFileInfo ($prefix) | |
printExistingFileInfo (File $asset) | |
Public Member Functions inherited from Asset_Edit_Fns | |
Asset_Edit_Fns () | |
paintPaths (&$asset, &$o, $prefix) | |
paintEditRemapURLs (&$asset, &$o, $prefix) | |
processPaths (&$asset, &$o, $prefix) | |
processEditRemapURLs (&$asset, &$o, $prefix) | |
paintURLs (&$asset, &$o, $prefix) | |
paintAddRemapURLs (&$asset, &$o, $prefix) | |
processAddRemapURLs (&$asset, &$o, $prefix) | |
isWorkflowComplete (&$asset) | |
paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE) | |
processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE) | |
isSearchInstalled (&$asset, $prefix) | |
isBeingCreated (&$asset) | |
isNotBeingCreated (&$asset) | |
paintAutomaticRemapSetting (&$asset, &$o, $prefix) | |
paintCreateLink (&$asset, &$o, $prefix) | |
Public Member Functions inherited from MySource_Object | |
MySource_Object () | |
__sleep () | |
__wakeup () | |
Additional Inherited Members | |
Data Fields inherited from Asset_Edit_Fns | |
$static_screens | |
Protected Member Functions inherited from File_Edit_Fns | |
havePreUploadedFiles (File $asset, $prefix) | |
getPreuploadOptions (File $asset) | |
Definition at line 32 of file mp3_file_edit_fns.inc.
paintExtractID3 | ( | MP3_File | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for the "extract ID3 metadata" field
MP3_File | $asset | the asset whose interface we are processing |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form elements |
Definition at line 96 of file mp3_file_edit_fns.inc.
paintWriteID3 | ( | MP3_File | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for the "write ID3 metadata" field
MP3_File | $asset | the asset whose interface we are processing |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form elements |
Definition at line 153 of file mp3_file_edit_fns.inc.
processExtractID3 | ( | MP3_File | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Process the interface for the "extract ID3 metadata" field
If checked, set the extract_id3 flag attribute to TRUE, so that the metadata will be extracted. If not, then DON'T set to FALSE, because it may have been set in the file upload.
MP3_File | $asset | the asset whose interface we are processing |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form elements |
Definition at line 130 of file mp3_file_edit_fns.inc.
processFileUpload | ( | & | $asset, |
& | $o, | ||
$prefix, | |||
$info = Array() , |
|||
$redirect_in_limbo = TRUE , |
|||
$asset_cloned = FALSE |
|||
) |
Processes the interface for uploading a file
If you want to process an upload of a file that was not uploaded through PHP (possible because of FTP or it was in a tar archive), ensure you pass the information about the file in the $info array. The fields required are: name => the filename without path (eg file.txt) tmp_name => the location of the file on the file system non_uploaded_file => must equal TRUE
File | $asset | the file asset |
Backend_Outputter | $o | the Backend Outputter object |
string | $prefix | prefix for form elements |
array | $info | info about the uploaded file |
boolean | $redirect_in_limbo | redirect when the file name changes in limbo |
boolean | $asset_cloned | to check if we creating a new asset or just cloning |
Definition at line 65 of file mp3_file_edit_fns.inc.
processWriteID3 | ( | MP3_File | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Process the interface for the "write ID3 metadata" field
If checked, set the write_id3 flag attribute to TRUE, so that the metadata will be extracted. If not, then DON'T set to FALSE, because it may have been set in the file upload.
MP3_File | $asset | the asset whose interface we are processing |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form elements |
Definition at line 187 of file mp3_file_edit_fns.inc.