Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

25 rindas
519B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\validators;
  8. /**
  9. * SafeValidator serves as a dummy validator whose main purpose is to mark the attributes to be safe for massive assignment.
  10. *
  11. * @author Qiang Xue <qiang.xue@gmail.com>
  12. * @since 2.0
  13. */
  14. class SafeValidator extends Validator
  15. {
  16. /**
  17. * @inheritdoc
  18. */
  19. public function validateAttribute($model, $attribute)
  20. {
  21. }
  22. }