Last active
August 29, 2015 14:14
Menambahkan sebuah link di pesan setFlash cakePHP
This file contains 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 | |
$this->Session->setFlash( | |
__('Silahkan Klik Link untuk Melanjutkan: ') ,'pesan_links', array( // pesan_link adalah nama file di /app/View/Elements/pesan_links.ctp | |
'link_Kata' => 'Goo Here', // Sesuai dengan yang dibuat di file pesan_links.ctp | |
'link_url' => array( // Sesuai dengan yang dibuat di file pesan_links.ctp lalu ditambah alamat linknya | |
'controller' => 'lanjutkan', | |
'action' => 'index'))); | |
// DIRECTORY :: /app/Controller/YourController.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment