mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 13:25:32 +08:00
20 lines
579 B
PHP
20 lines
579 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
|
||
class desktop_finder_colset{
|
||
function run($task,$ctl){
|
||
$user_id = $ctl->user->user_id;
|
||
$finder_model = (key($task));
|
||
$finder_cols = current($task);
|
||
$old_cols_width = app::get('desktop')->getConf('colwith.'.$finder_model.'.'.$user_id);
|
||
$old_cols_width = (array)$old_cols_width;
|
||
$finder_cols = array_merge($old_cols_width,$finder_cols);
|
||
app::get('desktop')->setConf('colwith.'.$finder_model.'.'.$user_id,$finder_cols);
|
||
|
||
}
|
||
}
|