mirror of
https://github.com/brmlab/brmsklad.git
synced 2025-08-04 07:03:41 +02:00
Backup of current cakephp version
This commit is contained in:
parent
b8f82da6f8
commit
5a580df460
925 changed files with 238041 additions and 1 deletions
6
lib/Cake/Test/test_app/View/Posts/xml/index.ctp
Normal file
6
lib/Cake/Test/test_app/View/Posts/xml/index.ctp
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
$data = array('users' => array('user' => array()));
|
||||
foreach ($users as $user) {
|
||||
$data['users']['user'][] = array('@' => $user['User']['username']);
|
||||
}
|
||||
echo Xml::fromArray($data)->saveXml();
|
Loading…
Add table
Add a link
Reference in a new issue