本文整理汇总了PHP中ver函数的典型用法代码示例。如果您正苦于以下问题:PHP ver函数的具体用法?PHP ver怎么用?PHP ver使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ver函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: array
<?php
include __DIR__ . '/baseRules.php';
$rules['summary'] = array('_method' => array('post' => array('ver', 'token', 'baby_id')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'));
$rules['list'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'since_date', 'count')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'since_date' => array('required' => 0, 'length' => 10, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11085'), 'count' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11111'));
$rules['fore'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'province', 'city', 'City', 'district')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'province' => array('required' => 0, 'length' => array(1, 50), 'filters' => 'trim', 'msg' => '11087'), 'city' => array('required' => 0, 'filters' => 'trim', 'msg' => '11087'), 'City' => array('required' => 0, 'filters' => 'trim', 'msg' => '11087'), 'district' => array('required' => 0, 'filters' => 'trim', 'msg' => '11087'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:7,代码来源:healthyRules.php
示例2: array
<?php
include __DIR__ . '/baseRules.php';
$rules['today'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'since_id', 'max_id', 'count')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'since_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/'), 'max_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/'), 'count' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11111'));
$rules['all'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'since_id', 'max_id', 'count')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'since_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/'), 'max_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/'), 'count' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11111'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:6,代码来源:rankRules.php
示例3: array
<?php
include __DIR__ . '/baseRules.php';
$rules['index'] = array('_method' => array('post' => array('ver', 'token')), 'ver' => ver(), 'token' => token());
$rules['disturb'] = array('_method' => array('post' => array('ver', 'token', 'disturb', 'start', 'end')), 'ver' => ver(), 'token' => token(), 'disturb' => array('required' => '1', 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11060'), 'start' => array('required' => '0', 'between' => array(0, 24), 'filters' => 'trim', 'msg' => '11061'), 'end' => array('required' => '0', 'between' => array(0, 24), 'filters' => 'trim', 'msg' => '11061'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:6,代码来源:myselfRules.php
示例4: foreach
<body>
<h1>Productos</h1>
<h3><a href="<?php
echo WEB_FOLDER . "productos/nuevo";
?>
">Nuevo producto</h3>
<div name="productos">
<?php
foreach ($productos as $prod) {
?>
<div name="<?php
echo $prod->url;
?>
">
<p><?php
echo alink(ver($prod), $prod->nombre);
?>
- <?php
echo $prod->precio;
?>
</p>
<p><?php
echo $prod->stock;
?>
en stock</p>
<p>¿<?php
echo alink(editar($prod), "Editar");
?>
o <?php
echo alink(borrar($prod), "borrar");
?>
开发者ID:ET37,项目名称:Ortega-Productos-ABM,代码行数:31,代码来源:listar.php
示例5: verficarEmailCdastrado
public function verficarEmailCdastrado($email)
{
// conectar();
return ver('usuarios', 'email', "email = '{$email}' and ativo = 't'");
}
开发者ID:jschneiders,项目名称:quantum-ff-club-site,代码行数:5,代码来源:usuario.class.php
示例6: numeroRegistros
<?php
namespace validator;
include_once "../bootstrap.php";
include_once "banco.php";
include_once "DataValidator.php";
$inscritos = numeroRegistros("workshops", "id", "workshop = '" . addslashes(utf8_decode($_POST['workshop'])) . "'");
$errors = 0;
if ($inscritos < 23) {
$validate = new Data_Validator();
$validate->set("email", $_POST['email'])->is_email()->set("nome", $_POST['nome'])->is_required()->min_length(5, true);
$existe = ver("workshops", "id", "email ='" . addslashes(utf8_decode($_POST['email'])) . "' and workshop = '" . addslashes(utf8_decode($_POST['workshop'])) . "'");
if (!$existe) {
/*$faltou = ver("workshops", "presente", "email ='".addslashes(utf8_decode($_POST['email']))."' and workshop = 'JS101' and presente=0");
if(!$faltou){*/
$errors = $validate->get_errors_html();
if ($validate->validate()) {
$dados['workshop'] = addslashes(utf8_decode($_POST['workshop']));
$dados['email'] = addslashes(utf8_decode($_POST['email']));
$dados['nome'] = addslashes(utf8_decode($_POST['nome']));
$dados['presente'] = 0;
inserir("workshops", $dados);
}
//}else $errors = "<p>Você se inscreveu para o primeiro e não compareceu, infelizmente não é possível se inscrever agora, mas você pode tentar novamente amanhã(9/10).</p>";
} else {
$errors = "<p>Email já cadastrado!</p>";
}
} else {
$errors = "<p>Todas as vagas já foram preenchidas, mas não se preocupe daqui a pouco vai ter outro :)</p>";
开发者ID:jschneiders,项目名称:quantum-ff-club-site,代码行数:31,代码来源:cadastrar.php
示例7: array
<?php
include __DIR__ . '/baseRules.php';
$rules['login'] = array('_method' => array('post' => array('ver', 'access_token', 'deviceToken', 'plat', 'type', 'u_tags')), 'ver' => ver(), 'access_token' => array('required' => 1, 'filters' => 'trim', 'msg' => '11051'), 'deviceToken' => array('required' => 0, 'length' => array(14, 64), 'regex' => '/^[a-zA-Z0-9]+$/', 'filters' => 'trim', 'msg' => '11051'), 'plat' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11051'), 'type' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11111'), 'u_tags' => array('required' => 1, 'filters' => 'trim', 'length' => array(10, 32), 'msg' => '11051'));
$rules['reg'] = array('_method' => array('post' => array('ver', 'mobi', 'pass', 'session', 'deviceToken', 'u_tags', 'plat', 'name', 'pic', 'type', 'cver', 'captcha')), 'ver' => ver(), 'mobi' => mobile(), 'pass' => password(), 'session' => array('required' => 1, 'filters' => 'trim', 'msg' => '11111'), 'deviceToken' => array('required' => 1, 'length' => array(14, 64), 'regex' => '/^[a-zA-Z0-9]+$/', 'filters' => 'trim', 'msg' => '10010'), 'u_tags' => array('required' => 1, 'filters' => 'trim', 'length' => array(10, 32), 'msg' => '11051'), 'plat' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11051'), 'name' => array('required' => 1, 'length' => array(1, 12), 'filters' => 'trim', 'msg' => '10011'), 'pic' => array('required' => 0, 'filters' => 'trim', 'msg' => '10011'), 'type' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11111'), 'cver' => array('required' => 0, 'filters' => 'trim', 'msg' => '11111'), 'captcha' => captcha());
$rules['bind'] = array('_method' => array('post' => array('ver', 'token', 'access_token', 'plat', 'u_tags')), 'ver' => ver(), 'token' => token(), 'access_token' => array('required' => 1, 'filters' => 'trim', 'msg' => '11051'), 'plat' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11051'), 'u_tags' => array('required' => 1, 'filters' => 'trim', 'length' => array(10, 32), 'msg' => '11051'));
$rules['del'] = array('_method' => array('post' => array('ver', 'token', 'plat')), 'ver' => ver(), 'token' => token(), 'plat' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '11051'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:8,代码来源:oauthRules.php
示例8: array
<?php
include __DIR__ . '/baseRules.php';
$rules['captcha'] = array('_method' => array('post' => array('ver', 'mobi', 'captcha')), 'ver' => ver(), 'token' => mobile(), 'captcha' => captcha());
$rules['reset'] = array('_method' => array('post' => array('session', 'passnew')), 'session' => array('required' => 1, 'filters' => 'trim', 'msg' => '11111'), 'pass' => password());
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:6,代码来源:lostpwdRules.php
示例9: array
<?php
include __DIR__ . '/baseRules.php';
$rules['index'] = array('_method' => array('post' => array('ver', 'app_ver', 'type')), 'ver' => ver(), 'app_ver' => array('required' => 1, 'length' => array(1, 10), 'regex' => '/^[\\d|\\.]+$/', 'filters' => 'trim', 'msg' => '66666'), 'type' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '66666'));
$rules['hardware'] = array('_method' => array('post' => array('ver', 'token', 'time')), 'ver' => ver(), 'token' => token(), 'time' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11085'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:6,代码来源:verRules.php
示例10: array
<?php
include __DIR__ . '/baseRules.php';
$rules['index'] = array('_method' => array('post' => array('ver', 'token')), 'ver' => ver(), 'token' => token());
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:5,代码来源:checkinRules.php
示例11: array
<?php
include __DIR__ . '/baseRules.php';
$rules['list'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'count')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'count' => array('required' => 1, 'filters' => 'trim', 'msg' => '11111'));
$rules['gua'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'fam_id')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'fam_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10079'));
$rules['add'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'name', 'ishost', 'mobi')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'name' => array('required' => 1, 'filters' => 'trim', 'length' => array(1, 12), 'msg' => '10078'), 'ishost' => array('required' => 1, 'filters' => 'trim', 'range' => array(3, 5), 'msg' => '11111'), 'mobi' => array('required' => 0, 'length' => 11, 'filters' => 'trim', 'regex' => '/^1[3,4,5,7,8]+\\d{9}$/', 'msg' => '10002'));
$rules['del'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'fam_id', 'mobi')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'fam_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10079'), 'mobi' => array('required' => 0, 'length' => 11, 'filters' => 'trim', 'regex' => '/^1[3,4,5,7,8]+\\d{9}$/', 'msg' => '10002'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:8,代码来源:familyRules.php
示例12: switch
<td width="5" valign="top"></td><td></td><td width="5"></td>
</tr>
<tr height="600" valign="top">
<td>
<!--Todo el contenido de cada página--->
<?php
switch ($op) {
case "listado":
listado($fechai, $fechaf, $proy_add, $proy_del, $aplica_oes, $buscar, $filtros, $stock, $pagina, $f_material, $f_sub, $f_txs, $bandera);
break;
case "ver":
ver($fechai, $fechaf, $proy_add, $proy_del, $aplica_oes, $buscar, $filtros, $stock, $pagina, $f_material, $f_sub, $f_txs, $pag, $bandera);
break;
case "guardar":
guardar($sap, $pag);
ver($fechai, $fechaf, $proy_add, $proy_del, $aplica_oes, $buscar, $filtros, $stock, $pagina, $f_material, $f_sub, $f_txs, $pag + 1, 1);
break;
default:
listado($fechai, $fechaf, $proy_add, $proy_del, $aplica_oes, $buscar, $filtros, $stock, $pagina, $f_material, $f_sub, $f_txs, $bandera);
break;
}
?>
<!-- -->
<br><br><br></td>
</tr>
</table>
<?php
include "../footer.php";
function listado($fechai, $fechaf, $proy_add, $proy_del, $aplica_oes, $buscar, $filtros, $stock, $pagina, $f_material, $f_sub, $f_txs, $bandera)
{
开发者ID:BrutalAndSick,项目名称:scrap,代码行数:31,代码来源:rep_vertical.php
示例13: array
<?php
include __DIR__ . '/baseRules.php';
$rules['index'] = array('_method' => array('post' => array('ver', 'token', 'baby_id', 'lasttime', 'times')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'lasttime' => array('required' => 0, 'length' => 10, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11111'), 'times' => array('required' => 0, 'length' => 10, 'filters' => 'trim', 'msg' => '11111'));
$rules['day'] = array('_method' => array('post' => array('ver', 'token', 'locus_id', 'times', 'type', 'baby_id')), 'ver' => ver(), 'token' => token(), 'locus_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'times' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10068'), 'type' => array('required' => 1, 'filters' => 'trim', 'range' => array('-1', '0', '1'), 'msg' => '11111'), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'));
$rules['upload'] = array('_method' => array('post' => array('ver', 'token', 'locus_id', 'li_id')), 'ver' => ver(), 'token' => token(), 'locus_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'li_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'));
$rules['delpic'] = array('_method' => array('post' => array('ver', 'token', 'pic_id')), 'ver' => ver(), 'token' => token(), 'locus_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'), 'li_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:8,代码来源:locateRules.php
示例14: array
<?php
include __DIR__ . '/baseRules.php';
$rules['android'] = array('_method' => array('post' => array('ver', 'mode', 'time')), 'ver' => ver(), 'mode' => array('required' => 0, 'filters' => 'trim', 'msg' => '66666'), 'time' => array('required' => 1, 'filters' => 'trim', 'msg' => '10078'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:5,代码来源:logsRules.php
示例15: array
<?php
include __DIR__ . '/baseRules.php';
$rules['binddev'] = array('_method' => array('post' => array('ver', 'token', 'baby_id')), 'ver' => ver(), 'token' => token(), 'baby_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10021'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:5,代码来源:pushRules.php
示例16: ver
<?php
/*
Write a function that receives a character and prints if the character is a digit between 0 and 9.
Write a function that receives one string and returns its length.
Write a function that receives two numbers a and b and returns the number a raised to the power of b.
Write a function that receives one character and returns true if the character is a vowel.
Write a function thar receives one number and returns if the number is odd or even.
Write a function that receives one string and returns the string in uppercase.
Write a function that prints the default timezone used in PHP.
Write a function that prints the sunrise and sunset time for the default location.
*/
function ver($a)
{
echo $a . "<br>";
}
ver("HOLA");
//$a es hola
//-------------------------
function caracter($a)
{
if ($a > 0 && $a < 9) {
echo "El numero está entre 0 y 9" . "<br>";
} else {
echo "El numero NO esta entre 0 y 9" . "<br>";
}
}
caracter(2);
//-------------------------
function cadena($letra)
{
return strlen($letra);
开发者ID:a13YasminCP,项目名称:www.yasmincp.local,代码行数:31,代码来源:functions.php
示例17: array
<?php
include __DIR__ . '/baseRules.php';
$rules['captcha'] = array('_method' => array('post' => array('ver', 'mobi', 'type', 'baby_id', 'token')), 'ver' => ver(), 'mobi' => array('required' => 0, 'length' => 11, 'filters' => 'trim', 'regex' => '/^1[3,4,5,7,8]+\\d{9}$/', 'msg' => '10002'), 'type' => array('required' => 1, 'range' => array(1, 3, 5, 7, 9, 11), 'filters' => 'trim', 'msg' => '11111'), 'baby_id' => array('required' => 0, 'regex' => '/^\\d*$/', 'filters' => 'trim', 'msg' => '11111'), 'token' => array('required' => 0, 'filters' => 'trim', 'length' => 32, 'msg' => '00000'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:5,代码来源:mobileRules.php
示例18: array
<?php
include __DIR__ . '/baseRules.php';
$rules['cats'] = array('_method' => array('post' => array('ver', 'token')), 'ver' => ver(), 'token' => token());
$rules['list'] = array('_method' => array('post' => array('ver', 'token', 'tc_id')), 'ver' => ver(), 'token' => token(), 'tc_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11021'));
$rules['add'] = array('_method' => array('post' => array('ver', 'token', 't_id')), 'ver' => ver(), 'token' => token(), 't_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11021'));
$rules['complete'] = array('_method' => array('post' => array('ver', 'token', 't_id')), 'ver' => ver(), 'token' => token(), 't_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11021'));
$rules['del'] = array('_method' => array('post' => array('ver', 'token', 't_id')), 'ver' => ver(), 'token' => token(), 't_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11021'));
$rules['user'] = array('_method' => array('post' => array('ver', 'token', 'count', 'since_time', 'max_time')), 'ver' => ver(), 'token' => token(), 'count' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11021'), 'since_time' => array('required' => 0, 'length' => 10, 'filters' => 'trim', 'regex' => '/^\\d+$/'), 'max_time' => array('required' => 0, 'length' => 10, 'filters' => 'trim', 'regex' => '/^\\d+$/'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:10,代码来源:tasksRules.php
示例19: array
<?php
include __DIR__ . '/baseRules.php';
$rules['add'] = array('_method' => array('post' => array('ver', 'token', 'locus_id')), 'ver' => ver(), 'token' => token(), 'locus_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10062'));
$rules['del'] = array('_method' => array('post' => array('ver', 'token', 'locus_id')), 'ver' => ver(), 'token' => token(), 'locus_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '66666'));
$rules['list'] = array('_method' => array('post' => array('ver', 'token', 'locus_id', 'count', 'max_id', 'since_id')), 'ver' => ver(), 'token' => token(), 'locus_id' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10062'), 'count' => array('required' => 1, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '11111'), 'since_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '66666'), 'max_id' => array('required' => 0, 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '66666'));
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:7,代码来源:praisesRules.php
示例20: array
<?php
include __DIR__ . '/baseRules.php';
$rules['add'] = array('_method' => array('post' => array('ver', 'token', 'nick', 'sex', 'birthday', 'shoe_qr', 'name', 'weight', 'height')), 'ver' => ver(), 'token' => token(), 'nick' => array('required' => 1, 'length' => array(1, 12), 'filters' => 'trim', 'msg' => '10011'), 'sex' => array('required' => 1, 'range' => array(1, 3), 'filters' => 'trim', 'msg' => '10012'), 'birthday' => array('required' => 1, 'length' => array('9', '10'), 'filters' => 'trim', 'regex' => '/^\\d+$/', 'msg' => '10013'), 'shoe_qr' => array('required' => 1, 'length' => 16, 'filters' => 'trim', 'msg' => '11001'), 'name' => array('required' => 1, 'length' => array(1, 12), 'filters' => 'trim', 'msg' => '10011'), 'weight' => array('required' => 1, 'filters' => 'trim', 'between' => array(5000, 200000), 'msg' => '10013'), 'height' => array('required' => 1, 'filters' => 'trim', 'between' => array(40, 200), 'msg' => '10013'));
$rules['checkuser'] = array('_method' => array('post' => array('ver', 'token')), 'ver' => ver(), 'token' => token());
return $rules;
开发者ID:nicklos17,项目名称:appserver,代码行数:6,代码来源:unionRules.php
注:本文中的ver函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论