v5:reference:connection:setcustommetatype
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:setcustommetatype [2021/01/18 04:02] – mnewnham | v5:reference:connection:setcustommetatype [2025/07/19 02:39] (current) – [Using a closure] mnewnham | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <WRAP right box> | <WRAP right box> | ||
| **From Version 5.22**\\ | **From Version 5.22**\\ | ||
| + | ==See Also== | ||
| + | [[v5: | ||
| == Syntax == | == Syntax == | ||
| bool setCustomMetaType( | bool setCustomMetaType( | ||
| Line 25: | Line 27: | ||
| ===== $handleAsType ==== | ===== $handleAsType ==== | ||
| - | One of the standard [[v5: | + | One of the standard [[v5: |
| =====$callback ===== | =====$callback ===== | ||
| Line 46: | Line 48: | ||
| /* | /* | ||
| - | * A type ' | + | * A type ' |
| + | * and we describe it as ' | ||
| + | * any changes to the input value, we do not define any processing rules | ||
| */ | */ | ||
| $ok = $db-> | $ok = $db-> | ||
| Line 66: | Line 70: | ||
| */ | */ | ||
| $callback = function($val) { | $callback = function($val) { | ||
| - | return strtolower($val); | + | return strtolower($val |
| }; | }; | ||
v5/reference/connection/setcustommetatype.1610938957.txt.gz · Last modified: by mnewnham
