Skip to content

Commit b3d2e16

Browse files
committed
Minor typos in function signatures
1 parent ab1633b commit b3d2e16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/documentation/3.5/reference-manual.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Attempts to immediately abort execution of the current controller by throwing an
114114

115115
Returns `true` if the action contains a colon `:` (default - `framework.subsystemDelimiter`). Returns `false` if the action does not contain a colon `:` (default - `framework.subsystemDelimiter`).
116116

117-
### public void addRoute( any routes, string target, any methods = [ ], string statusCode = '' )
117+
### public void function addRoute( any routes, string target, any methods = [ ], string statusCode = '' )
118118

119119
Allows you to programmatically add a new route to FW/1's known route mappings. `routes` can be either an array of route patterns or a single route pattern. `target` is the URL to map those routes to. `methods` is optional and can be either an array of HTTP methods or a single HTTP method for which those routes should be mapped. `statusCode` is optional and if present is prefixed to the target URL (and represents the HTTP status returned when the routes are processed.
120120

@@ -182,7 +182,7 @@ You may only queue up additional controllers prior to the start of controller ex
182182

183183
Just like the implicit controller invocation, `before()`, `item()`, and `after()` are all invoked appropriately if present. If multiple methods are queued up from a single controller, `before()` and `after()` are executed just once (for each controller).
184184

185-
### public string customizeViewOrLayoutPath( struct pathInfo, string type, string fullPath )
185+
### public string function customizeViewOrLayoutPath( struct pathInfo, string type, string fullPath )
186186

187187
By default, this simply returns `fullPath`.
188188

@@ -204,11 +204,11 @@ Disable framework tracing for this request.
204204

205205
Disable layouts for this request. Equivalent to `request.layout = false;`.
206206

207-
### public void fuction enableFrameworkTrace()
207+
### public void function enableFrameworkTrace()
208208

209209
Enable framework tracing for this request.
210210

211-
### public void fuction enableLayout()
211+
### public void function enableLayout()
212212

213213
Enable layouts for this request. Equivalent to `request.layout = true;`.
214214

0 commit comments

Comments
 (0)