Minor cosmetic updates, added label/bool for other themes

This commit is contained in:
Deon George
2013-11-29 11:43:16 +11:00
parent c132357630
commit 319b4b29db
5 changed files with 20 additions and 20 deletions

View File

@@ -10,16 +10,16 @@
* @license http://dev.leenooks.net/license.html
*/
abstract class lnApp_Valid extends Kohana_Valid {
/**
* Checks that a value is not equal to another list of values
*
* @param string $value value
* @param array $list List of Values that shouldnt equal
* @return boolean
*/
public static function not_equal($value, array $list)
{
return ! in_array($value,$list);
}
/**
* Checks that a value is not equal to another list of values
*
* @param string $value value
* @param array $list List of Values that shouldnt equal
* @return boolean
*/
public static function not_equal($value, array $list) {
return ! in_array($value,$list);
}
}
?>