Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $test = array(
- 'title' => 'day',
- 'description' => 'xxxx',
- 'type' => 'MENU_ITEM_NORMAL',
- 'page callback' => 'yyy',
- 'access callback' => 'ssssss',
- );
- $test += array(
- 'title' => 'hola mundo',
- 'description' => 'chau mundo',
- 'type' => 'MENU_CALLBACK',
- 'root' => 'test',
- );
- El segundo arreglo no sobreescribirá los indices que ya esten definidos en el primer arreglo. Solo agregará los que no están.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement