View file PF.Base/module/admincp/include/component/controller/upload.class.php

File size: 798B
<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 *
 *
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author           Raymond Benc
 * @package          Module_Admincp
 * @version          $Id: index.class.php 7202 2014-03-18 13:38:56Z Raymond_Benc $
 */
class Admincp_Component_Controller_Upload extends Phpfox_Component
{

    /**
     * upload package to collate.
     */
    public function process()
    {
        $this->template()->setTitle(_p('Import Module'));
    }

    /**
     * Garbage collector. Is executed after this class has completed
     * its job and the template has also been displayed.
     */
    public function clean()
    {
        (($sPlugin = Phpfox_Plugin::get('admincp.component_controller_upload_clean')) ? eval($sPlugin) : false);
    }
}