Inheritance diagram for Article_Files:
Collaboration diagram for Article_Files:Public Member Functions | |
| render () | |
| save () | |
| getArticle ($blReset=false) | |
| upload () | |
| deletefile () | |
| getConfigOptionValue ($iOption) | |
Protected Member Functions | |
| _processOptions ($aParams) | |
Protected Attributes | |
| $_sThisTemplate = 'article_files.tpl' | |
| $_oArticle = null | |
Admin article files parameters manager. Collects and updates (on user submit) files. Admin Menu: Manage Products -> Articles -> Files.
Definition at line 8 of file article_files.php.
| Article_Files._processOptions | ( | $ | aParams | ) | [protected] |
Process config options. If value is not set, save as "-1" to database
| array | $aParams params |
Definition at line 190 of file article_files.php.
| Article_Files.deletefile | ( | ) |
Deletes article file from fileid parameter and checks if this file belongs to current article.
Definition at line 146 of file article_files.php.
| Article_Files.getArticle | ( | $ | blReset = false |
) |
Returns current oxarticle object
| bool | $blReset Load article again |
Definition at line 83 of file article_files.php.
| Article_Files.getConfigOptionValue | ( | $ | iOption | ) |
Returns real config option value
| int | $iOption option value |
Definition at line 177 of file article_files.php.
| Article_Files.render | ( | ) |
Collects available article axtended parameters, passes them to Smarty engine and returns tamplate file name "article_extend.tpl".
Reimplemented from oxAdminDetails.
Definition at line 30 of file article_files.php.
| Article_Files.save | ( | ) |
Saves editing article changes (oxisdownloadable) and updates oxFile object which are associated with editing object
Reimplemented from oxAdminView.
Definition at line 55 of file article_files.php.
| Article_Files.upload | ( | ) |
Creates new oxFile object and stores newly uploaded file
Definition at line 99 of file article_files.php.
Article_Files.$_oArticle = null [protected] |
Definition at line 22 of file article_files.php.
Article_Files.$_sThisTemplate = 'article_files.tpl' [protected] |
Reimplemented from oxAdminView.
Definition at line 15 of file article_files.php.
1.7.1