Cheetah
ChAvaExport.php
Go to the documentation of this file.
1 <?php
2 
8 ch_import('ChWsbExport');
9 
10 class ChAvaExport extends ChWsbExport
11 {
12  protected function __construct($aSystem)
13  {
14  parent::__construct($aSystem);
15  $this->_aTables = array(
16  'ch_avatar_images' => '`author_id` = {profile_id}',
17  );
18  $this->_sFilesBaseDir = 'modules/cheetah/avatar/data/images/';
19  $this->_aTablesWithFiles = array(
20  'ch_avatar_images' => array( // table name
21  'id' => array ( // field name
22  // prefixes & extensions
23  '.jpg',
24  'b.jpg',
25  'i.jpg'
26  ),
27  ),
28  );
29  }
30 }
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
ChWsbExport
Definition: ChWsbExport.php:29
php
ChAvaExport
Definition: ChAvaExport.php:11
ChAvaExport\__construct
__construct($aSystem)
Definition: ChAvaExport.php:12