Esempio n. 1
0
 public static function get_uploader_options($member_id, $file_cate = 'm', $split_criterion_id = 0)
 {
     if (!$split_criterion_id) {
         $split_criterion_id = $member_id;
     }
     $filename_prefix = \Site_Upload::get_filename_prefix($file_cate, $split_criterion_id);
     $filepath_prefix = self::convert_filename2filepath($filename_prefix);
     $options = self::get_uploader_info($file_cate, $filepath_prefix);
     $options['member_id'] = $member_id;
     $options['filename_prefix'] = $filename_prefix;
     return $options;
 }