| [ Index ] |
PHP Cross Reference of YOURLS |
[Source view] [Print] [Project Stats]
This file is part of Aura for PHP.
| License: | https://opensource.org/licenses/MIT MIT |
| File Size: | 318 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| rebuild(string $statement, array $values = []) X-Ref |
| Rebuilds a statement with placeholders and bound values. param: string $statement The statement to rebuild. param: array $values The values to bind and/or replace into a statement. return: array An array where element 0 is the rebuilt statement and |
| rebuildStatement(string $statement) X-Ref |
| Given a statement, rebuilds it with array values embedded. param: string $statement The SQL statement. return: string The rebuilt statement. |
| rebuildParts(array $parts) X-Ref |
| Given an array of statement parts, rebuilds each part. param: array $parts The statement parts. return: string The rebuilt statement. |
| rebuildPart(string $part) X-Ref |
| Rebuilds a single statement part. param: string $part The statement part. return: string The rebuilt statement. |
| prepareValuePlaceholders(array $subs) X-Ref |
| Prepares the sub-parts of a query with placeholders. param: array $subs The query subparts. return: string The prepared subparts. |
| prepareNumberedPlaceholder() X-Ref |
| Bind or quote a numbered placeholder in a query subpart. return: string The prepared query subpart. |
| prepareNamedPlaceholder(string $sub) X-Ref |
| Bind or quote a named placeholder in a query subpart. param: string $sub The query subpart. return: string The prepared query subpart. |
| getPlaceholderName(string $orig) X-Ref |
| Given an original placeholder name, return a replacement name. param: string $orig The original placeholder name. return: string |
| expandNamedPlaceholder(string $prefix, array $values) X-Ref |
| Given a named placeholder for an array, expand it for the array values, and bind those values to the expanded names. param: string $prefix The named placeholder. param: array $values The array values to be bound. return: string |
| getParts(string $statement) X-Ref |
| Given a query string, split it into parts. param: string $statement The query string. return: array |
| Generated: Wed Nov 5 05:10:36 2025 | Cross-referenced by PHPXref 0.7.1 |