| 1 | <?php |
||
| 28 | class Types extends StaticAbstract |
||
| 29 | { |
||
| 30 | /**#@+ |
||
| 31 | * Parameter types |
||
| 32 | * |
||
| 33 | * @var int |
||
| 34 | */ |
||
| 35 | |||
| 36 | /** |
||
| 37 | * null |
||
| 38 | */ |
||
| 39 | const PARAM_NULL = \PDO::PARAM_NULL; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * integer |
||
| 43 | */ |
||
| 44 | const PARAM_INT = \PDO::PARAM_INT; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * string |
||
| 48 | */ |
||
| 49 | const PARAM_STR = \PDO::PARAM_STR; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * lob |
||
| 53 | */ |
||
| 54 | const PARAM_LOB = \PDO::PARAM_LOB; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * statement |
||
| 58 | */ |
||
| 59 | const PARAM_STMT = \PDO::PARAM_STMT; |
||
| 60 | |||
| 61 | /** |
||
| 62 | * boolean |
||
| 63 | */ |
||
| 64 | const PARAM_BOOL = \PDO::PARAM_BOOL; |
||
| 65 | |||
| 66 | /**#@-*/ |
||
| 67 | |||
| 68 | /** |
||
| 69 | * bind parameters |
||
| 70 | * |
||
| 71 | * @param mixed value |
||
| 72 | * @param int $suggestType suggested type |
||
| 73 | * @return int |
||
| 74 | * @access public |
||
| 75 | * @static |
||
| 76 | */ |
||
| 77 | public static function guessType( |
||
| 91 | } |
||
| 92 |