Guest User

Untitled

a guest
Jan 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. $cols = array(
  2.     'rowid' => array(
  3.         'name' => 'ID',
  4.         'index' => 'rowid',
  5.         'width' => '20px'
  6.     ),
  7.     'code_client' => array(
  8.         'name' => 'code client',
  9.         'index' => 'code_client',
  10.         'width' => '70px'
  11.     ),
  12.     ...
  13. )
  14.  
  15.  
  16. pour le colModel, tu fais un return array_values($cols)
  17. pour le colNames, tu fais un return array_leys($cols);
Add Comment
Please, Sign In to add comment