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 | |
//strings: | |
//in main.php | |
Breeze::set_var('name', 'Edgar'); | |
//in template (default.php) | |
{name} --> Edgar | |
//numbers: | |
//in main.php | |
Breeze::set_var('age', 26); |
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 | |
#example the helper functions in Breeze | |
/** | |
* Path the Wordpress : /home/sites/kasabian | |
* Url the Worspress : kasabian.local | |
* Module name: fire | |
* Template name : big | |
* |
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 | |
echo form_input('username'); | |
echo form_textarea(array('name'=>'comentario','cols'=>5)); | |
?> |
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
$this->load->helper('kses'); |
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
<b> | |
<i> |
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
$nueva_cadena=kses($cadena_con_tags,$tags_pemitidos); |
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
$tags_permitidos = array('b' => array(), 'i' => array()); |
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 | |
$tags_permitidos = array('b' => array(), | |
'i' => array(), | |
'a' => array('href' => array('minlen' => 3, 'maxlen' => 50), | |
'title' => array('valueless' => 'n')), | |
'p' => array('align' => 1, | |
'dummy' => array('valueless' => 'y')), | |
'font' => array('size' => | |
array('minval' => 4, 'maxval' => 20)), | |
'br' => array()); |
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 phpinfo(); ?> |
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 | |
/** | |
* Zend Framework Loader | |
* | |
* Put the 'Zend' folder (unpacked from the Zend Framework package, under 'Library') | |
* in CI installation's 'application/libraries' folder | |
* You can put it elsewhere but remember to alter the script accordingly | |
* | |
* Usage: | |
* 1) $this->load->library('zend', 'Zend/Package/Name'); |
OlderNewer