public static function getJValidateInstance() { if (self::$CS == null) { self::$CS = Yii::app()->jformvalidate; } return self::$CS; }