[ 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($statement, array $values = []) X-Ref |
Rebuilds a statement with placeholders and bound values. return: array An array where element 0 is the rebuilt statement and param: string $statement The statement to rebuild. param: array $values The values to bind and/or replace into a statement. |
rebuildStatement($statement) X-Ref |
Given a statement, rebuilds it with array values embedded. return: string The rebuilt statement. param: string $statement The SQL statement. |
rebuildParts(array $parts) X-Ref |
Given an array of statement parts, rebuilds each part. return: string The rebuilt statement. param: array $parts The statement parts. |
rebuildPart($part) X-Ref |
Rebuilds a single statement part. return: string The rebuilt statement. param: string $part The statement part. |
prepareValuePlaceholders(array $subs) X-Ref |
Prepares the sub-parts of a query with placeholders. return: string The prepared subparts. param: array $subs The query subparts. |
prepareNumberedPlaceholder() X-Ref |
Bind or quote a numbered placeholder in a query subpart. return: string The prepared query subpart. |
prepareNamedPlaceholder($sub) X-Ref |
Bind or quote a named placeholder in a query subpart. return: string The prepared query subpart. param: string $sub The query subpart. |
getPlaceholderName($orig) X-Ref |
Given an original placeholder name, return a replacement name. return: string param: string $orig The original placeholder name. |
expandNamedPlaceholder($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. return: string param: string $prefix The named placeholder. param: array $values The array values to be bound. |
getParts($statement) X-Ref |
Given a query string, split it into parts. return: array param: string $statement The query string. |
Generated: Tue Jan 21 05:10:11 2025 | Cross-referenced by PHPXref 0.7.1 |