Skip to content
This repository

adding missing dots #413

Merged
merged 1 commit into from over 1 year ago

2 participants

Mark José Lorenzo Rodríguez
Mark
Collaborator

it seems the dots are missing. are they correct this way? I don't know for sure.

José Lorenzo Rodríguez lorenzo merged commit 27727b9 into from October 23, 2012
José Lorenzo Rodríguez lorenzo closed this October 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Oct 23, 2012
Mark adding missing dots 369f58c
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  en/models/data-validation.rst
4  en/models/data-validation.rst
Source Rendered
@@ -1267,6 +1267,8 @@ Localized Validation
1267 1267
 The validation rules phone() and postal() will pass off any country prefix they do not know how to handle to another class
1268 1268
 with the appropriate name. For example if you lived in the Netherlands you would create a class like
1269 1269
 
  1270
+    ::
  1271
+
1270 1272
         <?php
1271 1273
         class NlValidation {
1272 1274
             public static function phone($check) {
@@ -1278,7 +1280,7 @@ with the appropriate name. For example if you lived in the Netherlands you would
1278 1280
         }
1279 1281
 
1280 1282
 This file could be placed in ``APP/Validation/`` or ``App/PluginName/Validation/``, but must be imported via App::uses() before attempting to use it.
1281  
-In your model validation you could use your NlValidation class by doing the following:
  1283
+In your model validation you could use your NlValidation class by doing the following::
1282 1284
 
1283 1285
         <?php
1284 1286
         public $validate = array(
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.