dcs_groupModel.php 725 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. class flow_dcs_groupClassModel extends flowModel
  3. {
  4. protected $flowcompanyidfieds = 'none';
  5. public function initModel()
  6. {
  7. }
  8. public function flowrsreplace($rs, $lx=0)
  9. {
  10. // if ($rs['level'] == 1) {
  11. // $rs['name'] = "<font style='font-weight:800; color:#000;'>".$rs['name']."</font>";
  12. // } else {
  13. // $rs['name'] = str_repeat('<img src="images/white.gif" class="icons">', $rs['level'])."|-".$rs['name'];
  14. // }
  15. if(!empty($rs['icon']))
  16. $rs['icon'] = "<img src='".$rs['icon']."' width='30' height='30'>";
  17. return $rs;
  18. }
  19. protected function flowbillwhere($lx, $uid)
  20. {
  21. return [
  22. 'order'=>'sort',
  23. ];
  24. }
  25. }