Created
February 27, 2017 14:10
-
-
Save inoas/c13a91ae8a358ebb32c2788163abad81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$xmlView = new XmlView; | |
$xmlView->templatePath = 'Service'; | |
$xmlView->template = 'api.xml'; // Template/Service/xml/api.xml.ctp | |
$xmlView->set('foo', 'bar'); | |
var_dump($xmlView->render()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment