*
* @return bool
* true if valid date
- * @static
*/
public static function currentDate($date, $monthRequired = TRUE) {
$config = CRM_Core_Config::singleton();
*
* @return bool
* true if valid date
- * @static
*/
public static function mysqlDate($date) {
// allow date to be null
return TRUE;
}
- // allow between 4-6 digits as postal code since india needs 6 and US needs 5 (or
- // if u disregard the first 0, 4 (thanx excel!)
- // FIXME: we need to figure out how to localize such rules
/**
+ * allow between 4-6 digits as postal code since india needs 6 and US needs 5 (or
+ * if u disregard the first 0, 4 (thanx excel!)
+ * FIXME: we need to figure out how to localize such rules
* @param $value
*
* @return bool
*
* @return boolean
* true if object exists
- * @static
*/
public static function objectExists($value, $options) {
$name = 'name';
*
* @return bool
* true if valid date
- * @static
*/
public static function qfDate($date) {
$config = CRM_Core_Config::singleton();