Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $_format['check_function_simple']['my_new_check'] = function($arg){
- if(!$arg['value'])
- return array('error' => 'require');
- else
- return true;
- };
- $_format['check_function_sql']['my_new_check'] = function($arg){
- // тут проврека для sql в $arg['sql'] передается sql звпрос
- };
Add Comment
Please, Sign In to add comment