Example #1
0
 public function formatTable($table, $exclude_fields = false)
 {
     if ($exclude_fields) {
         $table['avatar'] = null;
     }
     $table['avatar_uploader'] = Form::Upload('avatar', $table['avatar'], 'image', false);
     return $table;
 }