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
import org.springframework.security.core.Authentication | |
import org.springframework.security.core.context.SecurityContextHolder | |
class AuthFilters { | |
def springSecurityService | |
def dataSource | |
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 class extend database class | |
* It contains all method for managing | |
* The guest activities. | |
* | |
* @author Akyoo | |
*/ | |
require_once 'database.php'; |
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 | |
function function_name($parameters, $param2, $para3 = ""){ | |
// what you want to do with the parameters entered | |
if(strlen($para1 !== 0)){ | |
echo "Has ".$para1." Characters"; | |
} | |
// the third parameter is option you can choose to supply | |
// the value or leave it | |
// The other parameters can be defined in anyway that suites you |