📄 arrayrule.class.php
字号:
<?php lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php"); /** * \ingroup Validator_Rules * * Implements a rule that checks if the input is a valid php array (used * in cases when we'd like to validate if something coming from $_GET or $_POST * is an array) */ class ArrayRule extends Rule { /** * Initializes the rule */ function ArrayRule() { $this->Rule(); } /** * Validates the data. * * @param value The array that we'd like to validate */ function validate($value) { return( is_array($value)); } }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -