Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ORM検証(Orm \ Observer_Validation)を使用して検証ルールを拡張するにはどうすればよいですか?
他のクラスで期待されるのと同じ規則に従って、ルールをモデルに追加します_validation_。接頭辞付きの名前を付けます。モデル自体は、使用されるValidationインスタンスに呼び出し可能として自動的に追加されるため、モデルが提供するすべてのルールを使用できます。
_validation_