Subversion Repositories oidplus

Rev

Rev 1116 | Rev 1130 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1116 Rev 1128
Line 214... Line 214...
214
        /**
214
        /**
215
         * @param object $stmt
215
         * @param object $stmt
216
         * @param array $params
216
         * @param array $params
217
         * @return bool
217
         * @return bool
218
         */
218
         */
219
        private static function bind_placeholder_vars(object &$stmt, array $params): bool {
219
        private static function bind_placeholder_vars(&$stmt, array $params): bool {
-
 
220
                // Note: "object" is not a type-hint!
220
                // Credit to: Dave Morgan
221
                // Credit to: Dave Morgan
221
                // Code taken from: http://www.devmorgan.com/blog/2009/03/27/dydl-part-3-dynamic-binding-with-mysqli-php/
222
                // Code taken from: http://www.devmorgan.com/blog/2009/03/27/dydl-part-3-dynamic-binding-with-mysqli-php/
222
                //                  https://stackoverflow.com/questions/17219214/how-to-bind-in-mysqli-dynamically
223
                //                  https://stackoverflow.com/questions/17219214/how-to-bind-in-mysqli-dynamically
223
                if ($params != null) {
224
                if ($params != null) {
224
                        $types = '';                        //initial sting with types
225
                        $types = '';                        //initial sting with types