Hi All,
Suppose you have following url:
http://localhost/archive/web/frontend_dev.php/supportTool/searchByWireTransfer
Now
<?php echo url_for('supportTool/wireTransferDetails'); ?>
The above code will provide following output:
/archive/web/frontend_dev.php/supportTool/searchByWireTransfer
<?php echo url_for('supportTool/wireTransferDetails', true); ?>
The above code will provide following output:
http://localhost/archive/web/frontend_dev.php/supportTool/searchByWireTransfer
Cheers!
Suppose you have following url:
http://localhost/archive/web/frontend_dev.php/supportTool/searchByWireTransfer
Now
<?php echo url_for('supportTool/wireTransferDetails'); ?>
The above code will provide following output:
/archive/web/frontend_dev.php/supportTool/searchByWireTransfer
<?php echo url_for('supportTool/wireTransferDetails', true); ?>
The above code will provide following output:
http://localhost/archive/web/frontend_dev.php/supportTool/searchByWireTransfer
Cheers!
I was hunting for symfony developer and landed onto your post and i must say thank you for sharing such useful information.
ReplyDelete