Procedural File: mime.themes.php
Source Location: d:\website\PhpDocumentor\/treasury/plugins/mime.themes.php
Page Details:
Tags:
Includes:
TREASURY_MIME_GUID_THEME [line 22]
treasury_theme_get_icons [line 220]
Path treasury_theme_get_icons(
array $pPath, [ $pIconDir = 'large'], [ $pPattern = '/\.(png|gif|jpe?g)$/i'])
|
|
Extract icons found in the theme archive
Tags:
Parameters
| array |
$pPath |
Path to extracted archive |
| |
$pIconDir |
|
| |
$pPattern |
|
treasury_theme_get_preview [line 172]
Path treasury_theme_get_preview(
array $pPath)
|
|
Extract style_info/preview.<ext> for theme icon
Tags:
Parameters
| array |
$pPath |
Path to extracted archive |
treasury_theme_get_screenshots [line 196]
Path treasury_theme_get_screenshots(
array $pPath)
|
|
Extract screenshots found in the theme archive
Tags:
Parameters
| array |
$pPath |
Path to extracted archive |
treasury_theme_load [line 139]
TRUE treasury_theme_load(
&$pFileHash, array $pRow)
|
|
Load file data from the database
Tags:
Parameters
treasury_theme_process_extracted_files [line 244]
TRUE treasury_theme_process_extracted_files(
array $pStoreRow)
|
|
All the files that have been extracted so far need to be processed and moved around
Tags:
Parameters
treasury_theme_store [line 125]
TRUE treasury_theme_store(
&$pStoreRow, &$pCommonObject, array $pStoreRow)
|
|
Store the data in the database
Tags:
Parameters
| array |
$pStoreRow |
File data needed to store details in the database - sanitised and generated in the verify function |
| |
&$pStoreRow |
|
| |
&$pCommonObject |
|
treasury_theme_update [line 111]
TRUE treasury_theme_update(
&$pStoreRow, &$pCommonObject, array $pStoreRow)
|
|
When a file is edited
Tags:
Parameters
| array |
$pStoreRow |
File data needed to store details in the database - sanitised and generated in the verify function |
| |
&$pStoreRow |
|
| |
&$pCommonObject |
|
treasury_theme_verify [line 68]
TRUE treasury_theme_verify(
&$pStoreRow, array $pStoreRow, array $pStoreRow['upload'])
|
|
Sanitise and validate data before it's stored
Tags:
Parameters
| array |
$pStoreRow |
Hash of data that needs to be stored |
| array |
$pStoreRow['upload'] |
Hash passed in by $_FILES upload |
| |
&$pStoreRow |
|
|
|