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:01] – mnewnham | v5:reference:connection:setcustommetatype [2025/07/19 02:39] (current) – [Using a closure] mnewnham | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| **From Version 5.22**\\ | **From Version 5.22**\\ | ||
| ==See Also== | ==See Also== | ||
| - | [[v5: | + | [[v5: |
| == Syntax == | == Syntax == | ||
| bool setCustomMetaType( | bool setCustomMetaType( | ||
| Line 27: | Line 27: | ||
| ===== $handleAsType ==== | ===== $handleAsType ==== | ||
| - | One of the standard [[v5: | + | One of the standard [[v5: |
| =====$callback ===== | =====$callback ===== | ||
| Line 48: | 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 68: | Line 70: | ||
| */ | */ | ||
| $callback = function($val) { | $callback = function($val) { | ||
| - | return strtolower($val); | + | return strtolower($val |
| }; | }; | ||
v5/reference/connection/setcustommetatype.1610938919.txt.gz · Last modified: by mnewnham
