Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function UserConstants(){
- $constants = get_defined_constants(true)['user'];
- $AL = new ArrayList();
- foreach($constants as $key => $val){
- $AL->push(new ArrayData(array('key' => $key,
- 'val' => $val)));
- }
- return $AL;
- }
- <% loop $UserConstants %>
- <p>$key - $val</p>
- <% end_loop %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement