{"sections":[{"categories":["Miscellaneous Functions","Routing"],"name":"Configuration"},{"categories":["Configuration Functions","Flash Functions","Miscellaneous Functions","Pagination Functions","Provides Functions","Rendering Functions"],"name":"Controller"},{"categories":["Date Functions","Miscellaneous Functions","String Functions","UUID Functions"],"name":"Global Helpers"},{"categories":["General Functions","Migration Functions","Table Definition Functions"],"name":"Migrator"},{"categories":["Create Functions","CRUD Functions","Delete Functions","Miscellaneous Functions","Read Functions","Statistics Functions","Update Functions"],"name":"Model Class"},{"categories":["Association Functions","Callback Functions","Miscellaneous Functions","Validation Functions"],"name":"Model Configuration"},{"categories":["Change Functions","CRUD Functions","Error Functions","Miscellaneous Functions"],"name":"Model Object"},{"categories":["Testing Functions"],"name":"Test Model"},{"categories":["Asset Functions","Error Functions","Form Association Functions","Form Object Functions","Form Tag Functions","General Form Functions","Link Functions","Miscellaneous Functions","Sanitization Functions"],"name":"View Helpers"}],"functions":[{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this method to specify which properties can be set through mass assignment.   ","parameters":[{"HINT":"Property name (or list of property names) that are allowed to be altered through mass assignment.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"}],"slug":"model.accessibleProperties","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"accessibleProperties"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"Adds a breadcrumb to the breadcrumb container for display in the layout.","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Breadcrumb to add.","NAME":"breadcrumb"}],"slug":"controller.addBreadcrumb","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"addBreadcrumb"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"adds a column to existing table Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The Name of the table to add the column to","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"The type of the new column","NAME":"columnType"},{"HINT":"THe name of the new column","REQUIRED":"true","TYPE":"string","DEFAULT":"","NAME":"columnName"},{"HINT":"The name of the column which this column should be inserted after","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"afterColumn"},{"HINT":"Name for new reference column, see documentation for references function, required if columnType is 'reference","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"referenceName"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether to allow NULL values","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Character or integer size limit for column","NAME":"limit"},{"REQUIRED":"false","TYPE":"numeric","HINT":"precision value for decimal columns, i.e. number of digits the column can hold","NAME":"precision"},{"REQUIRED":"false","TYPE":"numeric","HINT":"scale value for decimal columns, i.e. number of digits that can be placed to the right of the decimal point (must be less than or equal to precision)","NAME":"scale"}],"slug":"migration.addColumn","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"addColumn"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Adds an error on a specific property.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property you want to add an error on.","NAME":"property"},{"REQUIRED":"true","TYPE":"string","HINT":"The error message (such as \"Please enter a correct name in the form field\" for example).","NAME":"message"},{"HINT":"A name to identify the error by (useful when you need to distinguish one error from another one set on the same object and you don't want to use the error message itself for that).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.addError","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"addError"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Adds an error on a specific property.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The error message (such as \"Please enter a correct name in the form field\" for example).","NAME":"message"},{"HINT":"A name to identify the error by (useful when you need to distinguish one error from another one set on the same object and you don't want to use the error message itself for that).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.addErrorToBase","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"addErrorToBase"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Add a foreign key constraint to the database, using the reference name that was used to create it Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to perform the operation on","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"The reference table name to perform the operation on","NAME":"referenceTable"},{"REQUIRED":"true","TYPE":"string","HINT":"The column name to perform the operation on","NAME":"column"},{"REQUIRED":"true","TYPE":"string","HINT":"The reference column name to perform the operation on","NAME":"referenceColumn"}],"slug":"migration.addForeignKey","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"addForeignKey"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Adds a new MIME type to your Wheels application for use with responding to multiple formats.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"File extension to add.","NAME":"extension"},{"REQUIRED":"true","TYPE":"string","HINT":"Matching MIME type to associate with the file extension.","NAME":"mimeType"}],"slug":"controller.addFormat","tags":{"category":"Miscellaneous Functions","sectionClass":"configuration","section":"Configuration","categoryClass":"miscellaneousfunctions"},"name":"addFormat"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Add database index on a table column Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to perform the index operation on","NAME":"table"},{"REQUIRED":"false","TYPE":"string","HINT":"One or more column names to index, comma separated","NAME":"columnNames"},{"HINT":"If true will create a unique index constraint","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"unique"},{"HINT":"The name of the index to add: Defaults to table name + underscore + first column name","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"indexName"}],"slug":"migration.addIndex","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"addIndex"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Adds a record to a table Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to add the record to","NAME":"table"}],"slug":"migration.addRecord","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"addRecord"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Add a foreign key constraint to the database, using the reference name that was used to create it Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to perform the operation on","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"The reference table name to perform the operation on","NAME":"referenceName"}],"slug":"migration.addReference","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"addReference"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[],"slug":"test.afterAll","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"afterAll"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after a new object is created.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterCreate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterCreate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an object is deleted.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterDelete","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterDelete"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an existing object has been initialized (which is usually done with the <code>findByKey</code> or <code>findOne</code> method).   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterFind","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterFind"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an object has been initialized.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterInitialization","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterInitialization"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after a new object has been initialized (which is usually done with the <code>new</code> method).   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterNew","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterNew"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an object is saved.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterSave","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterSave"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an existing object is updated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterUpdate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterUpdate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an object is validated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterValidation","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterValidation"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after a new object is validated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterValidationOnCreate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterValidationOnCreate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called after an existing object is validated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.afterValidationOnUpdate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"afterValidationOnUpdate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Gets all associated errors recursively   ","parameters":[{"REQUIRED":"false","TYPE":"array","DEFAULT":"[runtime expression]","NAME":"seenErrors"}],"slug":"model.allAssociationErrors","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"allAssociationErrors"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Returns a struct detailing all changes that have been made on the object but not yet saved to the database.   ","parameters":[],"slug":"model.allChanges","tags":{"category":"Change Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"changefunctions"},"name":"allChanges"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Returns an array of all the errors on the object.   ","parameters":[{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeAssociations"},{"HINT":"is a private argument not meant to be used by the user, the function uses this to ensure circular dependency avoidance. It does this by storing instances of models that are associations, and not checking associations of those instances because they have already been checked.","REQUIRED":"false","TYPE":"array","DEFAULT":"[runtime expression]","NAME":"seenErrors"}],"slug":"model.allErrors","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"allErrors"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not the logged in user can process a given client based on their warning status.","parameters":[{"REQUIRED":"true","HINT":"Logged in user.","NAME":"loggedInUser"},{"REQUIRED":"true","TYPE":"query","HINT":"Warnings for client.","NAME":"warnings"},{"REQUIRED":"true","TYPE":"query","HINT":"Statuses for client.","NAME":"clientStatuses"}],"slug":"controller.allowClientProcessing","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"allowClientProcessing"},{"availableIn":["migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"Used internally by Migrator to provide feedback to the GUI and CLI about completed DB operations Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"message"}],"slug":"migration.announce","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"announce"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns phone service field with class set on Other.","parameters":[],"slug":"controller.applicationRequestPhoneServiceSelect","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"applicationRequestPhoneServiceSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns submitter's name or 'Website' if blank.","parameters":[{"REQUIRED":"true","HINT":"Application request record or object.","NAME":"applicationRequest"}],"slug":"controller.applicationRequestSubmitterFor","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"applicationRequestSubmitterFor"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Called from a test function. If expression evaluates to false, record a failure against the test.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"String containing CFML expression to evaluate.","NAME":"expression"}],"slug":"test.assert","tags":{"category":"Testing Functions","sectionClass":"testmodel","section":"Test Model","categoryClass":"testingfunctions"},"name":"assert"},{"availableIn":["attachments"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns an image tag built for attachments. Otherwise, follows normal <code>imageTag()</code> behavior.","parameters":[{"HINT":"The file name of the image if it's availabe in the local file system (i.e. ColdFusion will be able to access it). Provide the full URL if the image is on a remote server.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"source"},{"REQUIRED":"false","DEFAULT":"","HINT":"Pass an attachment property struct here to use an attachment. Can be a struct or JSON-formatted.","NAME":"attachment"},{"REQUIRED":"false","DEFAULT":"","HINT":"Pass an attachment style name here to use a particular attachment's style.","NAME":"attachmentStyle"}],"slug":"attachments.attachmentImageTag","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"attachmentImageTag"},{"availableIn":["attachments"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Creates a link to an attachment uploaded via the Attachments plugin. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.","parameters":[{"HINT":"The text content of the link.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"text"},{"REQUIRED":"false","DEFAULT":"","HINT":"Pass an attachment property struct here to use an attachment. Can be a struct or JSON-formatted.","NAME":"attachment"},{"REQUIRED":"false","DEFAULT":"","HINT":"Pass an attachment style name here to use a particular attachment's style.","NAME":"attachmentStyle"}],"slug":"attachments.attachmentLinkTo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"attachmentLinkTo"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the raw CSRF authenticity token   ","parameters":[],"slug":"controller.authenticityToken","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"authenticityToken"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a hidden form field containing a new authenticity token.   ","parameters":[],"slug":"controller.authenticityTokenField","tags":{"category":"General Form Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"generalformfunctions"},"name":"authenticityTokenField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Turns all URLs and email addresses into links.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The text to create links in.","NAME":"text"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to link URLs, email addresses or both. Possible values are: `all` (default), `URLs` and `emailAddresses`.","default":"all","NAME":"link"},{"HINT":"Should we auto-link relative urls.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"relative"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.autoLink","tags":{"category":"Link Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"linkfunctions"},"name":"autoLink"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Whether or not to enable default validations for this model.   ","parameters":[{"REQUIRED":"true","TYPE":"boolean","HINT":"Set to `true` or `false`.","NAME":"value"}],"slug":"model.automaticValidations","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"automaticValidations"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Calculates the average value for a given property. Uses the SQL function <code>AVG</code>. If no records can be found to perform the calculation on you can use the <code>ifNull</code> argument to decide what should be returned.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the property to calculate the average for.","NAME":"property"},{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"REQUIRED":"false","TYPE":"boolean","HINT":"When `true`, `AVG` will be performed only on each unique instance of a value, regardless of how many times the value occurs.","default":false,"NAME":"distinct"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"any","HINT":"The value returned if no records are found. Common usage is to set this to `0` to make sure a numeric value is always returned instead of a blank string.","default":"","NAME":"ifNull"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `GROUP BY` clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","NAME":"group"}],"slug":"model.average","tags":{"category":"Statistics Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"statisticsfunctions"},"name":"average"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[],"slug":"test.beforeAll","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"beforeAll"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before a new object is created.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeCreate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeCreate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before an object is deleted.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeDelete","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeDelete"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before an object is saved.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeSave","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeSave"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before an existing object is updated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeUpdate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeUpdate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before an object is validated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeValidation","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeValidation"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before a new object is validated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeValidationOnCreate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeValidationOnCreate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called before an existing object is validated.   ","parameters":[{"HINT":"Method name or list of method names that should be called when this callback event occurs in an object's life cycle (can also be called with the `method` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"}],"slug":"model.beforeValidationOnUpdate","tags":{"category":"Callback Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"callbackfunctions"},"name":"beforeValidationOnUpdate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Sets up a <code>belongsTo</code> association between this model and the specified one. Use this association when this model contains a foreign key referencing another model.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Gives the association a name that you refer to when working with the association (in the `include` argument to `findAll`, to name one example).","NAME":"name"},{"HINT":"Name of associated model (usually not needed if you follow Wheels conventions because the model name will be deduced from the `name` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"modelName"},{"HINT":"Foreign key property name (usually not needed if you follow Wheels conventions since the foreign key name will be deduced from the `name` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"foreignKey"},{"HINT":"Column name to join to if not the primary key (usually not needed if you follow Wheels conventions since the join key will be the table's primary key/keys).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"joinKey"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to set the join type when joining associated tables. Possible values are `inner` (for `INNER JOIN`) and `outer` (for `LEFT OUTER JOIN`).","default":"inner","NAME":"joinType"}],"slug":"model.belongsTo","tags":{"category":"Association Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"associationfunctions"},"name":"belongsTo"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds integer columns to table definition.   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","TYPE":"numeric","NAME":"limit"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.bigInteger","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"bigInteger"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds binary columns to table definition.   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.binary","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"binary"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds boolean columns to table definition.   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.boolean","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"boolean"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a button form control.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Content to display inside the button.","default":"Save changes","NAME":"content"},{"REQUIRED":"false","TYPE":"string","HINT":"The type for the button: `button`, `reset`, or `submit`.","default":"submit","NAME":"type"},{"REQUIRED":"false","TYPE":"string","HINT":"The value of the button when submitted.","default":"save","NAME":"value"},{"REQUIRED":"false","TYPE":"string","HINT":"File name of the image file to use in the button form control.","default":"","NAME":"image"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.buttonTag","tags":{"category":"General Form Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"generalformfunctions"},"name":"buttonTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Creates a form containing a single button that submits to the URL. Note: Pass any additional arguments by prefixing them with \"input\" like inputClass, inputRel, and inputId, and the generated tag will also include those values as HTML attributes. The URL is built the same way as the <code>linkTo</code> function.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"The text content of the button.","default":"","NAME":"text"},{"REQUIRED":"false","TYPE":"string","HINT":"If you want to use an image for the button pass in the link to it here (relative from the `images` folder).","default":"","NAME":"image"},{"HINT":"Name of a route that you have configured in `config/routes.cfm`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"route"},{"HINT":"Name of the controller to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"controller"},{"HINT":"Name of the action to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"},{"HINT":"Key(s) to include in the URL.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"key"},{"HINT":"Any additional parameters to be set in the query string (example: `wheels=cool&x=y`). Please note that Wheels uses the `&` and `=` characters to split the parameters and encode them properly for you. However, if you need to pass in `&` or `=` as part of the value, then you need to encode them (and only them), example: `a=cats%26dogs%3Dtrouble!&b=1`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"params"},{"HINT":"Sets an anchor name to be appended to the path.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"anchor"},{"REQUIRED":"false","TYPE":"string","HINT":"The type of `method` to use in the `form` tag (`delete`, `get`, `patch`, `post`, and `put` are the options).","NAME":"method"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If `true`, returns only the relative URL (no protocol, host name or port).","default":true,"NAME":"onlyPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current host.","default":"","NAME":"host"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current protocol.","default":"","NAME":"protocol"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Set this to override the current port number.","default":0,"NAME":"port"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.buttonTo","tags":{"category":"Link Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"linkfunctions"},"name":"buttonTo"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Tells Wheels to cache one or more actions.   ","parameters":[{"HINT":"Action(s) to cache. This argument is also aliased as `actions`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Minutes to cache the action(s) for.","default":60,"NAME":"time"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to tell Wheels that this is a static page and that it can skip running the controller filters (before and after filters set on actions). Please note that the `onSessionStart` and `onRequestStart` events still execute though.","default":false,"NAME":"static"},{"HINT":"List of variables to be evaluated at runtime and included in the cache key so that content can be cached separately.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"appendToKey"}],"slug":"controller.caches","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"caches"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not the current user can modify a service provider visit for a given RDC.","parameters":[{"REQUIRED":"true","TYPE":"numeric","HINT":"RDC ID.","NAME":"rdcId"}],"slug":"controller.canModifyServiceProviderPosterFor","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"canModifyServiceProviderPosterFor"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not the current user can modify a service provider visit for a given RDC.","parameters":[{"REQUIRED":"true","TYPE":"numeric","HINT":"RDC ID.","NAME":"rdcId"}],"slug":"controller.canModifyServiceProviderVisitFor","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"canModifyServiceProviderVisitFor"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Capitalizes all words in the text to create a nicer looking title.   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"text"}],"slug":"controller.capitalize","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"capitalize"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"alters existing table in the database   ","parameters":[{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"addColumns"}],"slug":"tabledefinition.change","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"change"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"changes a column definition Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The Name of the table where the column is","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"THe name of the column","NAME":"columnName"},{"REQUIRED":"true","TYPE":"string","HINT":"The type of the column","NAME":"columnType"},{"HINT":"The name of the column which this column should be inserted after","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"afterColumn"},{"HINT":"Name for reference column, see documentation for references function, required if columnType is 'reference","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"referenceName"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether to allow NULL values","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Character or integer size limit for column","NAME":"limit"},{"REQUIRED":"false","TYPE":"numeric","HINT":"(For decimal type) the maximum number of digits allow","NAME":"precision"},{"REQUIRED":"false","TYPE":"numeric","HINT":"(For decimal type) the number of digits to the right of the decimal point","NAME":"scale"},{"HINT":"if true, attempts to add columns and database will likely throw an error if column already exists","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"addColumns"}],"slug":"migration.changeColumn","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"changeColumn"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the previous value of a property that has changed. Returns an empty string if no previous value exists. Wheels will keep a note of the previous property value until the object is saved to the database.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property to get the previous value for.","NAME":"property"}],"slug":"model.changedFrom","tags":{"category":"Change Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"changefunctions"},"name":"changedFrom"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a list of the object properties that have been changed but not yet saved to the database.   ","parameters":[],"slug":"model.changedProperties","tags":{"category":"Change Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"changefunctions"},"name":"changedProperties"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"TableDefinition","hint":"Creates a table definition object to store modifications to table properties Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the table to set change properties on","NAME":"name"}],"slug":"migration.changeTable","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"changeTable"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds char columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","TYPE":"any","NAME":"limit"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.char","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"char"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns positive/negative/neutral-charged table class name based on whether or not the given number is positive, negative, or neutral.","parameters":[{"REQUIRED":"true","HINT":"Figure to examine.","NAME":"figure"}],"slug":"controller.chargedTableCellFor","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"chargedTableCellFor"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a check box form control based on the supplied name. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","default":1,"NAME":"checkedValue"},{"REQUIRED":"false","TYPE":"string","HINT":"The value of the check box when it's on the unchecked state.","default":0,"NAME":"uncheckedValue"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"after","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"<p class=\"checkbox\">","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.checkBox","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"checkBox"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a check box form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Whether or not the check box should be checked by default.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checked"},{"REQUIRED":"false","TYPE":"string","HINT":"Value of check box in its checked state.","default":1,"NAME":"value"},{"HINT":"The value of the check box when it's on the unchecked state.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"uncheckedValue"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"after","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"<p class=\"checkbox\">","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.checkBoxTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"checkBoxTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Clears cached action metadata for current controller.   ","parameters":[{"HINT":"Optional. A single action or list of actions to clear. If not provided, clears all cached actions of current controller.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"}],"slug":"controller.clearCachableActions","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"clearCachableActions"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Clears all internal knowledge of the current state of the object.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"string false Name of property to clear information for.","NAME":"property"}],"slug":"model.clearChangeInformation","tags":{"category":"Change Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"changefunctions"},"name":"clearChangeInformation"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Clears out all errors set on the object or only the ones set for a specific property or name.   ","parameters":[{"HINT":"Specify a property name here if you want to clear all errors set on that property.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"property"},{"HINT":"Specify an error name here if you want to clear all errors set with that error name.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.clearErrors","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"clearErrors"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns 'Active Equipment' or 'All Equipment' depending on whether or not <code>previous</code> is set to <code>true</code>.","parameters":[{"REQUIRED":"true","TYPE":"boolean","HINT":"Previous value.","NAME":"previous"}],"slug":"controller.clientEquipmentTitle","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"clientEquipmentTitle"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns phone service field with class set on Other.","parameters":[],"slug":"controller.clientIssuePhoneServiceSelect","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"clientIssuePhoneServiceSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns client issue symptom field with class set on Other.","parameters":[],"slug":"controller.clientIssueSymptomSelect","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"clientIssueSymptomSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Displays navigation item for tabbed client record navigation.","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Section.","NAME":"section"},{"HINT":"","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"text"},{"REQUIRED":"true","TYPE":"string","HINT":"Current section.","NAME":"currentSection"},{"REQUIRED":"true","TYPE":"string","HINT":"Route to point link to.","NAME":"route"},{"HINT":"Client key for main `clients` route.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"key"},{"HINT":"Client key for other routes.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"clientKey"}],"slug":"controller.clientNavigationItem","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"clientNavigationItem"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns phone service field with class set on Other.","parameters":[],"slug":"controller.clientPhoneServiceSelect","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"clientPhoneServiceSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for a close icon.","parameters":[],"slug":"controller.closeIcon","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"closeIcon"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"A collection route doesn't require an id because it acts on a collection of objects. photos/search is an example of a collection route, because it acts on (and displays) a collection of objects.   ","parameters":[],"slug":"mapper.collection","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"collection"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds a column to table definition.   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"columnName"},{"REQUIRED":"true","TYPE":"string","NAME":"columnType"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"any","NAME":"limit"},{"REQUIRED":"false","TYPE":"numeric","NAME":"precision"},{"REQUIRED":"false","TYPE":"numeric","NAME":"scale"}],"slug":"tabledefinition.column","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"column"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns a struct with data for the named property.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property to inspect.","NAME":"property"}],"slug":"model.columnDataForProperty","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"columnDataForProperty"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns the column name mapped for the named model property.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property to inspect.","NAME":"property"}],"slug":"model.columnForProperty","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"columnForProperty"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a list of column names in the table mapped to this model. The list is ordered according to the columns' ordinal positions in the database table.   ","parameters":[],"slug":"model.columnNames","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"columnNames"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Returns an array of columns names for the table associated with this class. Does not include calculated properties that will be generated by the Wheels ORM.   ","parameters":[],"slug":"model.columns","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"columns"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"","parameters":[{"REQUIRED":"true","TYPE":"query","NAME":"report"},{"REQUIRED":"true","TYPE":"string","NAME":"columnName"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"appendCount"}],"slug":"controller.columnTotalCount","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"columnTotalCount"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns comment edit link at the end (if the logged in user has permission to edit).","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Comment message.","NAME":"message"},{"REQUIRED":"true","TYPE":"numeric","HINT":"Client key.","NAME":"clientKey"},{"REQUIRED":"true","TYPE":"numeric","HINT":"Comment ID.","NAME":"commentId"},{"REQUIRED":"true","HINT":"Logged in user.","NAME":"currentUser"},{"REQUIRED":"true","HINT":"Action links to append to message.","NAME":"actionLinks"},{"REQUIRED":"false","DEFAULT":"true","HINT":"Whether or not to incude the edit link.","NAME":"showActionLinks"}],"slug":"controller.commentFormat","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"commentFormat"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Pass in another model object to see if the two objects are the same.   ","parameters":[{"REQUIRED":"true","TYPE":"component","NAME":"object"}],"slug":"model.compareTo","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"compareTo"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Set variable patterns to use for matching.   ","parameters":[],"slug":"mapper.constraints","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"constraints"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Returns contact phone number record of a given type.","parameters":[{"REQUIRED":"true","TYPE":"query","HINT":"Contact phone number result.","NAME":"contactPhoneNumbers"},{"REQUIRED":"true","TYPE":"string","HINT":"Contact phone number type title to look for.","NAME":"type"}],"slug":"controller.contactPhoneNumberFor","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"contactPhoneNumberFor"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Used to store a section's output for rendering within a layout. This content store acts as a stack, so you can store multiple pieces of content for a given section.   ","parameters":[{"HINT":"The position in the section's stack where you want the content placed. Valid values are `first`, `last`, or the numeric position.","REQUIRED":"false","TYPE":"any","DEFAULT":"last","NAME":"position"},{"HINT":"Whether or not to overwrite any of the content. Valid values are `false`, `true`, or `all`.","REQUIRED":"false","TYPE":"any","DEFAULT":"false","NAME":"overwrite"}],"slug":"controller.contentFor","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"contentFor"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Includes content for the body section, which equates to the output generated by the view template run by the request.   ","parameters":[],"slug":"controller.contentForLayout","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"contentForLayout"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Considered deprecated as this doesn't conform to RESTful routing principles; Try not to use this.   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"name"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"path"}],"slug":"mapper.controller","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"controller"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Creates and returns a controller object with your own custom name and params. Used primarily for testing purposes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the controller to create.","NAME":"name"},{"HINT":"The params struct (combination of form and URL variables).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"params"}],"slug":"controller.controller","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"controller"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns the number of rows that match the arguments (or all rows if no arguments are passed in). Uses the SQL function <code>COUNT</code>. If no records can be found to perform the calculation on, <code>0</code> is returned.   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `GROUP BY` clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","NAME":"group"}],"slug":"model.count","tags":{"category":"Statistics Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"statisticsfunctions"},"name":"count"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"Returns count of service transactions in a query that may contain multiple records for client services.","parameters":[{"REQUIRED":"true","TYPE":"query","HINT":"Service transaction to examine.","NAME":"serviceTransactions"}],"slug":"controller.countServiceTransactions","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"countServiceTransactions"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"creates the table in the database   ","parameters":[],"slug":"tabledefinition.create","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"create"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Creates a new object, saves it to the database (if the validation permits it), and returns it. If the validation fails, the unsaved object (with errors added to it) is still returned. Property names and values can be passed in either using named arguments or as a struct to the <code>properties</code> argument.   ","parameters":[{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set to `false` to skip validations for this operation.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"validate"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set this to `true` to allow explicit assignment of `createdAt` or `updatedAt` properties","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"allowExplicitTimestamps"}],"slug":"model.create","tags":{"category":"Create Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"createfunctions"},"name":"create"},{"availableIn":["migrator"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Creates a migration file. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"migrationName"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"templateName"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"timestamp","NAME":"migrationPrefix"}],"slug":"migrator.createMigration","tags":{"category":"General Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"generalfunctions"},"name":"createMigration"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"TableDefinition","hint":"Creates a table definition object to store table properties Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The name of the table to create","NAME":"name"},{"HINT":"whether to drop the table before creating it","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"force"},{"HINT":"Whether to create a default primarykey or not","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"id"},{"HINT":"Name of the primary key field to create","REQUIRED":"false","TYPE":"string","DEFAULT":"id","NAME":"primaryKey"}],"slug":"migration.createTable","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"createTable"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"ViewDefinition","hint":"Creates a view definition object to store view properties Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the view to change properties on","NAME":"name"}],"slug":"migration.createView","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"createView"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Include this in your layouts' <code>head</code> sections to include meta tags containing the authenticity token for use by JavaScript AJAX requests needing to <code>POST</code> data to your application.   ","parameters":[],"slug":"controller.csrfMetaTags","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"csrfMetaTags"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","HINT":"Client record to use to determine whether or not the client issues badge should be displayed.","NAME":"client"}],"slug":"controller.customerCareTabTitle","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"customerCareTabTitle"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Cycles through list values every time it is called.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"List of values to cycle through.","NAME":"values"},{"HINT":"Name to give the cycle. Useful when you use multiple cycles on a page.","REQUIRED":"false","TYPE":"string","DEFAULT":"default","NAME":"name"}],"slug":"controller.cycle","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"cycle"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this method to override the data source connection information for this model.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The data source name to connect to.","NAME":"datasource"},{"HINT":"The username for the data source.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"username"},{"HINT":"The password for the data source.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"password"}],"slug":"model.dataSource","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"dataSource"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds date columns to table definition.   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.date","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"date"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Returns arguments to pass to date picker text field limited to a date range.","parameters":[{"HINT":"Minimum start date. Leave blank for none.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"minDate"},{"HINT":"Maximum end date. Leave blank for none.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"maxDate"}],"slug":"controller.datePickerRangeArgs","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"datePickerRangeArgs"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"singleDaysList"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"lastDaysList"},{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"monthsFromCurrent"},{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"yearsFromCurrent"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"customValues"}],"slug":"controller.dateRangeSelectTag","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"dateRangeSelectTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing three <code>select</code> form controls for month, day, and year based on the supplied <code>objectName</code> and <code>property</code>.   ","parameters":[{"HINT":"The variable name of the object to build the form control for.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"objectName"},{"HINT":"The name of the property to use in the form control.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a `hasMany` relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude date `select` tags.","default":"month,day,year","NAME":"order"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the date `select` tags.","default":" ","NAME":"separator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"First year in `select` list.","default":2021.0,"NAME":"startYear"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Last year in `select` list.","default":2031.0,"NAME":"endYear"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in names, numbers, or abbreviations to control display.","default":"names","NAME":"monthDisplay"},{"REQUIRED":"false","TYPE":"string","default":"January,February,March,April,May,June,July,August,September,October,November,December","NAME":"monthNames"},{"REQUIRED":"false","TYPE":"string","default":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","NAME":"monthAbbreviations"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the `select` form control. Pass `true` to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":false,"NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using `aroundLeft` or `aroundRight`.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The `class` name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to false to not combine the select parts into a single DateTime object.","NAME":"combine"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.dateSelect","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"dateSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing three <code>select</code> form controls (month, day, and year) based on a name and value.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Value of option that should be selected by default.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude date `select` tags.","default":"month,day,year","NAME":"order"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the date `select` tags.","default":" ","NAME":"separator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"First year in `select` list.","default":2021.0,"NAME":"startYear"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Last year in `select` list.","default":2031.0,"NAME":"endYear"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in names, numbers, or abbreviations to control display.","default":"names","NAME":"monthDisplay"},{"REQUIRED":"false","TYPE":"string","HINT":"[see:dateSelect].","default":"January,February,March,April,May,June,July,August,September,October,November,December","NAME":"monthNames"},{"REQUIRED":"false","TYPE":"string","HINT":"[see:dateSelect].","default":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","NAME":"monthAbbreviations"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to false to not combine the select parts into a single DateTime object.","NAME":"combine"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.dateSelectTags","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"dateSelectTags"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds datetime columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.datetime","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"datetime"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing six <code>select</code> form controls (three for date selection and the remaining three for time selection) based on the supplied objectName and property.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude date select tags.","default":"month,day,year","NAME":"dateOrder"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the date select tags.","default":" ","NAME":"dateSeparator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Last year in select list.","default":2021.0,"NAME":"startYear"},{"REQUIRED":"false","TYPE":"numeric","default":2031.0,"NAME":"endYear"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in names, numbers, or abbreviations to control display.","default":"names","NAME":"monthDisplay"},{"REQUIRED":"false","TYPE":"string","default":"January,February,March,April,May,June,July,August,September,October,November,December","NAME":"monthNames"},{"REQUIRED":"false","TYPE":"string","default":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","NAME":"monthAbbreviations"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude time select tags.","default":"hour,minute,second","NAME":"timeOrder"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the time select tags.","default":":","NAME":"timeSeparator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show minute 10, 20, 30, etc.","default":1,"NAME":"minuteStep"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show seconds 10, 20, 30, etc","default":1,"NAME":"secondStep"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the first and second set of select tags.","default":" - ","NAME":"separator"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":false,"NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to false to not combine the select parts into a single DateTime object.","NAME":"combine"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether to display the hours in 24 or 12 hour format. 12 hour format has AM/PM drop downs","default":false,"NAME":"twelveHour"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.dateTimeSelect","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"dateTimeSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing six <code>select</code> form controls (three for date selection and the remaining three for time selection) based on a name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Value of option that should be selected by default.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude date select tags.","default":"month,day,year","NAME":"dateOrder"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the date select tags.","default":" ","NAME":"dateSeparator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"First year in `select` list.","default":2021.0,"NAME":"startYear"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Last year in `select` list.","default":2031.0,"NAME":"endYear"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in names, numbers, or abbreviations to control display.","default":"names","NAME":"monthDisplay"},{"REQUIRED":"false","TYPE":"string","HINT":"[see:dateSelect].","default":"January,February,March,April,May,June,July,August,September,October,November,December","NAME":"monthNames"},{"REQUIRED":"false","TYPE":"string","HINT":"[see:dateSelect].","default":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","NAME":"monthAbbreviations"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude time select tags.","default":"hour,minute,second","NAME":"timeOrder"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the time select tags.","default":":","NAME":"timeSeparator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show minute 10, 20, 30, etc.","default":1,"NAME":"minuteStep"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show seconds 10, 20, 30, etc.","default":1,"NAME":"secondStep"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the first and second set of select tags.","default":" - ","NAME":"separator"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to false to not combine the select parts into a single DateTime object.","NAME":"combine"},{"REQUIRED":"false","TYPE":"boolean","HINT":"whether to display the hours in 24 or 12 hour format. 12 hour format has AM/PM drop downs","default":false,"NAME":"twelveHour"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.dateTimeSelectTags","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"dateTimeSelectTags"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a <code>select</code> form control for the days of the week based on the supplied name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"The day that should be selected initially.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"around","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.daySelectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"daySelectTag"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Used to examine an expression Any overloaded arguments get passed to cfdump's attributeCollection   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The expression to examine","NAME":"expression"},{"HINT":"Whether to display the debug call. False returns without outputting anything into the buffer. Good when you want to leave the debug command in the test for later purposes, but don't want it to display","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"display"}],"slug":"test.debug","tags":{"category":"Testing Functions","sectionClass":"testmodel","section":"Test Model","categoryClass":"testingfunctions"},"name":"debug"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds decimal columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"numeric","NAME":"precision"},{"REQUIRED":"false","TYPE":"numeric","NAME":"scale"}],"slug":"tabledefinition.decimal","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"decimal"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a route that matches a URL requiring an HTTP <code>DELETE</code> method. We recommend using this matcher to expose actions that delete database records.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Camel-case name of route to reference when build links and form actions (e.g., `blogPost`).","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"Overrides the URL pattern that will match the route. The default value is a dasherized version of `name` (e.g., a `name` of `blogPost` generates a pattern of `blog-post`).","NAME":"pattern"},{"REQUIRED":"false","TYPE":"string","HINT":"Set `controller##action` combination to map the route to. You may use either this argument or a combination of `controller` and `action`.","NAME":"to"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given controller. This must be passed along with the `action` argument.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given action within the `controller`. This must be passed along with the `controller` argument.","NAME":"action"},{"REQUIRED":"false","TYPE":"string","HINT":"Indicates a subfolder that the controller will be referenced from (but not added to the URL pattern). For example, if you set this to `admin`, the controller will be located at `admin/YourController.cfc`, but the URL path will not contain `admin/`.","NAME":"package"},{"REQUIRED":"false","TYPE":"string","HINT":"If this route is within a nested resource, you can set this argument to `member` or `collection`. A `member` route contains a reference to the resource's `key`, while a `collection` route does not.","NAME":"on"},{"REQUIRED":"false","TYPE":"string","HINT":"Redirect via 302 to this URL when this route is matched. Has precedence over controller/action. Use either an absolute link like `/about/`, or a full canonical link.","NAME":"redirect"}],"slug":"mapper.delete","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"delete"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Deletes the object, which means the row is deleted from the database (unless prevented by a <code>beforeDelete</code> callback). Returns <code>true</code> on successful deletion of the row, <code>false</code> otherwise.   ","parameters":[{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"Set to `false` to permanently delete a record, even if it has a soft delete column.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"softDelete"}],"slug":"model.delete","tags":{"category":"CRUD Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"crudfunctions"},"name":"delete"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"Deletes all records that match the <code>where</code> argument. By default, objects will not be instantiated and therefore callbacks and validations are not invoked. You can change this behavior by passing in <code>instantiate=true</code>. Returns the number of records that were deleted.   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"[see:updateAll].","default":false,"NAME":"instantiate"},{"HINT":"If you want to specify table index hints, pass in a structure of index names using your model names as the structure keys. Eg: `{user=\"idx_users\", post=\"idx_posts\"}`. This feature is only supported by MySQL and SQL Server.","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"useIndex"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"Set to `false` to permanently delete a record, even if it has a soft delete column.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"softDelete"}],"slug":"model.deleteAll","tags":{"category":"Delete Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"deletefunctions"},"name":"deleteAll"},{"availableIn":["singletableinheritance"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"","parameters":[],"slug":"singletableinheritance.deleteAll","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"deleteAll"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Finds the record with the supplied key and deletes it. Returns <code>true</code> on successful deletion of the row, <code>false</code> otherwise.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"Primary key value(s) of the record to fetch. Separate with comma if passing in multiple primary key values. Accepts a string, list, or a numeric value.","NAME":"key"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"Set to `false` to permanently delete a record, even if it has a soft delete column.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"softDelete"}],"slug":"model.deleteByKey","tags":{"category":"Delete Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"deletefunctions"},"name":"deleteByKey"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for a delete icon.","parameters":[],"slug":"controller.deleteIcon","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"deleteIcon"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Gets an object based on conditions and deletes it.   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Maps to the `ORDER` BY clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"order"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"If you want to specify table index hints, pass in a structure of index names using your model names as the structure keys. Eg: `{user=\"idx_users\", post=\"idx_posts\"}`. This feature is only supported by MySQL and SQL Server.","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"useIndex"},{"HINT":"Set to `false` to permanently delete a record, even if it has a soft delete column.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"softDelete"}],"slug":"model.deleteOne","tags":{"category":"Delete Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"deletefunctions"},"name":"deleteOne"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Deobfuscates a value.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The value to deobfuscate.","NAME":"param"}],"slug":"controller.deobfuscateParam","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"deobfuscateParam"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"","parameters":[{"REQUIRED":"false","NAME":"id"},{"REQUIRED":"false","NAME":"status"}],"slug":"controller.discrepancyInvoiceCount","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"discrepancyInvoiceCount"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"","parameters":[{"REQUIRED":"false","NAME":"id"}],"slug":"controller.discrepancyReminderCount","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"discrepancyReminderCount"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","HINT":"Client record to use to determine whether or not the client issues badge should be displayed.","NAME":"client"}],"slug":"controller.discrepancyTabTitle","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"discrepancyTabTitle"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Pass in two dates to this method, and it will return a string describing the difference between them.   ","parameters":[{"REQUIRED":"true","TYPE":"date","HINT":"Date to compare from.","NAME":"fromTime"},{"REQUIRED":"true","TYPE":"date","HINT":"Date to compare to.","NAME":"toTime"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to include the number of seconds in the returned string.","default":false,"NAME":"includeSeconds"}],"slug":"controller.distanceOfTimeInWords","tags":{"category":"Date Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"datefunctions"},"name":"distanceOfTimeInWords"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for a document icon.","parameters":[],"slug":"controller.documentIcon","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"documentIcon"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Migrates down: will be executed when migrating your schema backward Along with up(), these are the two main functions in any migration file Only available in a migration CFC   ","parameters":[],"slug":"migration.down","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"down"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Drops a foreign key constraint from the database Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to perform the operation on","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"the name of the key to drop","NAME":"keyName"}],"slug":"migration.dropForeignKey","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"dropForeignKey"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Drop a foreign key constraint from the database, using the reference name that was used to create it Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to perform the operation on","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"the name of the reference to drop","NAME":"referenceName"}],"slug":"migration.dropReference","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"dropReference"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Drops a table from the database Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the table to drop","NAME":"name"}],"slug":"migration.dropTable","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"dropTable"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"drops a view from the database Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the view to drop","NAME":"name"}],"slug":"migration.dropView","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"dropView"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Generates button tag with edit icon.","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Label for button.","NAME":"label"},{"HINT":"Value for button tag.","REQUIRED":"false","TYPE":"string","DEFAULT":"save","NAME":"value"}],"slug":"controller.editButtonTag","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"editButtonTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for an edit icon.","parameters":[],"slug":"controller.editIcon","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"editIcon"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Call this to end a nested routing block or the entire route configuration. This method is chained on a sequence of routing mapper method calls started by <code>mapper()</code>.   ","parameters":[],"slug":"mapper.end","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"end"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing the closing <code>form</code> tag.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.endFormTag","tags":{"category":"General Form Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"generalformfunctions"},"name":"endFormTag"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"Returns the number of errors this object has associated with it. Specify property or name if you wish to count only specific errors.   ","parameters":[{"HINT":"Specify a property name here if you want to count only errors set on a specific property.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"property"},{"HINT":"Specify an error name here if you want to count only errors set with a specific error name.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.errorCount","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"errorCount"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the error message, if one exists, on the object's property. If multiple error messages exist, the first one is returned.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The variable name of the object to display the error message for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to display the error message for.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the error message.","default":"","NAME":"prependText"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the error message.","default":"","NAME":"appendText"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML element to wrap the error message in.","default":"span","NAME":"wrapperElement"},{"REQUIRED":"false","TYPE":"string","HINT":"CSS `class` to set on the wrapper element.","default":"error-message","NAME":"class"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.errorMessageOn","tags":{"category":"Error Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"errorfunctions"},"name":"errorMessageOn"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a list (<code>ul</code> tag with a default <code>class</code> of <code>error-messages</code>) containing all the error messages for all the properties of the object. Returns an empty string if no errors exist.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The variable name of the object to display error messages for.","NAME":"objectName"},{"REQUIRED":"false","TYPE":"string","HINT":"CSS `class` to set on the `ul` element.","default":"error-messages","NAME":"class"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to show duplicate error messages.","default":true,"NAME":"showDuplicates"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":true,"NAME":"includeAssociations"}],"slug":"controller.errorMessagesFor","tags":{"category":"Error Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"errorfunctions"},"name":"errorMessagesFor"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Returns an array of all errors associated with the supplied property (and error name if passed in).   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Specify the property name to return errors for here.","NAME":"property"},{"HINT":"If you want to return only errors on the property set with a specific error name you can specify it here.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.errorsOn","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"errorsOn"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Returns an array of all errors associated with the object as a whole (not related to any specific property).   ","parameters":[{"HINT":"Specify an error name here to only return errors for that error name.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.errorsOnBase","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"errorsOnBase"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for an Excel icon.","parameters":[],"slug":"controller.excelIcon","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"excelIcon"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Extracts an excerpt from text that matches the first instance of a given phrase.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The text to extract an excerpt from.","NAME":"text"},{"REQUIRED":"true","TYPE":"string","HINT":"The phrase to extract.","NAME":"phrase"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Number of characters to extract surrounding the phrase.","default":100,"NAME":"radius"},{"REQUIRED":"false","TYPE":"string","HINT":"String to replace first and / or last characters with.","default":"...","NAME":"excerptString"}],"slug":"controller.excerpt","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"excerpt"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Executes a raw sql query Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Arbitrary SQL String","NAME":"sql"}],"slug":"migration.execute","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"execute"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Checks if a record exists in the table. You can pass in either a primary key value to the <code>key</code> argument or a string to the <code>where</code> argument. If you don't pass in either of those, it will simply check if any record exists in the table.   ","parameters":[{"REQUIRED":"false","TYPE":"any","HINT":"Primary key value(s) of the record. Separate with comma if passing in multiple primary key values. Accepts a string, list, or a numeric value.","NAME":"key"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","NAME":"where"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","NAME":"includeSoftDeletes"}],"slug":"model.exists","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"exists"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"","parameters":[{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"message"}],"slug":"test.fail","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"fail"},{"availableIn":["attachments"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[],"slug":"attachments.fileField","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"fileField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a file field form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.fileField","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"fileField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a file form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.fileFieldTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"fileFieldTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Returns an array of all the filters set on current controller in the order in which they will be executed.   ","parameters":[{"HINT":"Use this argument to return only before or after filters.","REQUIRED":"false","TYPE":"string","DEFAULT":"all","NAME":"type"}],"slug":"controller.filterChain","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"filterChain"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Tells Wheels to run a function before an action is run or after an action has been run.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Function(s) to execute before or after the action(s).","NAME":"through"},{"HINT":"Whether to run the function(s) before or after the action(s).","REQUIRED":"false","TYPE":"string","DEFAULT":"before","NAME":"type"},{"HINT":"Pass in a list of action names (or one action name) to tell Wheels that the filter function(s) should only be run on these actions.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"only"},{"HINT":"Pass in a list of action names (or one action name) to tell Wheels that the filter function(s) should be run on all actions except the specified ones.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"except"},{"HINT":"Pass in `prepend` to prepend the function(s) to the filter chain instead of appending.","REQUIRED":"false","TYPE":"string","DEFAULT":"append","NAME":"placement"}],"slug":"controller.filters","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"filters"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns records from the database table mapped to this model according to the arguments passed in (use the <code>where</code> argument to decide which records to get, use the <code>order</code> argument to set the order in which those records should be returned, and so on). The records will be returned as either a <code>cfquery</code> result set, an array of objects, or an array of structs (depending on what the <code>returnAs</code> argument is set to).   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `ORDER` BY clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","default":"","NAME":"order"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `GROUP BY` clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","default":"","NAME":"group"},{"HINT":"Determines how the `SELECT` clause for the query used to return data will look. You can pass in a list of the properties (which map to columns) that you want returned from your table(s). If you don't set this argument at all, Wheels will select all properties from your table(s). If you specify a table name (e.g. `users.email`) or alias a column (e.g. `fn AS firstName`) in the list, then the entire list will be passed through unchanged and used in the `SELECT` clause of the query. By default, all column names in tables joined via the `include` argument will be prepended with the singular version of the included table name.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"select"},{"HINT":"Whether to add the `DISTINCT` keyword to your `SELECT` clause. Wheels will, when necessary, add this automatically (when using pagination and a `hasMany` association is used in the `include` argument, to name one example).","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"distinct"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"HINT":"Maximum number of records to retrieve. Passed on to the `maxRows` `cfquery` attribute. The default, `-1`, means that all records will be retrieved.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"-1","NAME":"maxRows"},{"HINT":"If you want to paginate records, you can do so by specifying a page number here. For example, getting records 11-20 would be page number 2 when `perPage` is kept at the default setting (10 records per page). The default, 0, means that records won't be paginated and that the `perPage` and `count` arguments will be ignored.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"page"},{"REQUIRED":"false","TYPE":"numeric","HINT":"When using pagination, you can specify how many records you want to fetch per page here. This argument is only used when the `page` argument has been passed in.","default":10,"NAME":"perPage"},{"HINT":"When using pagination and you know in advance how many records you want to paginate through, you can pass in that value here. Doing so will prevent Wheels from running a `COUNT` query to get this value. This argument is only used when the `page` argument has been passed in.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"count"},{"HINT":"Handle to use for the query. This is used when you're paginating multiple queries and need to reference them individually in the `paginationLinks()` function. It's also used to set the name of the query in the debug output (which otherwise defaults to `userFindAllQuery` for example).","REQUIRED":"false","TYPE":"string","DEFAULT":"query","NAME":"handle"},{"HINT":"If you want to cache the query, you can do so by specifying the number of minutes you want to cache the query for here. If you set it to `true`, the default cache time will be used (60 minutes).","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"string","HINT":"Set to `objects` to return an array of objects, set to `structs` to return an array of structs, set to `query` to return a query result set, or set to 'sql' to return the executed SQL query as a string.","default":"query","NAME":"returnAs"},{"REQUIRED":"false","TYPE":"boolean","HINT":"When `returnAs` is set to `objects`, you can set this argument to `false` to prevent returning objects fetched from associations specified in the `include` argument. This is useful when you only need to include associations for use in the `WHERE` clause only and want to avoid the performance hit that comes with object creation.","default":true,"NAME":"returnIncluded"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"If you want to specify table index hints, pass in a structure of index names using your model names as the structure keys. Eg: `{user=\"idx_users\", post=\"idx_posts\"}`. This feature is only supported by MySQL and SQL Server.","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"useIndex"},{"HINT":"Override the default datasource","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"dataSource"},{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"$limit"},{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"$offset"}],"slug":"model.findAll","tags":{"category":"Read Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"readfunctions"},"name":"findAll"},{"availableIn":["singletableinheritance"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"","parameters":[],"slug":"singletableinheritance.findAll","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"findAll"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns all primary key values in a list. In addition to <code>quoted</code> and <code>delimiter</code> you can pass in any argument that <code>findAll()</code> accepts.   ","parameters":[{"HINT":"Set to `true` to enclose each value in single-quotation marks.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"quoted"},{"HINT":"The delimiter character to separate the list items with.","REQUIRED":"false","TYPE":"string","DEFAULT":",","NAME":"delimiter"}],"slug":"model.findAllKeys","tags":{"category":"Read Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"readfunctions"},"name":"findAllKeys"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Fetches the requested record by primary key and returns it as an object. Returns <code>false</code> if no record is found. You can override this behavior to return a <code>cfquery</code> result set instead, similar to what's described in the documentation for <code>findOne()</code>.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"Primary key value(s) of the record. Separate with comma if passing in multiple primary key values. Accepts a string, list, or a numeric value.","NAME":"key"},{"HINT":"Determines how the `SELECT` clause for the query used to return data will look. You can pass in a list of the properties (which map to columns) that you want returned from your table(s). If you don't set this argument at all, Wheels will select all properties from your table(s). If you specify a table name (e.g. `users.email`) or alias a column (e.g. `fn AS firstName`) in the list, then the entire list will be passed through unchanged and used in the `SELECT` clause of the query. By default, all column names in tables joined via the `include` argument will be prepended with the singular version of the included table name.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"select"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"HINT":"Handle to use for the query. This is used to set the name of the query in the debug output (which otherwise defaults to `userFindOneQuery` for example).","REQUIRED":"false","TYPE":"string","DEFAULT":"query","NAME":"handle"},{"HINT":"If you want to cache the query, you can do so by specifying the number of minutes you want to cache the query for here. If you set it to `true`, the default cache time will be used (60 minutes).","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"string","HINT":"Set to `objects` to return an array of objects, set to `structs` to return an array of structs, set to `query` to return a query result set, or set to 'sql' to return the executed SQL query as a string.","default":"object","NAME":"returnAs"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"Override the default datasource","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"dataSource"}],"slug":"model.findByKey","tags":{"category":"Read Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"readfunctions"},"name":"findByKey"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Fetches the first record ordered by primary key value. Use the <code>property</code> argument to order by something else. Returns a model object.   ","parameters":[{"HINT":"Name of the property to order by. This argument is also aliased as `properties`.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"property"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"ASC","NAME":"$sort"}],"slug":"model.findFirst","tags":{"category":"Read Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"readfunctions"},"name":"findFirst"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Fetches the last record ordered by primary key value. Use the <code>property</code> argument to order by something else. Returns a model object. Formerly known as findLast.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Name of the property to order by. This argument is also aliased as `properties`.","NAME":"property"}],"slug":"model.findLastOne","tags":{"category":"Read Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"readfunctions"},"name":"findLastOne"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Fetches the first record found based on the <code>WHERE</code> and <code>ORDER BY</code> clauses. With the default settings (i.e. the <code>returnAs</code> argument set to <code>object</code>), a model object will be returned if the record is found and the boolean value <code>false</code> if not. Instead of using the <code>where</code> argument, you can create cleaner code by making use of a concept called Dynamic Finders.   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Maps to the `ORDER` BY clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"order"},{"HINT":"Determines how the `SELECT` clause for the query used to return data will look. You can pass in a list of the properties (which map to columns) that you want returned from your table(s). If you don't set this argument at all, Wheels will select all properties from your table(s). If you specify a table name (e.g. `users.email`) or alias a column (e.g. `fn AS firstName`) in the list, then the entire list will be passed through unchanged and used in the `SELECT` clause of the query. By default, all column names in tables joined via the `include` argument will be prepended with the singular version of the included table name.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"select"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"HINT":"Handle to use for the query. This is used to set the name of the query in the debug output (which otherwise defaults to `userFindOneQuery` for example).","REQUIRED":"false","TYPE":"string","DEFAULT":"query","NAME":"handle"},{"HINT":"If you want to cache the query, you can do so by specifying the number of minutes you want to cache the query for here. If you set it to `true`, the default cache time will be used (60 minutes).","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"string","HINT":"Set to `objects` to return an array of objects, set to `structs` to return an array of structs, set to `query` to return a query result set, or set to 'sql' to return the executed SQL query as a string.","default":"object","NAME":"returnAs"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"HINT":"If you want to specify table index hints, pass in a structure of index names using your model names as the structure keys. Eg: `{user=\"idx_users\", post=\"idx_posts\"}`. This feature is only supported by MySQL and SQL Server.","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"useIndex"},{"HINT":"Override the default datasource","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"dataSource"}],"slug":"model.findOne","tags":{"category":"Read Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"readfunctions"},"name":"findOne"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns the value of a specific key in the Flash (or the entire Flash as a struct if no key is passed in).   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"The key to get the value for.","NAME":"key"}],"slug":"controller.flash","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flash"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Deletes everything from the Flash.   ","parameters":[],"slug":"controller.flashClear","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashClear"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"Returns how many keys exist in the Flash.   ","parameters":[],"slug":"controller.flashCount","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashCount"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Deletes a specific key from the Flash. Returns <code>true</code> if the key exists.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The key to delete","NAME":"key"}],"slug":"controller.flashDelete","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashDelete"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Inserts a new key / value into the Flash.   ","parameters":[],"slug":"controller.flashInsert","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashInsert"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not the Flash is empty.   ","parameters":[],"slug":"controller.flashIsEmpty","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashIsEmpty"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Make the entire Flash or specific key in it stick around for one more request.   ","parameters":[{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"key"}],"slug":"controller.flashKeep","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashKeep"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Checks if a specific key exists in the Flash.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The key to check.","NAME":"key"}],"slug":"controller.flashKeyExists","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"flashKeyExists"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Displays a marked-up listing of messages that exist in the Flash.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"The key (or list of keys) to show the value for. You can also use the `key` argument instead for better readability when accessing a single key.","NAME":"keys"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML `class` to set on the `div` element that contains the messages.","default":"flash-messages","NAME":"class"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Includes the `div` container even if the Flash is empty.","default":"false","NAME":"includeEmptyContainer"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.flashMessages","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"flashMessages"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds float columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"allowNull"}],"slug":"tabledefinition.float","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"float"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns link to a given Fusebox <code>fuse.action</code> over at the <code>www</code> subdomain.\"","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"`fuse.action` to link to. (Example: `reports.home`.","NAME":"fuseaction"}],"slug":"controller.fuseboxUrlFor","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"fuseboxUrlFor"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Generates a 36-character UUID compatible with SQL Server's uniqueidentifier.   ","parameters":[],"slug":"controller.generateUUID","tags":{"category":"UUID Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"uuidfunctions"},"name":"generateUUID"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns the current setting for the supplied Wheels setting or the current default for the supplied Wheels function argument.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Variable name to get setting for.","NAME":"name"},{"HINT":"Function name to get setting for.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"functionName"}],"slug":"controller.get","tags":{"category":"Miscellaneous Functions","sectionClass":"configuration","section":"Configuration","categoryClass":"miscellaneousfunctions"},"name":"get"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a route that matches a URL requiring an HTTP <code>GET</code> method. We recommend only using this matcher to expose actions that display data. See <code>post</code>, <code>patch</code>, <code>delete</code>, and <code>put</code> for matchers that are appropriate for actions that change data in your database.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Camel-case name of route to reference when build links and form actions (e.g., `blogPost`).","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"Overrides the URL pattern that will match the route. The default value is a dasherized version of `name` (e.g., a `name` of `blogPost` generates a pattern of `blog-post`).","NAME":"pattern"},{"REQUIRED":"false","TYPE":"string","HINT":"Set `controller##action` combination to map the route to. You may use either this argument or a combination of `controller` and `action`.","NAME":"to"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given controller. This must be passed along with the `action` argument.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given action within the `controller`. This must be passed along with the `controller` argument.","NAME":"action"},{"REQUIRED":"false","TYPE":"string","HINT":"Indicates a subfolder that the controller will be referenced from (but not added to the URL pattern). For example, if you set this to `admin`, the controller will be located at `admin/YourController.cfc`, but the URL path will not contain `admin/`.","NAME":"package"},{"REQUIRED":"false","TYPE":"string","HINT":"If this route is within a nested resource, you can set this argument to `member` or `collection`. A `member` route contains a reference to the resource's `key`, while a `collection` route does not.","NAME":"on"},{"REQUIRED":"false","TYPE":"string","HINT":"Redirect via 302 to this URL when this route is matched. Has precedence over controller/action. Use either an absolute link like `/about/`, or a full canonical link.","NAME":"redirect"}],"slug":"mapper.get","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"get"},{"availableIn":["migrator"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Searches db/migrate folder for migrations. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface   ","parameters":[{"HINT":"Path to Migration Files: defaults to /app/migrator/migrations/","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"path"}],"slug":"migrator.getAvailableMigrations","tags":{"category":"General Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"generalfunctions"},"name":"getAvailableMigrations"},{"availableIn":["migrator"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns current database version. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface   ","parameters":[],"slug":"migrator.getCurrentMigrationVersion","tags":{"category":"General Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"generalfunctions"},"name":"getCurrentMigrationVersion"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[{"REQUIRED":"false","NAME":"discrepancyId"}],"slug":"controller.getDiscrepancyItemsById","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"getDiscrepancyItemsById"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Primarily used for testing to get information about emails sent during the request.   ","parameters":[],"slug":"controller.getEmails","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"getEmails"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Primarily used for testing to get information about files sent during the request.   ","parameters":[],"slug":"controller.getFiles","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"getFiles"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Primarily used for testing to establish whether the current request has performed a redirect.   ","parameters":[],"slug":"controller.getRedirect","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"getRedirect"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[],"slug":"mapper.getRoutes","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"getRoutes"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the table name prefix set for the table.   ","parameters":[],"slug":"model.getTableNamePrefix","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"getTableNamePrefix"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[],"slug":"controller.getTopLevelDomain","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"getTopLevelDomain"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a link to a Google Map for a given address object.","parameters":[{"REQUIRED":"true","HINT":"Address to generate Google Map for.","NAME":"address"},{"REQUIRED":"false","DEFAULT":"Map","HINT":"Link text.","NAME":"text"}],"slug":"controller.googleMapsLinkTo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"googleMapsLinkTo"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"content"}],"slug":"controller.h","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"h"},{"availableIn":["attachments"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"Call this method in your model's <code>init</code> to specify that a property will allow for file uploads (and optionally processing of images).","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property on the model to store JSON data related to the attached file.","NAME":"property"},{"HINT":"Format in which to reference the file as a URL. Use placeholders for `:model`, `:property`, `:id`, `:style`, and `:filename`.","REQUIRED":"false","TYPE":"string","DEFAULT":"/files/attachments/:model/:property/:id/:style/:filename","NAME":"url"},{"HINT":"Format in which to store the file in storage. Use placeholders for `:model`, `:property`, `:id`, `:style`, and `:filename`.","REQUIRED":"false","TYPE":"string","DEFAULT":"/files/attachments/:model/:property/:id/:style/:filename","NAME":"path"},{"HINT":"You may pass in multiple styles. The syntax is `nameOfStyle:widthxheight>`. An actual example would be `small:150x150>,medium:300x300>`. The greater than sign at the end means that the attchments plugin should keep the aspect ratio of the photo uploaded. Styles will only be run on images that your ColdFusion server can do processing on.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"styles"},{"HINT":"Other options include `s3` and `filesystem,s3`.","REQUIRED":"false","TYPE":"string","DEFAULT":"filesystem","NAME":"storage"},{"HINT":"List of file extensions to not allow. This is the default behavior unless overridden by `allowExtensions`. If `allowExtensions` is set, this argument is then ignored.","REQUIRED":"false","TYPE":"string","DEFAULT":"cfm,cfml,cfc,dbm,jsp,asp,aspx,exe,php,cgi,shtml","NAME":"blockExtensions"},{"HINT":"List of file extensions to allow. If this is set, the `blockExtensions` argument is ignored.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"allowExtensions"}],"slug":"attachments.hasAttachment","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"hasAttachment"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if the specified property (or any if none was passed in) has been changed but not yet saved to the database. Will also return <code>true</code> if the object is new and no record for it exists in the database.   ","parameters":[{"HINT":"Name of property to check for change.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"property"}],"slug":"model.hasChanged","tags":{"category":"Change Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"changefunctions"},"name":"hasChanged"},{"availableIn":["jsonproperties"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"","parameters":[],"slug":"jsonproperties.hasChanged","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"hasChanged"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if the object has any errors. You can also limit to only check a specific property or name for errors.   ","parameters":[{"HINT":"Name of the property to check if there are any errors set on.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"property"},{"HINT":"Error name to check if there are any errors set with.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"}],"slug":"model.hasErrors","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"hasErrors"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Sets up a <code>hasMany</code> association between this model and the specified one.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Gives the association a name that you refer to when working with the association (in the `include` argument to `findAll`, to name one example).","NAME":"name"},{"HINT":"Name of associated model (usually not needed if you follow Wheels conventions because the model name will be deduced from the `name` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"modelName"},{"HINT":"Foreign key property name (usually not needed if you follow Wheels conventions since the foreign key name will be deduced from the `name` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"foreignKey"},{"HINT":"Column name to join to if not the primary key (usually not needed if you follow Wheels conventions since the join key will be the table's primary key/keys).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"joinKey"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to set the join type when joining associated tables. Possible values are `inner` (for `INNER JOIN`) and `outer` (for `LEFT OUTER JOIN`).","default":"outer","NAME":"joinType"},{"REQUIRED":"false","TYPE":"string","HINT":"Defines how to handle dependent model objects when you delete an object from this model. `delete` / `deleteAll` deletes the record(s) (`deleteAll` bypasses object instantiation). `remove` / `removeAll` sets the forein key field(s) to `NULL` (`removeAll` bypasses object instantiation).","default":false,"NAME":"dependent"},{"HINT":"Set this argument to create an additional dynamic method that gets the object(s) from the other side of a many-to-many association.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"shortcut"},{"HINT":"Set this argument if you need to override Wheels conventions when using the `shortcut` argument. Accepts a list of two association names representing the chain from the opposite side of the many-to-many relationship to this model.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"through"}],"slug":"model.hasMany","tags":{"category":"Association Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"associationfunctions"},"name":"hasMany"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Used as a shortcut to output the proper form elements for an association. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the variable containing the parent object to represent with this form field.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"Name of the association set in the parent object to represent with this form field.","NAME":"association"},{"REQUIRED":"true","TYPE":"string","HINT":"Primary keys associated with this form field. Note that these keys should be listed in the order that they appear in the database table.","NAME":"keys"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using `aroundLeft` or `aroundRight`.","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The `class` name of the HTML tag that wraps the form control when there are errors.","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"string","HINT":"Optional. Explicit ID for the generated checkbox input. If not provided, an ID will be generated automatically.","NAME":"id"}],"slug":"controller.hasManyCheckBox","tags":{"category":"Form Association Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formassociationfunctions"},"name":"hasManyCheckBox"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Used as a shortcut to output the proper form elements for an association. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the variable containing the parent object to represent with this form field.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"Name of the association set in the parent object to represent with this form field.","NAME":"association"},{"REQUIRED":"true","TYPE":"string","HINT":"Name of the property in the child object to represent with this form field.","NAME":"property"},{"REQUIRED":"true","TYPE":"string","HINT":"Primary keys associated with this form field. Note that these keys should be listed in the order that they appear in the database table.","NAME":"keys"},{"REQUIRED":"true","TYPE":"string","HINT":"The value of the radio button when selected.","NAME":"tagValue"},{"HINT":"Whether or not to check this form field as a default if there is a blank value set for the property.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checkIfBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","NAME":"label"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.hasManyRadioButton","tags":{"category":"Form Association Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formassociationfunctions"},"name":"hasManyRadioButton"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Sets up a <code>hasOne</code> association between this model and the specified one.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Gives the association a name that you refer to when working with the association (in the `include` argument to `findAll`, to name one example).","NAME":"name"},{"HINT":"Name of associated model (usually not needed if you follow Wheels conventions because the model name will be deduced from the `name` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"modelName"},{"HINT":"Foreign key property name (usually not needed if you follow Wheels conventions since the foreign key name will be deduced from the `name` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"foreignKey"},{"HINT":"Column name to join to if not the primary key (usually not needed if you follow Wheels conventions since the join key will be the table's primary key/keys).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"joinKey"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to set the join type when joining associated tables. Possible values are `inner` (for `INNER JOIN`) and `outer` (for `LEFT OUTER JOIN`).","default":"outer","NAME":"joinType"},{"REQUIRED":"false","TYPE":"string","HINT":"Defines how to handle dependent model objects when you delete an object from this model. `delete` / `deleteAll` deletes the record(s) (`deleteAll` bypasses object instantiation). `remove` / `removeAll` sets the forein key field(s) to `NULL` (`removeAll` bypasses object instantiation).","default":false,"NAME":"dependent"}],"slug":"model.hasOne","tags":{"category":"Association Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"associationfunctions"},"name":"hasOne"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if the specified property name exists on the model.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property to inspect.","NAME":"property"}],"slug":"model.hasProperty","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"hasProperty"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a hidden field form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.hiddenField","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"hiddenField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a hidden field form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Value to populate in tag's value attribute.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"value"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.hiddenFieldTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"hiddenFieldTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Highlights the phrase(s) everywhere in the text if found by wrapping them in <code>span</code> tags.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Text to search in.","NAME":"text"},{"REQUIRED":"false","TYPE":"string","HINT":"Phrase (or list of phrases) to highlight. This argument is also aliased as `phrases`.","NAME":"phrase"},{"REQUIRED":"false","TYPE":"string","HINT":"Delimiter to use when passing in multiple phrases.","default":",","NAME":"delimiter"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to use to wrap the highlighted phrase(s).","default":"span","NAME":"tag"},{"REQUIRED":"false","TYPE":"string","HINT":"Class to use in the tags wrapping highlighted phrase(s).","default":"highlight","NAME":"class"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.highlight","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"highlight"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing one <code>select</code> form control for the hours of the day based on the supplied name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"The day that should be selected initially.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"around","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"boolean","HINT":"whether to display the hours in 24 or 12 hour format. 12 hour format has AM/PM drop downs","default":false,"NAME":"twelveHour"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.hourSelectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"hourSelectTag"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns readable text by capitalizing and converting camel casing to multiple words.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Text to humanize.","NAME":"text"},{"HINT":"A list of strings (space separated) to replace within the output.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"except"}],"slug":"controller.humanize","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"humanize"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"range"}],"slug":"controller.humanizeDateRange","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"humanizeDateRange"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Converts camelCase strings to lowercase strings with hyphens as word delimiters instead. Example: myVariable becomes my-variable.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The string to hyphenize.","NAME":"string"}],"slug":"controller.hyphenize","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"hyphenize"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this method to specify which columns cannot be used by the wheels ORM.   ","parameters":[{"HINT":"Array of columns names that will be ignored.","REQUIRED":"false","TYPE":"array","DEFAULT":"[runtime expression]","NAME":"columns"}],"slug":"model.ignoredColumns","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"ignoredColumns"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns an <code>img</code> tag. If the image is stored in the local <code>images</code> folder, the tag will also set the <code>width</code>, <code>height</code>, and <code>alt</code> attributes for you. You can pass any additional arguments (e.g. <code>class</code>, <code>rel</code>, <code>id</code>), and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The file name of the image if it's available in the local file system (i.e. ColdFusion will be able to access it). Provide the full URL if the image is on a remote server.","NAME":"source"},{"REQUIRED":"false","TYPE":"boolean","default":true,"NAME":"onlyPath"},{"REQUIRED":"false","TYPE":"string","default":"","NAME":"host"},{"REQUIRED":"false","TYPE":"string","default":"","NAME":"protocol"},{"REQUIRED":"false","TYPE":"numeric","default":0,"NAME":"port"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"required"}],"slug":"controller.imageTag","tags":{"category":"Asset Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"assetfunctions"},"name":"imageTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Used to output the content for a particular section in a layout.   ","parameters":[{"HINT":"Name of layout section to return content for.","REQUIRED":"false","TYPE":"string","DEFAULT":"body","NAME":"name"},{"HINT":"What to display as a default if the section is not defined.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"defaultValue"}],"slug":"controller.includeContent","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"includeContent"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Used as a shortcut to check if the specified IDs are a part of the main form object. This method should only be used for <code>hasMany</code> associations.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the variable containing the parent object to represent with this form field.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"Name of the association set in the parent object to represent with this form field.","NAME":"association"},{"REQUIRED":"true","TYPE":"string","HINT":"Primary keys associated with this form field. Note that these keys should be listed in the order that they appear in the database table.","NAME":"keys"}],"slug":"controller.includedInObject","tags":{"category":"Form Association Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formassociationfunctions"},"name":"includedInObject"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[{"REQUIRED":"false","NAME":"discrepancyId"}],"slug":"controller.includeDiscrepancyComments","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"includeDiscrepancyComments"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Includes the contents of another layout file. This is usually used to include a parent layout from within a child layout.   ","parameters":[{"HINT":"Name of the layout file to include.","REQUIRED":"false","TYPE":"string","DEFAULT":"layout","NAME":"name"}],"slug":"controller.includeLayout","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"includeLayout"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Includes the specified partial file in the view. Similar to using <code>cfinclude</code> but with the ability to cache the result and use Wheels-specific file look-up. By default, Wheels will look for the file in the current controller's view folder. To include a file relative from the base <code>views</code> folder, you can start the path supplied to <code>partial</code> with a forward slash.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The name of the partial file to be used. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder. Do not include the partial filename's underscore and file extension. If you want to have Wheels display the partial for a single model object, array of model objects, or a query, pass a variable containing that data into this argument.","NAME":"partial"},{"HINT":"If passing a query result set for the partial argument, use this to specify the field to group the query by. A new query will be passed into the partial template for you to iterate over.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"group"},{"HINT":"Number of minutes to cache the content for.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"REQUIRED":"false","TYPE":"string","HINT":"The layout to wrap the content in. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder. Pass `false` to not load a layout at all.","default":"","NAME":"layout"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML or string to place between partials when called using a query.","default":"","NAME":"spacer"},{"REQUIRED":"false","TYPE":"any","HINT":"Name of controller function to load data from.","default":true,"NAME":"dataFunction"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"$prependWithUnderscore"}],"slug":"controller.includePartial","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"includePartial"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds integer columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","TYPE":"numeric","NAME":"limit"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.integer","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"integer"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Runs the specified method within a single database transaction.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Model method to run.","NAME":"method"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"commit","NAME":"transaction"},{"HINT":"Isolation level to be passed through to the cftransaction tag. See your CFML engine's documentation for more details about cftransaction's isolation attribute.","REQUIRED":"false","TYPE":"string","DEFAULT":"read_committed","NAME":"isolation"}],"slug":"model.invokeWithTransaction","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"invokeWithTransaction"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the page was called from JavaScript or not.   ","parameters":[],"slug":"controller.isAjax","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isAjax"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Use this method to check whether you are currently in a class-level object.   ","parameters":[],"slug":"model.isClass","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"isClass"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request was a <code>DELETE</code> request or not.   ","parameters":[],"slug":"controller.isDelete","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isDelete"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request was a normal <code>GET</code> request or not.   ","parameters":[],"slug":"controller.isGet","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isGet"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request was a <code>HEAD</code> request or not.   ","parameters":[],"slug":"controller.isHead","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isHead"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Use this method to check whether you are currently in an instance object.   ","parameters":[],"slug":"model.isInstance","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"isInstance"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if this object hasn't been saved yet (in other words, no matching record exists in the database yet). Returns <code>false</code> if a record exists.   ","parameters":[],"slug":"model.isNew","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"isNew"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request was an <code>OPTIONS</code> request or not.   ","parameters":[],"slug":"controller.isOptions","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isOptions"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request was a <code>PATCH</code> request or not.   ","parameters":[],"slug":"controller.isPatch","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isPatch"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if this object has been persisted to the database or was loaded from the database via a finder. Returns <code>false</code> if the record has not been persisted to the database.   ","parameters":[],"slug":"model.isPersisted","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"isPersisted"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request came from a form <code>POST</code> submission or not.   ","parameters":[],"slug":"controller.isPost","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isPost"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether the request was a <code>PUT</code> request or not.   ","parameters":[],"slug":"controller.isPut","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isPut"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether Wheels is communicating over a secure port.   ","parameters":[],"slug":"controller.isSecure","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"isSecure"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a <code>script</code> tag for a JavaScript file (or several) based on the supplied arguments.   ","parameters":[{"HINT":"The name of one or many JavaScript files in the `javascripts` folder, minus the `.js` extension. Pass a full URL to access an external JavaScript file. Can also be called with the `source` argument.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"sources"},{"REQUIRED":"false","TYPE":"string","HINT":"The `type` attribute for the `script` tag.","default":"text/javascript","NAME":"type"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to place the output in the `head` area of the HTML page instead of the default behavior (which is to place the output where the function is called from).","default":false,"NAME":"head"},{"HINT":"The delimiter to use for the list of JavaScript files.","REQUIRED":"false","TYPE":"string","DEFAULT":",","NAME":"delim"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.javaScriptIncludeTag","tags":{"category":"Asset Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"assetfunctions"},"name":"javaScriptIncludeTag"},{"availableIn":["jsonproperties"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"property"},{"HINT":"The JSON type may be set to `array` or `struct`. The default is `array`. All other values will be ignored.","REQUIRED":"false","TYPE":"string","DEFAULT":"array","NAME":"type"},{"HINT":"Whether or not this plugin should automatically add the `$deserializeJSONProperties` and `$serializeProperties` callbacks. Set this to false if you want to invoke them or register them yourself.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"registerCallbacks"}],"slug":"jsonproperties.jsonProperty","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"jsonProperty"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the value of the primary key for the object. If you have a single primary key named id, then <code>someObject.key()</code> is functionally equivalent to <code>someObject.id</code>. This method is more useful when you do dynamic programming and don't know the name of the primary key or when you use composite keys (in which case it's convenient to use this method to get a list of both key values returned).   ","parameters":[{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"$persisted"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"$returnTickCountWhenNew"}],"slug":"model.key","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"key"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Creates a link to another page in your application. Pass in the name of a route to use your configured routes or a controller/action/key combination. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"The text content of the link.","NAME":"text"},{"HINT":"Name of a route that you have configured in config/routes.cfm.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"route"},{"HINT":"Name of the controller to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"controller"},{"HINT":"Name of the action to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"},{"HINT":"Key(s) to include in the URL.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"key"},{"HINT":"Any additional parameters to be set in the query string (example: wheels=cool&x=y). Please note that Wheels uses the & and = characters to split the parameters and encode them properly for you. However, if you need to pass in & or = as part of the value, then you need to encode them (and only them), example: a=cats%26dogs%3Dtrouble!&b=1.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"params"},{"HINT":"Sets an anchor name to be appended to the path.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"anchor"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If true, returns only the relative URL (no protocol, host name or port).","default":true,"NAME":"onlyPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current host.","default":"","NAME":"host"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current protocol.","default":"","NAME":"protocol"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Set this to override the current port number.","default":0,"NAME":"port"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass a link to an external site here if you want to bypass the Wheels routing system altogether and link to an external URL.","NAME":"href"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.linkTo","tags":{"category":"Link Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"linkfunctions"},"name":"linkTo"},{"availableIn":["restfullinks"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[],"slug":"restfullinks.linkTo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"linkTo"},{"availableIn":["logchanges"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"Call this from models' <code>init()</code> methods to enable this plugin's functionality for the model.","parameters":[{"HINT":"List of actions to log. Valid values are `create`, `update`, and `delete`. This argument is also aliased as `action`.","REQUIRED":"false","TYPE":"string","DEFAULT":"create,update,delete","NAME":"actions"}],"slug":"logchanges.logChanges","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"logChanges"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Creates a <code>mailto</code> link tag to the specified email address, which is also used as the name of the link unless name is specified.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The email address to link to.","NAME":"emailAddress"},{"HINT":"A string to use as the link text (\"Joe\" or \"Support Department\", for example).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.mailTo","tags":{"category":"Link Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"linkfunctions"},"name":"mailTo"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Returns the mapper object used to configure your application's routes. Usually you will use this method in <code>config/routes.cfm</code> to start chaining route mapping methods like <code>resources</code>, <code>namespace</code>, etc.   ","parameters":[{"HINT":"Whether to turn on RESTful routing or not. Not recommended to set. Will probably be removed in a future version of wheels, as RESTful routes are the default.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"restful"},{"HINT":"If not RESTful, then specify allowed routes. Not recommended to set. Will probably be removed in a future version of wheels, as RESTful routes are the default.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"[runtime expression]","NAME":"methods"},{"HINT":"This is useful for providing formats via URL like `json`, `xml`, `pdf`, etc. Set to false to disable automatic .[format] generation for resource based routes","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"mapFormat"}],"slug":"controller.mapper","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"mapper"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Calculates the maximum value for a given property. Uses the SQL function <code>MAX</code>. If no records can be found to perform the calculation on you can use the <code>ifNull</code> argument to decide what should be returned.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the property to get the highest value for (must be a property of a numeric data type).","NAME":"property"},{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"REQUIRED":"false","TYPE":"any","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"any","HINT":"The value returned if no records are found. Common usage is to set this to `0` to make sure a numeric value is always returned instead of a blank string.","default":"","NAME":"ifNull"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `GROUP BY` clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","NAME":"group"}],"slug":"model.maximum","tags":{"category":"Statistics Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"statisticsfunctions"},"name":"maximum"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Scope routes within a nested resource which require use of the primary key as part of the URL pattern; A member route will require an ID, because it acts on a member. photos/1/preview is an example of a member route, because it acts on (and displays) a single object.   ","parameters":[],"slug":"mapper.member","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"member"},{"availableIn":["migrator"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Migrates database to a specified version. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface   ","parameters":[{"HINT":"The Database schema version to migrate to","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"version"},{"HINT":"Flag for any available missing migrations","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"missingMigFlag"}],"slug":"migrator.migrateTo","tags":{"category":"General Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"generalfunctions"},"name":"migrateTo"},{"availableIn":["migrator"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Shortcut function to migrate to the latest version   ","parameters":[],"slug":"migrator.migrateToLatest","tags":{"category":"General Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"generalfunctions"},"name":"migrateToLatest"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns an associated MIME type based on a file extension.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The extension to get the MIME type for.","NAME":"extension"},{"HINT":"The fallback MIME type to return.","REQUIRED":"false","TYPE":"string","DEFAULT":"application/octet-stream","NAME":"fallback"}],"slug":"controller.mimeTypes","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"mimeTypes"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Calculates the minimum value for a given property. Uses the SQL function <code>MIN</code>. If no records can be found to perform the calculation on you can use the <code>ifNull</code> argument to decide what should be returned.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the property to get the lowest value for (must be a property of a numeric data type).","NAME":"property"},{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"any","HINT":"The value returned if no records are found. Common usage is to set this to `0` to make sure a numeric value is always returned instead of a blank string.","default":"","NAME":"ifNull"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `GROUP BY` clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","NAME":"group"}],"slug":"model.minimum","tags":{"category":"Statistics Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"statisticsfunctions"},"name":"minimum"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing one <code>select</code> form control for the minutes of an hour based on the supplied name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"The day that should be selected initially.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show minute 10, 20, 30, etc.","default":1,"NAME":"minuteStep"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"around","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.minuteSelectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"minuteSelectTag"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns a reference to the requested model so that class level methods can be called on it.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the model to get a reference to.","NAME":"name"}],"slug":"controller.model","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"model"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a <code>select</code> form control for the months of the year based on the supplied name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"The month that should be selected initially.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in names, numbers, or abbreviations to control display.","default":"names","NAME":"monthDisplay"},{"REQUIRED":"false","TYPE":"string","HINT":"[see:dateSelect].","default":"January,February,March,April,May,June,July,August,September,October,November,December","NAME":"monthNames"},{"REQUIRED":"false","TYPE":"string","HINT":"[see:dateSelect].","default":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","NAME":"monthAbbreviations"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"around","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.monthSelectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"monthSelectTag"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Scopes any the controllers for any routes configured within this block to a subfolder (package) and also adds the package name to the URL.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to prepend to child route names.","NAME":"name"},{"HINT":"Subfolder (package) to reference for controllers. This defaults to the value provided for `name`.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"package"},{"HINT":"Subfolder path to add to the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"path"}],"slug":"mapper.namespace","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"namespace"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns link for navigation.","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Link to URL off site root or fuseaction circuit.fuse.","NAME":"link"},{"REQUIRED":"true","TYPE":"string","HINT":"Link text.","NAME":"title"}],"slug":"controller.navigationLink","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"navigationLink"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Allows for nested objects, structs, and arrays to be set from params and other generated data.   ","parameters":[{"HINT":"The association (or list of associations) you want to allow to be set through the params. This argument is also aliased as `associations`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"association"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether to save the association(s) when the parent object is saved.","default":true,"NAME":"autoSave"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set this to `true` to tell Wheels to look for the property `_delete` in your model. If present and set to a value that evaluates to true, the model will be deleted when saving the parent.","default":false,"NAME":"allowDelete"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to a property on the object that you would like to sort by. The property should be numeric, should start with 1, and should be consecutive. Only valid with `hasMany` associations.","default":"","NAME":"sortProperty"},{"REQUIRED":"false","TYPE":"string","HINT":"A list of properties that should not be blank. If any of the properties are blank, any CRUD operations will be rejected.","default":"","NAME":"rejectIfBlank"}],"slug":"model.nestedProperties","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"nestedProperties"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Creates a new object based on supplied <code>properties</code> and returns it. The object is not saved to the database, it only exists in memory. Property names and values can be passed in either using named arguments or as a struct to the <code>properties</code> argument.   ","parameters":[{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set this to `true` to allow explicit assignment of `createdAt` or `updatedAt` properties","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"allowExplicitTimestamps"}],"slug":"model.new","tags":{"category":"Create Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"createfunctions"},"name":"new"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for an new icon.","parameters":[],"slug":"controller.newIcon","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"newIcon"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Obfuscates a value. Typically used for hiding primary key values when passed along in the URL.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The value to obfuscate.","NAME":"param"}],"slug":"controller.obfuscateParam","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"obfuscateParam"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this in an individual controller action to define which formats the action will respond with. This can be used to define provides behavior in individual actions or to override a global setting set with <code>provides</code> in the controller's <code>config()</code>.   ","parameters":[{"HINT":"Formats to instruct the controller to provide. Valid values are `html` (the default), `xml`, `json`, `csv`, `pdf`, and `xls`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"formats"},{"HINT":"Name of action, defaults to current.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"action"}],"slug":"controller.onlyProvides","tags":{"category":"Provides Functions","sectionClass":"controller","section":"Controller","categoryClass":"providesfunctions"},"name":"onlyProvides"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"This method is not designed to be called directly from your code, but provides functionality for dynamic finders such as <code>findOneByEmail()</code>   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"missingMethodName"},{"REQUIRED":"true","TYPE":"struct","NAME":"missingMethodArguments"}],"slug":"model.onMissingMethod","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"onMissingMethod"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Scopes any the controllers for any routes configured within this block to a subfolder (package) without adding the package name to the URL.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to prepend to child route names.","NAME":"name"},{"HINT":"Subfolder (package) to reference for controllers. This defaults to the value provided for `name`.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"package"}],"slug":"mapper.package","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"package"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Returns a struct with information about the specified paginated query. The keys that will be included in the struct are <code>currentPage</code>, <code>totalPages</code> and <code>totalRecords</code>.   ","parameters":[{"HINT":"The handle given to the query to return pagination information for.","REQUIRED":"false","TYPE":"string","DEFAULT":"query","NAME":"handle"}],"slug":"controller.pagination","tags":{"category":"Pagination Functions","sectionClass":"controller","section":"Controller","categoryClass":"paginationfunctions"},"name":"pagination"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing links to pages based on a paginated query. Uses <code>linkTo()</code> internally to build the link, so you need to pass in a route name or a controller/action/key combination. All other <code>linkTo()</code> arguments can be supplied as well, in which case they are passed through directly to <code>linkTo()</code>. If you have paginated more than one query in the controller, you can use the handle argument to reference them. (Don't forget to pass in a handle to the <code>findAll()</code> function in your controller first.)   ","parameters":[{"REQUIRED":"false","TYPE":"numeric","HINT":"The number of page links to show around the current page.","default":2,"NAME":"windowSize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not links to the first and last page should always be displayed.","default":true,"NAME":"alwaysShowAnchors"},{"REQUIRED":"false","TYPE":"string","HINT":"String to place next to the anchors on either side of the list.","default":"<span>...</span>","NAME":"anchorDivider"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not the current page should be linked to.","default":false,"NAME":"linkToCurrentPage"},{"REQUIRED":"false","TYPE":"string","HINT":"String or HTML to be prepended before result.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String or HTML to be appended after result.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String or HTML to be prepended before each page number.","default":"","NAME":"prependToPage"},{"REQUIRED":"false","TYPE":"boolean","default":false,"NAME":"addActiveClassToPrependedParent"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to prepend the prependToPage string on the first page in the list.","default":true,"NAME":"prependOnFirst"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to prepend the prependToPage string on the anchors.","default":true,"NAME":"prependOnAnchor"},{"REQUIRED":"false","TYPE":"string","HINT":"String or HTML to be appended after each page number.","default":"","NAME":"appendToPage"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to append the appendToPage string on the last page in the list.","default":true,"NAME":"appendOnLast"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to append the appendToPage string on the anchors.","default":true,"NAME":"appendOnAnchor"},{"REQUIRED":"false","TYPE":"string","HINT":"Class name for the current page number (if linkToCurrentPage is true, the class name will go on the a element. If not, a span element will be used).","default":"current","NAME":"classForCurrent"},{"HINT":"The handle given to the query that the pagination links should be displayed for.","REQUIRED":"false","TYPE":"string","DEFAULT":"query","NAME":"handle"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the param that holds the current page number.","default":"page","NAME":"name"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Will show a single page when set to true. (The default behavior is to return an empty string when there is only one page in the pagination).","default":false,"NAME":"showSinglePage"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Decides whether to link the page number as a param or as part of a route. (The default behavior is true).","default":true,"NAME":"pageNumberAsParam"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.paginationLinks","tags":{"category":"Link Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"linkfunctions"},"name":"paginationLinks"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"string"}],"slug":"controller.parseDateString","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"parseDateString"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a password field form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.passwordField","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"passwordField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a password field form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Value to populate in tag's value attribute.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"value"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.passwordFieldTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"passwordFieldTag"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a route that matches a URL requiring an HTTP <code>PATCH</code> method. We recommend using this matcher to expose actions that update database records.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Camel-case name of route to reference when build links and form actions (e.g., `blogPost`).","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"Overrides the URL pattern that will match the route. The default value is a dasherized version of `name` (e.g., a `name` of `blogPost` generates a pattern of `blog-post`).","NAME":"pattern"},{"REQUIRED":"false","TYPE":"string","HINT":"Set `controller##action` combination to map the route to. You may use either this argument or a combination of `controller` and `action`.","NAME":"to"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given controller. This must be passed along with the `action` argument.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given action within the `controller`. This must be passed along with the `controller` argument.","NAME":"action"},{"REQUIRED":"false","TYPE":"string","HINT":"Indicates a subfolder that the controller will be referenced from (but not added to the URL pattern). For example, if you set this to `admin`, the controller will be located at `admin/YourController.cfc`, but the URL path will not contain `admin/`.","NAME":"package"},{"REQUIRED":"false","TYPE":"string","HINT":"If this route is within a nested resource, you can set this argument to `member` or `collection`. A `member` route contains a reference to the resource's `key`, while a `collection` route does not.","NAME":"on"},{"REQUIRED":"false","TYPE":"string","HINT":"Redirect via 302 to this URL when this route is matched. Has precedence over controller/action. Use either an absolute link like `/about/`, or a full canonical link.","NAME":"redirect"}],"slug":"mapper.patch","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"patch"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[],"slug":"controller.pdfStyleSheet","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"pdfStyleSheet"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"phone"}],"slug":"controller.phoneNumberFormat","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"phoneNumberFormat"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a list of the names of all installed plugins.   ","parameters":[],"slug":"controller.pluginNames","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"pluginNames"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the plural form of the passed in word. Can also pluralize a word based on a value passed to the <code>count</code> argument. Wheels stores a list of words that are the same in both singular and plural form (e.g. \"equipment\", \"information\") and words that don't follow the regular pluralization rules (e.g. \"child\" / \"children\", \"foot\" / \"feet\"). Use <code>get(\"uncountables\")</code> / <code>set(\"uncountables\", newList)</code> and <code>get(\"irregulars\")</code> / <code>set(\"irregulars\", newList)</code> to modify them to suit your needs.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The word to pluralize.","NAME":"word"},{"HINT":"Pluralization will occur when this value is not 1.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"-1","NAME":"count"},{"HINT":"Will return count prepended to the pluralization when true and count is not -1.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"returnCount"}],"slug":"controller.pluralize","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"pluralize"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a route that matches a URL requiring an HTTP <code>POST</code> method. We recommend using this matcher to expose actions that create database records.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Camel-case name of route to reference when build links and form actions (e.g., `blogPosts`).","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"Overrides the URL pattern that will match the route. The default value is a dasherized version of `name` (e.g., a `name` of `blogPosts` generates a pattern of `blog-posts`).","NAME":"pattern"},{"REQUIRED":"false","TYPE":"string","HINT":"Set `controller##action` combination to map the route to. You may use either this argument or a combination of `controller` and `action`.","NAME":"to"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given controller. This must be passed along with the `action` argument.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given action within the `controller`. This must be passed along with the `controller` argument.","NAME":"action"},{"REQUIRED":"false","TYPE":"string","HINT":"Indicates a subfolder that the controller will be referenced from (but not added to the URL pattern). For example, if you set this to `admin`, the controller will be located at `admin/YourController.cfc`, but the URL path will not contain `admin/`.","NAME":"package"},{"REQUIRED":"false","TYPE":"string","HINT":"If this route is within a nested resource, you can set this argument to `member` or `collection`. A `member` route contains a reference to the resource's `key`, while a `collection` route does not.","NAME":"on"},{"REQUIRED":"false","TYPE":"string","HINT":"Redirect via 302 to this URL when this route is matched. Has precedence over controller/action. Use either an absolute link like `/about/`, or a full canonical link.","NAME":"redirect"}],"slug":"mapper.post","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"post"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the name of the primary key for this model's table. This is determined through database introspection. If composite primary keys have been used, they will both be returned in a list. This function is also aliased as <code>primaryKeys()</code>.   ","parameters":[{"HINT":"If you are accessing a composite primary key, pass the position of a single key to fetch.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"position"}],"slug":"model.primaryKey","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"primaryKey"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds a primary key definition to the table. this method also allows for multiple primary keys.   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"name"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"integer","NAME":"type"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"autoIncrement"},{"REQUIRED":"false","TYPE":"numeric","NAME":"limit"},{"REQUIRED":"false","TYPE":"numeric","NAME":"precision"},{"REQUIRED":"false","TYPE":"numeric","NAME":"scale"},{"REQUIRED":"false","TYPE":"string","NAME":"references"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"onUpdate"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"onDelete"}],"slug":"tabledefinition.primaryKey","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"primaryKey"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Alias for <code>primaryKey()</code>. Use this for better readability when you're accessing multiple primary keys.   ","parameters":[{"HINT":"If you are accessing a composite primary key, pass the position of a single key to fetch.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"0","NAME":"position"}],"slug":"model.primaryKeys","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"primaryKeys"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Process the specified action of the controller. This is exposed in the API primarily for testing purposes; you would not usually call it directly unless in the test suite.   ","parameters":[{"HINT":"Set to `before` to only execute \"before\" filters, `after` to only execute \"after\" filters or `false` to skip all filters. This argument is generally inherited from the `processRequest` function during unit test execution.","REQUIRED":"false","TYPE":"string","DEFAULT":"true","NAME":"includeFilters"}],"slug":"controller.processAction","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"processAction"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Creates a controller and calls an action on it. Which controller and action that's called is determined by the params passed in. Returns the result of the request either as a string or in a struct with <code>body</code>, <code>emails</code>, <code>files</code>, <code>flash</code>, <code>redirect</code>, <code>status</code>, and <code>type</code>. Primarily used for testing purposes.   ","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"The params struct to use in the request (make sure that at least `controller` and `action` are set).","NAME":"params"},{"REQUIRED":"false","TYPE":"string","HINT":"The HTTP method to use in the request (`get`, `post` etc).","default":"get","NAME":"method"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in `struct` to return all information about the request instead of just the final output (`body`).","default":"","NAME":"returnAs"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in `true` to roll back all database transactions made during the request.","default":false,"NAME":"rollback"},{"HINT":"Set to `before` to only execute \"before\" filters, `after` to only execute \"after\" filters or `false` to skip all filters.","REQUIRED":"false","TYPE":"string","DEFAULT":"true","NAME":"includeFilters"}],"slug":"controller.processRequest","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"processRequest"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Returns a structure of all the properties with their names as keys and the values of the property as values.   ","parameters":[{"HINT":"Whether to return nested properties or not.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"returnIncluded"}],"slug":"model.properties","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"properties"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this method to map an object property to either a table column with a different name than the property or to a SQL expression. You only need to use this method when you want to override the default object relational mapping that Wheels performs.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The name that you want to use for the column or SQL function result in the CFML code.","NAME":"name"},{"HINT":"The name of the column in the database table to map the property to.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"column"},{"HINT":"An SQL expression to use to calculate the property value.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"sql"},{"HINT":"A custom label for this property to be referenced in the interface and error messages.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"A default value for this property.","NAME":"defaultValue"},{"HINT":"Whether to include this property by default in SELECT statements","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"select"},{"HINT":"Specify the column dataType for this property","REQUIRED":"false","TYPE":"string","DEFAULT":"char","NAME":"dataType"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Enable / disable automatic validations for this property.","NAME":"automaticValidations"}],"slug":"model.property","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"property"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if the specified property doesn't exist on the model or is an empty string. This method is the inverse of <code>propertyIsPresent()</code>.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property to inspect.","NAME":"property"}],"slug":"model.propertyIsBlank","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"propertyIsBlank"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns <code>true</code> if the specified property exists on the model and is not a blank string.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of property to inspect.","NAME":"property"}],"slug":"model.propertyIsPresent","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"propertyIsPresent"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a list of property names ordered by their respective column's ordinal position in the database table. Also includes calculated property names that will be generated by the Wheels ORM.   ","parameters":[],"slug":"model.propertyNames","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"propertyNames"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this method to specify which properties cannot be set through mass assignment.   ","parameters":[{"HINT":"Property name (or list of property names) that are not allowed to be altered through mass assignment.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"}],"slug":"model.protectedProperties","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"protectedProperties"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"Tells Wheels to protect <code>POST</code>ed requests from CSRF vulnerabilities. Instructs the controller to verify that <code>params.authenticityToken</code> or <code>X-CSRF-Token</code> HTTP header is provided along with the request containing a valid authenticity token. Call this method within a controller's <code>config</code> method, preferably the base <code>Controller.cfc</code> file, to protect the entire application.   ","parameters":[{"HINT":"How to handle invalid authenticity token checks. Valid values are `error` (throws a `Wheels.InvalidAuthenticityToken` error), `abort` (aborts the request silently and sends a blank response to the client), and `ignore` (ignores the check and lets the request proceed).","REQUIRED":"false","TYPE":"string","DEFAULT":"exception","NAME":"with"},{"HINT":"List of actions that this check should only run on. Leave blank for all.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"only"},{"HINT":"List of actions that this check should be omitted from running on. Leave blank for no exceptions.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"except"}],"slug":"controller.protectsFromForgery","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"protectsFromForgery"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Defines formats that the controller will respond with upon request. The format can be requested through a URL variable called <code>format</code>, by appending the <code>format</code> name to the end of a URL as an extension (when URL rewriting is enabled), or in the request header.   ","parameters":[{"HINT":"Formats to instruct the controller to provide. Valid values are `html` (the default), `xml`, `json`, `csv`, `pdf`, and `xls`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"formats"}],"slug":"controller.provides","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"provides"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a route that matches a URL requiring an HTTP <code>PUT</code> method. We recommend using this matcher to expose actions that update database records. This method is provided as a convenience for when you really need to support the <code>PUT</code> verb; consider using the <code>patch</code> matcher instead of this one.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Camel-case name of route to reference when build links and form actions (e.g., `blogPost`).","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"Overrides the URL pattern that will match the route. The default value is a dasherized version of `name` (e.g., a `name` of `blogPost` generates a pattern of `blog-post`).","NAME":"pattern"},{"REQUIRED":"false","TYPE":"string","HINT":"Set `controller##action` combination to map the route to. You may use either this argument or a combination of `controller` and `action`.","NAME":"to"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given controller. This must be passed along with the `action` argument.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Map the route to a given action within the `controller`. This must be passed along with the `controller` argument.","NAME":"action"},{"REQUIRED":"false","TYPE":"string","HINT":"Indicates a subfolder that the controller will be referenced from (but not added to the URL pattern). For example, if you set this to `admin`, the controller will be located at `admin/YourController.cfc`, but the URL path will not contain `admin/`.","NAME":"package"},{"REQUIRED":"false","TYPE":"string","HINT":"If this route is within a nested resource, you can set this argument to `member` or `collection`. A `member` route contains a reference to the resource's `key`, while a `collection` route does not.","NAME":"on"},{"REQUIRED":"false","TYPE":"string","HINT":"Redirect via 302 to this URL when this route is matched. Has precedence over controller/action. Use either an absolute link like `/about/`, or a full canonical link.","NAME":"redirect"}],"slug":"mapper.put","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"put"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a hidden field tag for <code>_method='put'</code>.","parameters":[],"slug":"controller.putHiddenFieldTag","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"putHiddenFieldTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a radio button form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"The value of the radio button when selected.","NAME":"tagValue"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"after","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"<p class=\"checkbox\">","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.radioButton","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"radioButton"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a radio button form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"REQUIRED":"true","TYPE":"string","HINT":"Value to populate in tag's value attribute.","NAME":"value"},{"HINT":"Whether or not to check the radio button by default.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checked"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"after","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"<p class=\"checkbox\">","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.radioButtonTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"radioButtonTag"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Catches a raised error and returns the error type Great if you want to\ttest that a certain exception will be raised.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"String containing CFML expression to evaluate","NAME":"expression"}],"slug":"test.raised","tags":{"category":"Testing Functions","sectionClass":"testmodel","section":"Test Model","categoryClass":"testingfunctions"},"name":"raised"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a select field if logged in user is FTRI admin, hidden field if logged in user is an RDC employee.","parameters":[{"REQUIRED":"true","TYPE":"query","HINT":"RDCs in system to select.","NAME":"rdcs"},{"REQUIRED":"true","HINT":"Logged in user.","NAME":"loggedInUser"},{"REQUIRED":"true","TYPE":"string","HINT":"Object name for field.","NAME":"objectName"},{"HINT":"Property for field","REQUIRED":"false","TYPE":"string","DEFAULT":"rdcId","NAME":"property"},{"HINT":"Whether or not to disable the field.","REQUIRED":"false","TYPE":"string","DEFAULT":"false","NAME":"disabled"}],"slug":"controller.rdcField","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"rdcField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a select field if logged in user is FTRI admin, hidden field if logged in user is an RDC employee.","parameters":[{"REQUIRED":"true","TYPE":"query","HINT":"RDCs in system to select.","NAME":"rdcs"},{"REQUIRED":"true","HINT":"Logged in user.","NAME":"loggedInUser"},{"HINT":"Field label.","REQUIRED":"false","TYPE":"string","DEFAULT":"RDC","NAME":"label"},{"REQUIRED":"true","TYPE":"string","HINT":"`name` attribute for field.","NAME":"name"},{"REQUIRED":"true","TYPE":"string","HINT":"`value` attribute for field.","NAME":"selected"},{"HINT":"See documentation for `select`.","REQUIRED":"false","TYPE":"string","DEFAULT":"-- Select one --","NAME":"includeBlank"}],"slug":"controller.rdcFieldTag","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"rdcFieldTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Redirects the browser to the supplied controller/action/key, route or back to the referring page. Internally, this function uses the <code>URLFor</code> function to build the link and the <code>cflocation</code> tag to perform the redirect.   ","parameters":[{"HINT":"Set to `true` to redirect back to the referring page.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"back"},{"REQUIRED":"false","TYPE":"boolean","HINT":"See documentation for your CFML engine's implementation of `cflocation`.","default":false,"NAME":"addToken"},{"REQUIRED":"false","TYPE":"numeric","HINT":"See documentation for your CFML engine's implementation of `cflocation`.","default":302,"NAME":"statusCode"},{"HINT":"Name of a route that you have configured in `config/routes.cfm`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"route"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"method"},{"HINT":"Name of the controller to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"controller"},{"HINT":"Name of the action to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"},{"HINT":"Key(s) to include in the URL.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"key"},{"HINT":"Any additional parameters to be set in the query string (example: `wheels=cool&x=y`). Please note that Wheels uses the `&` and `=` characters to split the parameters and encode them properly for you. However, if you need to pass in `&` or `=` as part of the value, then you need to encode them (and only them), example: `a=cats%26dogs%3Dtrouble!&b=1`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"params"},{"HINT":"Sets an anchor name to be appended to the path.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"anchor"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If `true`, returns only the relative URL (no protocol, host name or port).","default":true,"NAME":"onlyPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current host.","default":"","NAME":"host"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current protocol.","default":"","NAME":"protocol"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Set this to override the current port number.","default":0,"NAME":"port"},{"HINT":"Redirect to an external URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"url"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to delay the redirection until after the rest of your action code has executed.","default":false,"NAME":"delay"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Encode URL parameters using `EncodeForURL()`. Please note that this does not make the string safe for placement in HTML attributes, for that you need to wrap the result in `EncodeForHtmlAttribute()` or use `linkTo()`, `startFormTag()` etc instead.","default":true,"NAME":"encode"}],"slug":"controller.redirectTo","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"redirectTo"},{"availableIn":["migrator"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Reruns the specified migration version. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface   ","parameters":[{"HINT":"The Database schema version to rerun","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"version"}],"slug":"migrator.redoMigration","tags":{"category":"General Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"generalfunctions"},"name":"redoMigration"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds integer reference columns to table definition and creates foreign key constraints   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"referenceNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"polymorphic"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"foreignKey"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"onUpdate"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"onDelete"}],"slug":"tabledefinition.references","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"references"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns markup for referral source field with 'Other' option marked with a special class. Pass regular arguments for CFWheels <code>select</code> helper.","parameters":[],"slug":"controller.referralSourceSelect","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"referralSourceSelect"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Reloads the property values of this object from the database.   ","parameters":[],"slug":"model.reload","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"reload"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Removes a column from a database table Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table containing the column to remove","NAME":"table"},{"HINT":"The column name to remove","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"columnName"},{"HINT":"optional reference name","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"referenceName"}],"slug":"migration.removeColumn","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"removeColumn"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Remove a database index Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to perform the index operation on","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"the name of the index to remove","NAME":"indexName"}],"slug":"migration.removeIndex","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"removeIndex"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Removes existing records from a table Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name to remove the record from","NAME":"table"},{"HINT":"The where clause, i.e id = 123","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"}],"slug":"migration.removeRecord","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"removeRecord"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Renames a table column Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table containing the column to rename","NAME":"table"},{"REQUIRED":"true","TYPE":"string","HINT":"The column name to rename","NAME":"columnName"},{"REQUIRED":"true","TYPE":"string","HINT":"The new column name","NAME":"newColumnName"}],"slug":"migration.renameColumn","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"renameColumn"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Renames a table Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name the old table","NAME":"oldName"},{"REQUIRED":"true","TYPE":"string","HINT":"New name for the table","NAME":"newName"}],"slug":"migration.renameTable","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"renameTable"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Instructs the controller to render an empty string when it's finished processing the action. This is very similar to calling <code>cfabort</code> with the advantage that any after filters you have set on the action will still be run.   ","parameters":[{"HINT":"Force request to return with specific HTTP status code.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"status"}],"slug":"controller.renderNothing","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"renderNothing"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Instructs the controller to render a partial when it's finished processing the action.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The name of the partial file to be used. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder. Do not include the partial filename's underscore and file extension.","NAME":"partial"},{"HINT":"Number of minutes to cache the content for.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"REQUIRED":"false","TYPE":"string","HINT":"The layout to wrap the content in. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder. Pass `false` to not load a layout at all.","default":"","NAME":"layout"},{"HINT":"Set to `string` to return the result instead of automatically sending it to the client.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"returnAs"},{"REQUIRED":"false","TYPE":"any","HINT":"Name of a controller function to load data from.","default":true,"NAME":"dataFunction"},{"HINT":"Force request to return with specific HTTP status code.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"status"}],"slug":"controller.renderPartial","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"renderPartial"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Instructs the controller to render specified text when it's finished processing the action.   ","parameters":[{"HINT":"The text to render.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"text"},{"HINT":"Force request to return with specific HTTP status code.","REQUIRED":"false","TYPE":"any","DEFAULT":"[runtime expression]","NAME":"status"}],"slug":"controller.renderText","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"renderText"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Instructs the controller which view template and layout to render when it's finished processing the action. Note that when passing values for controller and / or action, this function does not execute the actual action but rather just loads the corresponding view template.   ","parameters":[{"HINT":"Controller to include the view page for.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"controller"},{"HINT":"Action to include the view page for.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"action"},{"HINT":"A specific template to render. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"template"},{"REQUIRED":"false","TYPE":"any","HINT":"The layout to wrap the content in. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder. Pass `false` to not load a layout at all.","default":"","NAME":"layout"},{"HINT":"Number of minutes to cache the content for.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"HINT":"Set to `string` to return the result instead of automatically sending it to the client.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"returnAs"},{"HINT":"Set to `true` to hide the debug information at the end of the output. This is useful, for example, when you're testing XML output in an environment where the global setting for `showDebugInformation` is `true`.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"hideDebugInformation"},{"HINT":"Force request to return with specific HTTP status code.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"status"}],"slug":"controller.renderView","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"renderView"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Instructs the controller to render the data passed in to the format that is requested. If the format requested is <code>json</code> or <code>xml</code>, Wheels will transform the data into that format automatically. For other formats (or to override the automatic formatting), you can also create a view template in this format: <code>nameofaction.xml.cfm</code>, <code>nameofaction.json.cfm</code>, <code>nameofaction.pdf.cfm</code>, etc.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"Data to format and render.","NAME":"data"},{"HINT":"Controller to include the view page for.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"controller"},{"HINT":"Action to include the view page for.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"action"},{"HINT":"A specific template to render. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"template"},{"REQUIRED":"false","TYPE":"any","HINT":"The layout to wrap the content in. Prefix with a leading slash (`/`) if you need to build a path from the root `views` folder. Pass `false` to not load a layout at all.","default":"","NAME":"layout"},{"HINT":"Number of minutes to cache the content for.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"cache"},{"HINT":"Set to `string` to return the result instead of automatically sending it to the client.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"returnAs"},{"HINT":"Set to `true` to hide the debug information at the end of the output. This is useful, for example, when you're testing XML output in an environment where the global setting for `showDebugInformation` is `true`.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"hideDebugInformation"},{"HINT":"Force request to return with specific HTTP status code.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"status"}],"slug":"controller.renderWith","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"renderWith"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Resets a cycle so that it starts from the first list value the next time it is called.   ","parameters":[{"HINT":"The name of the cycle to reset.","REQUIRED":"false","TYPE":"string","DEFAULT":"default","NAME":"name"}],"slug":"controller.resetCycle","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"resetCycle"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a group of routes that exposes actions for manipulating a singular resource. A singular resource exposes URL patterns for the entire CRUD lifecycle of a single entity (<code>show</code>, <code>new</code>, <code>create</code>, <code>edit</code>, <code>update</code>, and <code>delete</code>) without exposing a primary key in the URL. Usually this type of resource represents a singleton entity tied to the session, application, or another resource (perhaps nested within another resource). If you need to generate routes for manipulating a collection of resources with a primary key in the URL, see the <code>resources</code> mapper method.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Camel-case name of resource to reference when build links and form actions. This is typically a singular word (e.g., `profile`).","NAME":"name"},{"HINT":"Whether or not additional calls will be nested within this resource.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"nested"},{"HINT":"Override URL path representing this resource. Default is a dasherized version of `name` (e.g., `blogPost` generates a path of `blog-post`).","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"path"},{"REQUIRED":"false","TYPE":"string","HINT":"Override name of the controller used by resource. This defaults to a pluralized version of `name`.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Override singularize() result in plural resources.","NAME":"singular"},{"REQUIRED":"false","TYPE":"string","HINT":"Override pluralize() result in singular resource.","NAME":"plural"},{"REQUIRED":"false","TYPE":"string","HINT":"Limits the list of RESTful routes to generate. Can include `show`, `new`, `create`, `edit`, `update`, and `delete`.","NAME":"only"},{"REQUIRED":"false","TYPE":"string","HINT":"Excludes RESTful routes to generate, taking priority over the `only` argument. Can include `show`, `new`, `create`, `edit,` `update`, and `delete`.","NAME":"except"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Turn on shallow resources.","NAME":"shallow"},{"REQUIRED":"false","TYPE":"string","HINT":"Shallow path prefix.","NAME":"shallowPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Shallow name prefix.","NAME":"shallowName"},{"REQUIRED":"false","TYPE":"struct","HINT":"Variable patterns to use for matching.","NAME":"constraints"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"resource","NAME":"$call"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"$plural"},{"HINT":"Whether or not to add an optional `.[format]` pattern to the end of the generated routes. This is useful for providing formats via URL like `json`, `xml`, `pdf`, etc.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"[runtime expression]","NAME":"mapFormat"}],"slug":"mapper.resource","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"resource"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a group of routes that exposes actions for manipulating a collection of resources. A plural resource exposes URL patterns for the entire CRUD lifecycle (<code>index</code>, <code>show</code>, <code>new</code>, <code>create</code>, <code>edit</code>, <code>update</code>, <code>delete</code>), exposing a primary key in the URL for showing, editing, updating, and deleting records. If you need to generate routes for manipulating a singular resource without a primary key, see the <code>resource</code> mapper method.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Camel-case name of resource to reference when build links and form actions. This is typically a plural word (e.g., `posts`).","NAME":"name"},{"HINT":"Whether or not additional calls will be nested within this resource.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"nested"},{"HINT":"Override URL path representing this resource. Default is a dasherized version of `name` (e.g., `blogPosts` generates a path of `blog-posts`).","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"path"},{"REQUIRED":"false","TYPE":"string","HINT":"Override name of the controller used by resource. This defaults to the value provided for `name`.","NAME":"controller"},{"REQUIRED":"false","TYPE":"string","HINT":"Override singularize() result in plural resources.","NAME":"singular"},{"REQUIRED":"false","TYPE":"string","HINT":"Override pluralize() result in singular resource.","NAME":"plural"},{"REQUIRED":"false","TYPE":"string","HINT":"Limits the list of RESTful routes to generate. Can include `index`, `show`, `new`, `create`, `edit`, `update`, and `delete`.","NAME":"only"},{"REQUIRED":"false","TYPE":"string","HINT":"Excludes RESTful routes to generate, taking priority over the `only` argument. Can include `index`, `show`, `new`, `create`, `edit`, `update`, and `delete`.","NAME":"except"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Turn on shallow resources.","NAME":"shallow"},{"REQUIRED":"false","TYPE":"string","HINT":"Shallow path prefix.","NAME":"shallowPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Shallow name prefix.","NAME":"shallowName"},{"REQUIRED":"false","TYPE":"struct","HINT":"Variable patterns to use for matching.","NAME":"constraints"},{"HINT":"Whether or not to add an optional `.[format]` pattern to the end of the generated routes. This is useful for providing formats via URL like `json`, `xml`, `pdf`, etc.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"[runtime expression]","NAME":"mapFormat"}],"slug":"mapper.resources","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"resources"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns content that Wheels will send to the client in response to the request.   ","parameters":[],"slug":"controller.response","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"response"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Generates rich text field.","parameters":[],"slug":"controller.richTextArea","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"richTextArea"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Create a route that matches the root of its current context. This mapper can be used for the application's web root (or home page), or it can generate a route for the root of a namespace or other path scoping mapper.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Set `controller##action` combination to map the route to. You may use either this argument or a combination of `controller` and `action`.","NAME":"to"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to include the format (e.g. `.json`) in the route.","NAME":"mapFormat"}],"slug":"mapper.root","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"root"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Saves the object if it passes validation and callbacks. Returns <code>true</code> if the object was saved successfully to the database, <code>false</code> if not.   ","parameters":[{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set to `false` to skip validations for this operation.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"validate"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"}],"slug":"model.save","tags":{"category":"CRUD Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"crudfunctions"},"name":"save"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Generates button tag with save icon.","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Label for button.","NAME":"label"},{"HINT":"Value for button tag.","REQUIRED":"false","TYPE":"string","DEFAULT":"save","NAME":"value"}],"slug":"controller.saveButtonTag","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"saveButtonTag"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Set any number of parameters to be inherited by mappers called within this matcher's block. For example, set a package or URL path to be used by all child routes.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Name to prepend to child route names for use when building links, forms, and other URLs.","NAME":"name"},{"REQUIRED":"false","TYPE":"string","HINT":"Path to prefix to all child routes.","NAME":"path"},{"REQUIRED":"false","TYPE":"string","HINT":"Package namespace to append to controllers.","NAME":"package"},{"REQUIRED":"false","TYPE":"string","HINT":"Controller to use for routes.","NAME":"controller"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Turn on shallow resources to eliminate routing added before this one.","NAME":"shallow"},{"REQUIRED":"false","TYPE":"string","HINT":"Shallow path prefix.","NAME":"shallowPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Shallow name prefix.","NAME":"shallowName"},{"REQUIRED":"false","TYPE":"struct","HINT":"Variable patterns to use for matching.","NAME":"constraints"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"scope","NAME":"$call"}],"slug":"mapper.scope","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"scope"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing one <code>select</code> form control for the seconds of a minute based on the supplied name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"The day that should be selected initially.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show seconds 10, 20, 30, etc.","default":1,"NAME":"secondStep"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"around","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.secondSelectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"secondSelectTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a select form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"any","HINT":"A collection to populate the select form control with. Can be a query recordSet or an array of objects.","NAME":"options"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":"-- Select one --","NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The column or property to use for the value of each list element. Used only when a query or array of objects has been supplied in the options argument.  Required when specifying `textField`","default":"","NAME":"valueField"},{"REQUIRED":"false","TYPE":"string","HINT":"The column or property to use for the value of each list element that the end user will see. Used only when a query or array of objects has been supplied in the options argument. Required when specifying `valueField`","default":"","NAME":"textField"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.select","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"select"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a select form control based on the supplied name and options. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"REQUIRED":"true","TYPE":"any","HINT":"A collection to populate the select form control with. Can be a query recordSet or an array of objects.","NAME":"options"},{"HINT":"Value of option that should be selected by default.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":"-- Select one --","NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether to allow multiple selection of options in the select form control.","default":false,"NAME":"multiple"},{"REQUIRED":"false","TYPE":"string","HINT":"The column or property to use for the value of each list element. Used only when a query or array of objects has been supplied in the options argument.  Required when specifying `textField`","default":"","NAME":"valueField"},{"REQUIRED":"false","TYPE":"string","HINT":"The column or property to use for the value of each list element that the end user will see. Used only when a query or array of objects has been supplied in the options argument. Required when specifying `valueField`","default":"","NAME":"textField"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.selectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"selectTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Sends an email using a template and an optional layout to wrap it in. Besides the Wheels-specific arguments documented here, you can also pass in any argument that is accepted by the <code>cfmail</code> tag as well as your own arguments to be used by the view.   ","parameters":[{"HINT":"The path to the email template or two paths if you want to send a multipart email. if the `detectMultipart` argument is `false`, the template for the text version should be the first one in the list. This argument is also aliased as `templates`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"template"},{"REQUIRED":"true","TYPE":"string","HINT":"Email address to send from.","default":"","NAME":"from"},{"REQUIRED":"true","TYPE":"string","HINT":"List of email addresses to send the email to.","default":"","NAME":"to"},{"REQUIRED":"true","TYPE":"string","HINT":"The subject line of the email.","default":"","NAME":"subject"},{"REQUIRED":"false","TYPE":"any","HINT":"Layout(s) to wrap the email template in. This argument is also aliased as `layouts`.","default":false,"NAME":"layout"},{"HINT":"A list of the names of the files to attach to the email. This will reference files stored in the `files` folder (or a path relative to it). This argument is also aliased as `files`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"file"},{"REQUIRED":"false","TYPE":"boolean","HINT":"When set to `true` and multiple values are provided for the `template` argument, Wheels will detect which of the templates is text and which one is HTML (by counting the `<` characters).","default":true,"NAME":"detectMultipart"},{"REQUIRED":"false","TYPE":"boolean","HINT":"When set to `false`, the email will not be sent.","default":true,"NAME":"deliver"},{"HINT":"The file to which the email contents will be written","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"writeToFile"}],"slug":"controller.sendEmail","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"sendEmail"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Sends a file to the user (from the <code>files</code> folder or a path relative to it by default).   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The file to send to the user.","NAME":"file"},{"HINT":"The file name to show in the browser download dialog box.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"name"},{"HINT":"The HTTP content type to deliver the file as.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"type"},{"REQUIRED":"false","TYPE":"string","HINT":"Set to `inline` to have the browser handle the opening of the file (possibly inline in the browser) or set to `attachment` to force a download dialog box.","default":"attachment","NAME":"disposition"},{"HINT":"Directory outside of the web root where the file exists. Must be a full path.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"directory"},{"HINT":"Pass in `true` to delete the file on the server after sending it.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"deleteFile"},{"REQUIRED":"false","TYPE":"boolean","default":true,"NAME":"deliver"}],"slug":"controller.sendFile","tags":{"category":"Miscellaneous Functions","sectionClass":"controller","section":"Controller","categoryClass":"miscellaneousfunctions"},"name":"sendFile"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns CFWheels <code>select</code> helper output with indicators on each <code>option</code> of whether or not a certifier requires a license number.","parameters":[],"slug":"controller.serviceProviderCertifierSelect","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"serviceProviderCertifierSelect"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"key"},{"REQUIRED":"false","TYPE":"any","NAME":"value"}],"slug":"controller.sessionCache","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"sessionCache"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use to configure a global setting or set a default for a function.   ","parameters":[],"slug":"controller.set","tags":{"category":"Miscellaneous Functions","sectionClass":"configuration","section":"Configuration","categoryClass":"miscellaneousfunctions"},"name":"set"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this function if you need a more low level way of setting the entire filter chain for a controller.   ","parameters":[{"REQUIRED":"true","TYPE":"array","HINT":"An array of structs, each of which represent an `argumentCollection` that get passed to the `filters` function. This should represent the entire filter chain that you want to use for this controller.","NAME":"chain"}],"slug":"controller.setFilterChain","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"setFilterChain"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Dynamically sets flashStorage during request lifecycle.   ","parameters":[{"HINT":"Accepts \"session\" or \"cookie","REQUIRED":"false","TYPE":"string","DEFAULT":"session","NAME":"storage"},{"HINT":"If true, updates both app-level and controller-level flashStorage","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"setGlobally"}],"slug":"controller.setFlashStorage","tags":{"category":"Flash Functions","sectionClass":"controller","section":"Controller","categoryClass":"flashfunctions"},"name":"setFlashStorage"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Allows you to set a pagination handle for a custom query so you can perform pagination on it in your view with <code>paginationLinks</code>.   ","parameters":[{"REQUIRED":"true","TYPE":"numeric","HINT":"Total count of records that should be represented by the paginated links.","NAME":"totalRecords"},{"HINT":"Page number that should be represented by the data being fetched and the paginated links.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"1","NAME":"currentPage"},{"HINT":"Number of records that should be represented on each page of data.","REQUIRED":"false","TYPE":"numeric","DEFAULT":"25","NAME":"perPage"},{"HINT":"Name of handle to reference in `paginationLinks`.","REQUIRED":"false","TYPE":"string","DEFAULT":"query","NAME":"handle"}],"slug":"controller.setPagination","tags":{"category":"Pagination Functions","sectionClass":"controller","section":"Controller","categoryClass":"paginationfunctions"},"name":"setPagination"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Allows you to pass in the name(s) of the property(s) that should be used as the primary key(s). Pass as a list if defining a composite primary key. This function is also aliased as <code>setPrimaryKeys()</code>.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Property (or list of properties) to set as the primary key.","NAME":"property"}],"slug":"model.setPrimaryKey","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"setPrimaryKey"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Alias for <code>setPrimaryKey()</code>. Use this for better readability when you're setting multiple properties as the primary key.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Property (or list of properties) to set as the primary key.","NAME":"property"}],"slug":"model.setPrimaryKeys","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"setPrimaryKeys"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Allows you to set all the properties of an object at once by passing in a structure with keys matching the property names.   ","parameters":[{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"}],"slug":"model.setProperties","tags":{"category":"Miscellaneous Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"miscellaneousfunctions"},"name":"setProperties"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Sets content that Wheels will send to the client in response to the request.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The content to send to the client.","NAME":"content"}],"slug":"controller.setResponse","tags":{"category":"Rendering Functions","sectionClass":"controller","section":"Controller","categoryClass":"renderingfunctions"},"name":"setResponse"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Sets a prefix to prepend to the table name when this model runs SQL queries.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"A prefix to prepend to the table name.","NAME":"prefix"}],"slug":"model.setTableNamePrefix","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"setTableNamePrefix"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[],"slug":"test.setup","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"setup"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this function if you need a more low level way of setting the entire verification chain for a controller.   ","parameters":[{"REQUIRED":"true","TYPE":"array","HINT":"An array of structs, each of which represent an `argumentCollection` that get passed to the `verifies` function. This should represent the entire verification chain that you want to use for this controller.","NAME":"chain"}],"slug":"controller.setVerificationChain","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"setVerificationChain"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns formatted text using HTML break tags (<code><br></code>) and HTML paragraph elements (<code><p></p></code>) based on the newline characters and carriage returns in the <code>text</code> that is passed in.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The text to format.","NAME":"text"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to wrap the result in a paragraph HTML element.","default":true,"NAME":"wrap"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.simpleFormat","tags":{"category":"Miscellaneous Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"miscellaneousfunctions"},"name":"simpleFormat"},{"availableIn":["singletableinheritance"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"tableName"},{"TYPE":"string","DEFAULT":"type","NAME":"typeColumn"},{"TYPE":"any","DEFAULT":"[runtime expression]","NAME":"typeValue"}],"slug":"singletableinheritance.singleTableInheritance","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"singleTableInheritance"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the singular form of the passed in word.   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"word"}],"slug":"controller.singularize","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"singularize"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns link for table heading with sort.","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Text label for sort column link.","NAME":"label"},{"HINT":"Identifier for model to use to know what to sort by.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"identifier"},{"HINT":"Column that's currently being sorted.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"currentSortColumn"},{"HINT":"Current sort order.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"currentSortOrder"},{"HINT":"Whether or not this output is for a PDF. When this is `true`, only the `label` is returned.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"isPdf"},{"HINT":"Class name to place on table head.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"class"}],"slug":"controller.sortHeader","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"sortHeader"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"ssn"},{"REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"loggedInUser"}],"slug":"controller.ssnFormat","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"ssnFormat"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"date","hint":"","parameters":[{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"[runtime expression]","NAME":"year"},{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"[runtime expression]","NAME":"month"},{"REQUIRED":"false","TYPE":"numeric","DEFAULT":"[runtime expression]","NAME":"day"}],"slug":"controller.startDateWithoutTime","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"startDateWithoutTime"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing the opening <code>form</code> tag. The form's action will be built according to the same rules as <code>URLFor</code>. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"The type of `method` to use in the `form` tag (`delete`, `get`, `patch`, `post`, and `put` are the options).","default":"post","NAME":"method"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` if the form should be able to upload files.","default":false,"NAME":"multipart"},{"HINT":"Name of a route that you have configured in `config/routes.cfm`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"route"},{"HINT":"Name of the controller to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"controller"},{"HINT":"Name of the action to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"},{"HINT":"Key(s) to include in the URL.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"key"},{"HINT":"Any additional parameters to be set in the query string (example: wheels=cool&x=y). Please note that Wheels uses the & and = characters to split the parameters and encode them properly for you. However, if you need to pass in & or = as part of the value, then you need to encode them (and only them), example: a=cats%26dogs%3Dtrouble!&b=1.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"params"},{"HINT":"Sets an anchor name to be appended to the path.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"anchor"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If true, returns only the relative URL (no protocol, host name or port).","default":true,"NAME":"onlyPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current host.","default":"","NAME":"host"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current protocol.","default":"","NAME":"protocol"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Set this to override the current port number.","default":0,"NAME":"port"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.startFormTag","tags":{"category":"General Form Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"generalformfunctions"},"name":"startFormTag"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds string columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","TYPE":"any","NAME":"limit"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.string","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"string"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Removes all links from an HTML string, leaving just the link text.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The HTML to remove links from.","NAME":"html"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.stripLinks","tags":{"category":"Sanitization Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"sanitizationfunctions"},"name":"stripLinks"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Removes all HTML tags from a string.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The HTML to remove tag markup from.","NAME":"html"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.stripTags","tags":{"category":"Sanitization Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"sanitizationfunctions"},"name":"stripTags"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is an array.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"},{"HINT":"Whether or not to check that the array has at least 1 item.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checkLength"}],"slug":"structtypeexists.structArrayExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structArrayExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is a boolean.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"},{"HINT":"Whether or not to also include a check that the value is truthy.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checkTruthiness"}],"slug":"structtypeexists.structBooleanExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structBooleanExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is a date.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"}],"slug":"structtypeexists.structDateExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structDateExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is an integer.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"}],"slug":"structtypeexists.structIntegerExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structIntegerExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and if it has any length. Optionally, alias any given value in the list to mean 'all' (helpful if you want to include a check box with a value of <code>-1</code> to denote 'all items' and thus ignore the filter in a SQL <code>WHERE</code>.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"},{"HINT":"Causes this function to return `false` if a given item is included in the list.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"includeAllValue"}],"slug":"structtypeexists.structListExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structListExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is numeric.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"}],"slug":"structtypeexists.structNumberExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structNumberExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is an object.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"}],"slug":"structtypeexists.structObjectExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structObjectExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is a query.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"},{"HINT":"Whether or not to check that the query has at least 1 record.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checkRecordCount"}],"slug":"structtypeexists.structQueryExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structQueryExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and if it is a string. Optionally, check if the string has length.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"},{"HINT":"Whether or not to check that the string has length.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"checkLength"}],"slug":"structtypeexists.structStringExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structStringExists"},{"availableIn":["structtypeexists"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Returns whether or not a given <code>key</code> exists within <code>struct</code> and its value is a struct itself.","parameters":[{"REQUIRED":"true","TYPE":"struct","HINT":"Struct to examine.","NAME":"struct"},{"REQUIRED":"true","TYPE":"string","HINT":"Struct key to examine.","NAME":"key"}],"slug":"structtypeexists.structStructExists","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"structStructExists"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a <code>link</code> tag for a stylesheet (or several) based on the supplied arguments.   ","parameters":[{"HINT":"The name of one or many CSS files in the stylesheets folder, minus the `.css` extension. Pass a full URL to generate a tag for an external style sheet. Can also be called with the `source` argument.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"sources"},{"REQUIRED":"false","TYPE":"string","HINT":"The `type` attribute for the `link` tag.","default":"text/css","NAME":"type"},{"REQUIRED":"false","TYPE":"string","HINT":"The `media` attribute for the `link` tag.","default":"all","NAME":"media"},{"REQUIRED":"false","TYPE":"string","HINT":"The `rel` attribute for the relation between the tag and href.","NAME":"rel"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to place the output in the `head` area of the HTML page instead of the default behavior (which is to place the output where the function is called from).","default":false,"NAME":"head"},{"HINT":"The delimiter to use for the list of CSS files.","REQUIRED":"false","TYPE":"string","DEFAULT":",","NAME":"delim"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.styleSheetLinkTag","tags":{"category":"Asset Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"assetfunctions"},"name":"styleSheetLinkTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a submit button form control. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Message to display in the button form control.","default":"Save changes","NAME":"value"},{"REQUIRED":"false","TYPE":"string","HINT":"File name of the image file to use in the button form control.","default":"","NAME":"image"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"}],"slug":"controller.submitTag","tags":{"category":"General Form Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"generalformfunctions"},"name":"submitTag"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Calculates the sum of values for a given property. Uses the SQL function <code>SUM</code>. If no records can be found to perform the calculation on you can use the <code>ifNull</code> argument to decide what should be returned.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the property to get the sum for (must be a property of a numeric data type).","NAME":"property"},{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"REQUIRED":"false","TYPE":"boolean","HINT":"When true, SUM returns the sum of unique values only.","default":false,"NAME":"distinct"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"any","HINT":"The value returned if no records are found. Common usage is to set this to `0` to make sure a numeric value is always returned instead of a blank string.","default":"","NAME":"ifNull"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"},{"REQUIRED":"false","TYPE":"string","HINT":"Maps to the `GROUP BY` clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","NAME":"group"}],"slug":"model.sum","tags":{"category":"Statistics Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"statisticsfunctions"},"name":"sum"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Use this method to tell Wheels what database table to connect to for this model. You only need to use this method when your table naming does not follow the standard Wheels convention of a singular object name mapping to a plural table name. To not use a table for your model at all, call <code>table(false)</code>.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"Name of the table to map this model to.","NAME":"name"}],"slug":"model.table","tags":{"category":"Miscellaneous Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"miscellaneousfunctions"},"name":"table"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns the name of the database table that this model is mapped to.   ","parameters":[],"slug":"model.tableName","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"tableName"},{"availableIn":["test"],"extended":{"hasExtended":false,"docs":""},"returntype":"","hint":"","parameters":[],"slug":"test.teardown","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"teardown"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Adds text columns to table definition.  In MySQL databases, you can specify different text sizes: - Regular TEXT (65KB) - default when no size is specified - MEDIUMTEXT (16MB) - specify size=\"mediumtext\" - LONGTEXT (4GB) - specify size=\"longtext\"  For other database engines, the size parameter is ignored and the default text type is used.   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"string","NAME":"size"}],"slug":"tabledefinition.text","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"text"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a text area field form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.textArea","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"textArea"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a text area form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Content to display in textarea on page load.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"content"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.textAreaTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"textAreaTag"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a text field form control based on the supplied objectName and property. Note: Pass any additional arguments like class, rel, and id, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"The variable name of the object to build the form control for.","NAME":"objectName"},{"REQUIRED":"true","TYPE":"string","HINT":"The name of the property to use in the form control.","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"useDefaultLabel","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"HINT":"Input type attribute. Common examples in HTML5 and later are text (default), email, tel, and url.","REQUIRED":"false","TYPE":"string","DEFAULT":"text","NAME":"type"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.textField","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"textField"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a text field form control based on the supplied name. Note: Pass any additional arguments like <code>class</code>, <code>rel</code>, and <code>id</code>, and the generated tag will also include those values as HTML attributes.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Value to populate in tag's value attribute.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"value"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"HINT":"Input type attribute. Common examples in HTML5 and later are text (default), email, tel, and url.","REQUIRED":"false","TYPE":"string","DEFAULT":"text","NAME":"type"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.textFieldTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"textFieldTag"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds time columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.time","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"time"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns a string describing the approximate time difference between the date passed in and the current date.   ","parameters":[{"REQUIRED":"true","TYPE":"date","HINT":"Date to compare from.","NAME":"fromTime"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to include the number of seconds in the returned string.","default":false,"NAME":"includeSeconds"},{"HINT":"Date to compare to.","REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"toTime"}],"slug":"controller.timeAgoInWords","tags":{"category":"Date Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"datefunctions"},"name":"timeAgoInWords"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing three <code>select</code> form controls for hour, minute, and second based on the supplied objectName and property.   ","parameters":[{"HINT":"The variable name of the object to build the form control for.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"objectName"},{"HINT":"The name of the property to use in the form control.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"property"},{"REQUIRED":"false","TYPE":"string","HINT":"The name of the association that the property is located on. Used for building nested forms that work with nested properties. If you are building a form with deep nesting, simply pass in a list to the nested object, and Wheels will figure it out.","NAME":"association"},{"REQUIRED":"false","TYPE":"string","HINT":"The position used when referencing a hasMany relationship in the association argument. Used for building nested forms that work with nested properties. If you are building a form with deep nestings, simply pass in a list of positions, and Wheels will figure it out.","NAME":"position"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude time select tags.","default":"hour,minute,second","NAME":"order"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the time select tags.","default":":","NAME":"separator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show minute 10, 20, 30, etc.","default":1,"NAME":"minuteStep"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show seconds 10, 20, 30, etc.","default":1,"NAME":"secondStep"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":false,"NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"HTML tag to wrap the form control with when the object contains errors.","default":"div","NAME":"errorElement"},{"REQUIRED":"false","TYPE":"string","HINT":"The class name of the HTML tag that wraps the form control when there are errors.","default":"field-with-errors","NAME":"errorClass"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to false to not combine the select parts into a single DateTime object.","NAME":"combine"},{"REQUIRED":"false","TYPE":"boolean","HINT":"whether to display the hours in 24 or 12 hour format. 12 hour format has AM/PM drop downs","default":false,"NAME":"twelveHour"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.timeSelect","tags":{"category":"Form Object Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formobjectfunctions"},"name":"timeSelect"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing three <code>select</code> form controls for hour, minute, and second based on name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"Value of option that should be selected by default.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the order of or exclude time select tags.","default":"hour,minute,second","NAME":"order"},{"REQUIRED":"false","TYPE":"string","HINT":"Use to change the character that is displayed between the time select tags.","default":":","NAME":"separator"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show minute 10, 20, 30, etc.","default":1,"NAME":"minuteStep"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Pass in 10 to only show seconds 10, 20, 30, etc.","default":1,"NAME":"secondStep"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"before","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"</p>","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"<p>","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to false to not combine the select parts into a single DateTime object.","NAME":"combine"},{"REQUIRED":"false","TYPE":"boolean","HINT":"whether to display the hours in 24 or 12 hour format. 12 hour format has AM/PM drop downs","default":false,"NAME":"twelveHour"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":"attributes","NAME":"encode"}],"slug":"controller.timeSelectTags","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"timeSelectTags"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds timestamp columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"datetime","NAME":"columnType"}],"slug":"tabledefinition.timestamp","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"timestamp"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds Wheels convention automatic timestamp and soft delete columns to table definition   ","parameters":[],"slug":"tabledefinition.timestamps","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"timestamps"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Returns a string describing the approximate time difference between the current date and the date passed in.   ","parameters":[{"REQUIRED":"true","TYPE":"date","HINT":"Date to compare to.","NAME":"toTime"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to include the number of seconds in the returned string.","default":false,"NAME":"includeSeconds"},{"HINT":"Date to compare from.","REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"fromTime"}],"slug":"controller.timeUntilInWords","tags":{"category":"Date Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"datefunctions"},"name":"timeUntilInWords"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Capitalizes all words in the text to create a nicer looking title.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The text to turn into a title.","NAME":"word"}],"slug":"controller.titleize","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"titleize"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Assigns to the property specified the opposite of the property's current boolean value. Throws an error if the property cannot be converted to a boolean value. Returns this object if save called internally is <code>false</code>.   ","parameters":[{"REQUIRED":"true","TYPE":"string","NAME":"property"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Argument to decide whether save the property after it has been toggled.","default":true,"NAME":"save"}],"slug":"model.toggle","tags":{"category":"CRUD Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"crudfunctions"},"name":"toggle"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Truncates text to the specified length and replaces the last characters with the specified truncate string (which defaults to \"...\").   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The text to truncate.","NAME":"text"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Length to truncate the text to.","default":30,"NAME":"length"},{"REQUIRED":"false","TYPE":"string","HINT":"String to replace the last characters with.","default":"...","NAME":"truncateString"}],"slug":"controller.truncate","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"truncate"},{"availableIn":["tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"adds UUID columns to table definition   ","parameters":[{"REQUIRED":"false","TYPE":"string","NAME":"columnNames"},{"REQUIRED":"false","DEFAULT":"newid()","NAME":"string"},{"REQUIRED":"false","TYPE":"boolean","NAME":"allowNull"}],"slug":"tabledefinition.uniqueidentifier","tags":{"category":"Table Definition Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"tabledefinitionfunctions"},"name":"uniqueidentifier"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Migrates up: will be executed when migrating your schema forward Along with down(), these are the two main functions in any migration file Only available in a migration CFC   ","parameters":[],"slug":"migration.up","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"up"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Updates the object with the supplied <code>properties</code> and saves it to the database. Returns <code>true</code> if the object was saved successfully to the database and <code>false</code> otherwise.   ","parameters":[{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set to `false` to skip validations for this operation.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"validate"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set this to `true` to allow explicit assignment of `createdAt` or `updatedAt` properties","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"allowExplicitTimestamps"}],"slug":"model.update","tags":{"category":"CRUD Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"crudfunctions"},"name":"update"},{"availableIn":["singletableinheritance"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"","parameters":[],"slug":"singletableinheritance.updateAll","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"updateAll"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"numeric","hint":"Updates all properties for the records that match the <code>where</code> argument. Property names and values can be passed in either using named arguments or as a struct to the <code>properties</code> argument. By default, objects will not be instantiated and therefore callbacks and validations are not invoked. You can change this behavior by passing in <code>instantiate=true</code>. This method returns the number of records that were updated.   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Associations that should be included in the query using `INNER` or `LEFT OUTER` joins (which join type that is used depends on how the association has been set up in your model). If all included associations are set on the current model, you can specify them in a list (e.g. `department,addresses,emails`). You can build more complex include strings by using parentheses when the association is set on an included model, like `album(artist(genre))`, for example. These complex `include` strings only work when `returnAs` is set to `query` though.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"include"},{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Whether or not to instantiate the object(s) first. When objects are not instantiated, any callbacks and validations set on them will be skipped.","default":false,"NAME":"instantiate"},{"HINT":"If you want to specify table index hints, pass in a structure of index names using your model names as the structure keys. Eg: `{user=\"idx_users\", post=\"idx_posts\"}`. This feature is only supported by MySQL and SQL Server.","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"useIndex"},{"HINT":"Set to `false` to skip validations for this operation.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"validate"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"}],"slug":"model.updateAll","tags":{"category":"Update Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"updatefunctions"},"name":"updateAll"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Finds the object with the supplied <code>key</code> and saves it (if validation permits it) with the supplied <code>properties</code> and / or named arguments. Property names and values can be passed in either using named arguments or as a struct to the <code>properties</code> argument. Returns <code>true</code> if the object was found and updated successfully, <code>false</code> otherwise.   ","parameters":[{"REQUIRED":"true","TYPE":"any","HINT":"Primary key value(s) of the record to fetch. Separate with comma if passing in multiple primary key values. Accepts a string, list, or a numeric value.","NAME":"key"},{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set to `false` to skip validations for this operation.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"validate"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"}],"slug":"model.updateByKey","tags":{"category":"Update Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"updatefunctions"},"name":"updateByKey"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Gets an object based on the arguments used and updates it with the supplied <code>properties</code>. Returns <code>true</code> if an object was found and updated successfully, <code>false</code> otherwise.   ","parameters":[{"HINT":"Maps to the `WHERE` clause of the query (or `HAVING` when necessary). The following operators are supported: `=`, `!=`, `<>`, `<`, `<=`, `>`, `>=`, `LIKE`, `NOT LIKE`, `IN`, `NOT IN`, `IS NULL`, `IS NOT NULL`, `AND`, and `OR` (note that the key words need to be written in upper case). You can also use parentheses to group statements. Nested queries not allowed. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"},{"HINT":"Maps to the `ORDER` BY clause of the query. You do not need to specify the table name(s); Wheels will do that for you.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"order"},{"HINT":"The properties you want to set on the object (can also be passed in as named arguments).","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"properties"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Set to `true` to force Wheels to query the database even though an identical query for this model may have been run in the same request. (The default in Wheels is to get the second query from the model's request-level cache.)","default":false,"NAME":"reload"},{"HINT":"Set to `false` to skip validations for this operation.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"validate"},{"HINT":"If you want to specify table index hints, pass in a structure of index names using your model names as the structure keys. Eg: `{user=\"idx_users\", post=\"idx_posts\"}`. This feature is only supported by MySQL and SQL Server.","REQUIRED":"false","TYPE":"struct","DEFAULT":"[runtime expression]","NAME":"useIndex"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"includeSoftDeletes"}],"slug":"model.updateOne","tags":{"category":"Update Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"updatefunctions"},"name":"updateOne"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Updates a single <code>property</code> and saves the record without going through the normal validation procedure. This is especially useful for boolean flags on existing records.   ","parameters":[{"REQUIRED":"false","TYPE":"string","HINT":"Name of the property to update the value for globally.","NAME":"property"},{"REQUIRED":"false","TYPE":"any","HINT":"Value to set on the given property globally.","NAME":"value"},{"REQUIRED":"false","TYPE":"any","HINT":"Set to `true` to use `cfqueryparam` on all columns, or pass in a list of property names to use `cfqueryparam` on those only.","default":true,"NAME":"parameterize"},{"HINT":"Set this to `commit` to update the database, `rollback` to run all the database queries but not commit them, or `none` to skip transaction handling altogether.","REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"transaction"},{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"}],"slug":"model.updateProperty","tags":{"category":"CRUD Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"crudfunctions"},"name":"updateProperty"},{"availableIn":["migration"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Updates an existing record in a table Only available in a migration CFC   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The table name where the record is","NAME":"table"},{"HINT":"The where clause, i.e admin = 1","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"where"}],"slug":"migration.updateRecord","tags":{"category":"Migration Functions","sectionClass":"migrator","section":"Migrator","categoryClass":"migrationfunctions"},"name":"updateRecord"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Creates an internal URL based on supplied arguments.   ","parameters":[{"HINT":"Name of a route that you have configured in `config/routes.cfm`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"route"},{"HINT":"Name of the controller to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"controller"},{"HINT":"Name of the action to include in the URL.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"action"},{"HINT":"Key(s) to include in the URL.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"key"},{"HINT":"Any additional parameters to be set in the query string (example: `wheels=cool&x=y`). Please note that Wheels uses the `&` and `=` characters to split the parameters and encode them properly for you. However, if you need to pass in `&` or `=` as part of the value, then you need to encode them (and only them), example: `a=cats%26dogs%3Dtrouble!&b=1`.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"params"},{"HINT":"Sets an anchor name to be appended to the path.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"anchor"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If `true`, returns only the relative URL (no protocol, host name or port).","default":true,"NAME":"onlyPath"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current host.","default":"","NAME":"host"},{"REQUIRED":"false","TYPE":"string","HINT":"Set this to override the current protocol.","default":"","NAME":"protocol"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Set this to override the current port number.","default":0,"NAME":"port"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Encode URL parameters using `EncodeForURL()`. Please note that this does not make the string safe for placement in HTML attributes, for that you need to wrap the result in `EncodeForHtmlAttribute()` or use `linkTo()`, `startFormTag()` etc instead.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"$encodeForHtmlAttribute"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"[runtime expression]","NAME":"$URLRewriting"}],"slug":"controller.URLFor","tags":{"category":"Miscellaneous Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"miscellaneousfunctions"},"name":"URLFor"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Used within a controller's <code>config()</code> function to specify controller- or action-specific layouts.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of the layout template or function name you want to use.","NAME":"template"},{"HINT":"Name of the layout template you want to use for AJAX requests.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"ajax"},{"REQUIRED":"false","TYPE":"string","HINT":"List of actions that should not get the layout.","NAME":"except"},{"REQUIRED":"false","TYPE":"string","HINT":"List of actions that should only get the layout.","NAME":"only"},{"HINT":"When specifying conditions or a function, pass in `true` to use the default `layout.cfm` if none of the conditions are met.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"useDefault"}],"slug":"controller.usesLayout","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"usesLayout"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"boolean","hint":"Runs the validation on the object and returns <code>true</code> if it passes it. Wheels will run the validation process automatically whenever an object is saved to the database, but sometimes it's useful to be able to run this method to see if the object is valid without saving it to the database.   ","parameters":[{"HINT":"Set to `false` to disable callbacks for this method.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"callbacks"},{"REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"validateAssociations"}],"slug":"model.valid","tags":{"category":"Error Functions","sectionClass":"modelobject","section":"Model Object","categoryClass":"errorfunctions"},"name":"valid"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called to validate objects before they are saved.   ","parameters":[{"HINT":"Method name or list of method names to call. Can also be called with the `method` argument.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"}],"slug":"model.validate","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called to validate new objects before they are inserted.   ","parameters":[{"HINT":"Method name or list of method names to call. Can also be called with the `method` argument.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validateOnCreate","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validateOnCreate"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Registers method(s) that should be called to validate existing objects before they are updated.   ","parameters":[{"HINT":"Method name or list of method names to call. Can also be called with the `method` argument.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"methods"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validateOnUpdate","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validateOnUpdate"},{"availableIn":["attachments"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"","parameters":[{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"false","TYPE":"string","NAME":"message"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"if"},{"REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"attachments.validatesAttachmentPresenceOf","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"validatesAttachmentPresenceOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property also has an identical confirmation value. This is common when having a user type in their email address a second time to confirm, confirming a password by typing it a second time, etc. The confirmation value only exists temporarily and never gets saved to the database. By convention, the confirmation property has to be named the same as the property with \"Confirmation\" appended at the end. Using the password example, to confirm our password property, we would create a property called <code>passwordConfirmation</code>.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] should match confirmation","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"},{"HINT":"Ensure the confirmed property comparison is case sensitive","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"caseSensitive"}],"slug":"model.validatesConfirmationOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesConfirmationOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property does not exist in the supplied list.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"true","TYPE":"string","HINT":"Single value or list of values that should not be allowed.","NAME":"list"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] is reserved","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If set to `true`, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the `validatesPresenceOf` test, thus avoiding duplicate error messages if it doesn't.","default":false,"NAME":"allowBlank"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validatesExclusionOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesExclusionOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property is formatted correctly by matching it against a regular expression using the regEx argument and / or against a built-in CFML validation type using the type argument (creditcard, date, email, etc.).   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"HINT":"Regular expression to verify against.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"regEx"},{"HINT":"One of the following types to verify against: creditcard, date, email, eurodate, guid, social_security_number, ssn, telephone, time, URL, USdate, UUID, variableName, zipcode (will be passed through to your CFML engine's IsValid() function).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"type"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] is invalid","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If set to `true`, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the `validatesPresenceOf` test, thus avoiding duplicate error messages if it doesn't.","default":false,"NAME":"allowBlank"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validatesFormatOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesFormatOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property exists in the supplied list.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"true","TYPE":"string","HINT":"List of allowed values.","NAME":"list"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] is not included in the list","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If set to `true`, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the `validatesPresenceOf` test, thus avoiding duplicate error messages if it doesn't.","default":false,"NAME":"allowBlank"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validatesInclusionOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesInclusionOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property matches the length requirements supplied. Use the <code>exactly</code>, <code>maximum</code>, <code>minimum</code> and <code>within</code> arguments to specify the length requirements.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] is the wrong length","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If set to `true`, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the `validatesPresenceOf` test, thus avoiding duplicate error messages if it doesn't.","default":false,"NAME":"allowBlank"},{"REQUIRED":"false","TYPE":"numeric","HINT":"The exact length that the property value must be.","default":0,"NAME":"exactly"},{"REQUIRED":"false","TYPE":"numeric","HINT":"The maximum length that the property value can be.","default":0,"NAME":"maximum"},{"REQUIRED":"false","TYPE":"numeric","HINT":"The minimum length that the property value can be.","default":0,"NAME":"minimum"},{"REQUIRED":"false","TYPE":"string","HINT":"A list of two values (minimum and maximum) that the length of the property value must fall within.","default":"","NAME":"within"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validatesLengthOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesLengthOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property is numeric.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] is not a number","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If set to `true`, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the `validatesPresenceOf` test, thus avoiding duplicate error messages if it doesn't.","default":false,"NAME":"allowBlank"},{"REQUIRED":"false","TYPE":"boolean","HINT":"Specifies whether the property value must be an integer.","default":false,"NAME":"onlyInteger"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"},{"REQUIRED":"false","TYPE":"boolean","default":"","NAME":"odd"},{"REQUIRED":"false","TYPE":"boolean","default":"","NAME":"even"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Specifies whether or not the value must be greater than the supplied value.","default":"","NAME":"greaterThan"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Specifies whether or not the value must be greater than or equal the supplied value.","default":"","NAME":"greaterThanOrEqualTo"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Specifies whether or not the value must be equal to the supplied value.","default":"","NAME":"equalTo"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Specifies whether or not the value must be less than the supplied value.","default":"","NAME":"lessThan"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Specifies whether or not the value must be less than or equal the supplied value.","default":"","NAME":"lessThanOrEqualTo"}],"slug":"model.validatesNumericalityOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesNumericalityOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the specified property exists and that its value is not blank.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] can't be empty","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"}],"slug":"model.validatesPresenceOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesPresenceOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Validates that the value of the specified property is unique in the database table. Useful for ensuring that two users can't sign up to a website with identical usernames for example. When a new record is created, a check is made to make sure that no record already exists in the database table with the given value for the specified property. When the record is updated, the same check is made but disregarding the record itself.   ","parameters":[{"HINT":"Name of property or list of property names to validate against (can also be called with the `property` argument).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"properties"},{"REQUIRED":"false","TYPE":"string","HINT":"Supply a custom error message here to override the built-in one.","default":"[property] has already been taken","NAME":"message"},{"HINT":"Pass in `onCreate` or `onUpdate` to limit when this validation occurs (by default validation will occur on both create and update, i.e. `onSave`).","REQUIRED":"false","TYPE":"string","DEFAULT":"onSave","NAME":"when"},{"REQUIRED":"false","TYPE":"boolean","HINT":"If set to `true`, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the `validatesPresenceOf` test, thus avoiding duplicate error messages if it doesn't.","default":false,"NAME":"allowBlank"},{"HINT":"One or more properties by which to limit the scope of the uniqueness constraint.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"scope"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `true` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"condition"},{"HINT":"String expression to be evaluated that decides if validation will be run (if the expression returns `false` validation will run).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"unless"},{"HINT":"Set to `true` to include soft-deleted records in the queries that this method runs.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"true","NAME":"includeSoftDeletes"}],"slug":"model.validatesUniquenessOf","tags":{"category":"Validation Functions","sectionClass":"modelconfiguration","section":"Model Configuration","categoryClass":"validationfunctions"},"name":"validatesUniquenessOf"},{"availableIn":["model"],"extended":{"hasExtended":false,"docs":""},"returntype":"any","hint":"Returns the validation type for the property.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name of column to retrieve data for.","NAME":"property"}],"slug":"model.validationTypeForProperty","tags":{"category":"Miscellaneous Functions","sectionClass":"modelclass","section":"Model Class","categoryClass":"miscellaneousfunctions"},"name":"validationTypeForProperty"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"array","hint":"Returns an array of all the verifications set on this controller in the order in which they will be executed.   ","parameters":[],"slug":"controller.verificationChain","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"verificationChain"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"void","hint":"Instructs Wheels to verify that some specific criteria are met before running an action. Note that all undeclared arguments will be passed to <code>redirectTo()</code> call if a <code>handler</code> is not specified.   ","parameters":[{"HINT":"List of action names to limit this verification to.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"only"},{"HINT":"List of action names to exclude this verification from.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"except"},{"HINT":"Set to true to verify that this is a `POST` request.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"post"},{"HINT":"Set to true to verify that this is a `GET` request.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"get"},{"HINT":"Set to true to verify that this is an `AJAX` request.","REQUIRED":"false","TYPE":"any","DEFAULT":"","NAME":"ajax"},{"HINT":"Verify that the passed in variable name exists in the cookie scope.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"cookie"},{"HINT":"Verify that the passed in variable name exists in the session scope.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"session"},{"HINT":"Verify that the passed in variable name exists in the params struct.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"params"},{"REQUIRED":"false","TYPE":"string","HINT":"Pass in the name of a function that should handle failed verifications. The default is to just abort the request when a verification fails.","default":"","NAME":"handler"},{"HINT":"List of types to check each listed cookie value against (will be passed through to your CFML engine's `IsValid` function).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"cookieTypes"},{"HINT":"List of types to check each list session value against (will be passed through to your CFML engine's `IsValid` function).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"sessionTypes"},{"HINT":"List of types to check each params value against (will be passed through to your CFML engine's `IsValid` function).","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"paramsTypes"}],"slug":"controller.verifies","tags":{"category":"Configuration Functions","sectionClass":"controller","section":"Controller","categoryClass":"configurationfunctions"},"name":"verifies"},{"availableIn":["mapper"],"extended":{"hasExtended":false,"docs":""},"returntype":"struct","hint":"Special wildcard matching generates routes with ` ","parameters":[{"HINT":"List of HTTP methods (verbs) to generate the wildcard routes for. We strongly recommend leaving the default value of `get` and using other routing mappers if you need to `POST` to a URL endpoint. For better readability, you can also pass this argument as `methods` if you're listing multiple methods.","REQUIRED":"false","TYPE":"string","DEFAULT":"get","NAME":"method"},{"HINT":"Default action to specify if the value for the `[action]` placeholder is not provided.","REQUIRED":"false","TYPE":"string","DEFAULT":"index","NAME":"action"},{"HINT":"Whether or not to enable a `[key]` matcher, enabling a `[controller]/[action]/[key]` pattern.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"mapKey"},{"HINT":"Whether or not to add an optional `.[format]` pattern to the end of the generated routes. This is useful for providing formats via URL like `json`, `xml`, `pdf`, etc.","REQUIRED":"false","TYPE":"boolean","DEFAULT":"false","NAME":"mapFormat"}],"slug":"mapper.wildcard","tags":{"category":"Routing","sectionClass":"configuration","section":"Configuration","categoryClass":"routing"},"name":"wildcard"},{"availableIn":["controller","model","test","mapper","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Truncates text to the specified length of words and replaces the remaining characters with the specified truncate string (which defaults to \"...\").   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"The text to truncate.","NAME":"text"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Number of words to truncate the text to.","default":5,"NAME":"length"},{"REQUIRED":"false","TYPE":"string","HINT":"String to replace the last characters with.","default":"...","NAME":"truncateString"}],"slug":"controller.wordTruncate","tags":{"category":"String Functions","sectionClass":"globalhelpers","section":"Global Helpers","categoryClass":"stringfunctions"},"name":"wordTruncate"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"numeric","NAME":"days"}],"slug":"controller.xDaysAgo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"xDaysAgo"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"numeric","NAME":"months"}],"slug":"controller.xMonthsAgo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"xMonthsAgo"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"numeric","NAME":"weeks"}],"slug":"controller.xWeeksAgo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"xWeeksAgo"},{"availableIn":["controller","model","test","migrator","migration","tabledefinition"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"","parameters":[{"REQUIRED":"true","TYPE":"numeric","NAME":"years"}],"slug":"controller.xYearsAgo","tags":{"category":"","sectionClass":"","section":"","categoryClass":""},"name":"xYearsAgo"},{"availableIn":["controller"],"extended":{"hasExtended":false,"docs":""},"returntype":"string","hint":"Builds and returns a string containing a <code>select</code> form control for a range of years based on the supplied name.   ","parameters":[{"REQUIRED":"true","TYPE":"string","HINT":"Name to populate in tag's name attribute.","NAME":"name"},{"HINT":"The year that should be selected initially.","REQUIRED":"false","TYPE":"string","DEFAULT":"","NAME":"selected"},{"REQUIRED":"false","TYPE":"numeric","HINT":"First year in `select` list.","default":2021.0,"NAME":"startYear"},{"REQUIRED":"false","TYPE":"numeric","HINT":"Last year in `select` list.","default":2031.0,"NAME":"endYear"},{"REQUIRED":"false","TYPE":"any","HINT":"Whether to include a blank option in the select form control. Pass true to include a blank line or a string that should represent what display text should appear for the empty value (for example, \"- Select One -\").","default":false,"NAME":"includeBlank"},{"REQUIRED":"false","TYPE":"string","HINT":"The label text to use in the form control.","default":"","NAME":"label"},{"REQUIRED":"false","TYPE":"string","HINT":"Whether to place the label before, after, or wrapped around the form control. Label text placement can be controlled using aroundLeft or aroundRight.","default":"around","NAME":"labelPlacement"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"prepend"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control. Useful to wrap the form control with HTML tags.","default":"","NAME":"append"},{"REQUIRED":"false","TYPE":"string","HINT":"String to prepend to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"prependToLabel"},{"REQUIRED":"false","TYPE":"string","HINT":"String to append to the form control's label. Useful to wrap the form control with HTML tags.","default":"","NAME":"appendToLabel"},{"REQUIRED":"false","TYPE":"any","HINT":"Use this argument to decide whether the output of the function should be encoded in order to prevent Cross Site Scripting (XSS) attacks. Set it to `true` to encode all relevant output for the specific HTML element in question (e.g. tag content, attribute values, and URLs). For HTML elements that have both tag content and attribute values you can set this argument to `attributes` to only encode attribute values and not tag content.","default":true,"NAME":"encode"},{"REQUIRED":"false","TYPE":"date","DEFAULT":"[runtime expression]","NAME":"$now"}],"slug":"controller.yearSelectTag","tags":{"category":"Form Tag Functions","sectionClass":"viewhelpers","section":"View Helpers","categoryClass":"formtagfunctions"},"name":"yearSelectTag"}]} 