classes.other/PSM.php
// Shorthand function for chaining the statement builder.
Shorthand function for chaining the statement builder.
Shorthand function for chaining the statement builder .
public function chainer($chainer_array, callable $looper)
        {
          if (isset($chainer_array[0])) $this->select($chainer_array[0]);
          if (isset($chainer_array[1])) $this->where($chainer_array[1]);
          if (isset($chainer_array[2])) $this->order($chainer_array[2]);
          if (isset($chainer_array[3])) $this->limit($chainer_array[3 ]);
          $this->run($looper);
        }
public function chainer ( $ chainer_array , callable $ looper ) { if ( isset ( $ chainer_array [ 0 ] ) ) $ this -> select ( $ chainer_array [ 0 ] ) ; if ( isset ( $ chainer_array [ 1 ] ) ) $ this -> where ( $ chainer_array [ 1 ] ) ; if ( isset ( $ chainer_array [ 2 ] ) ) $ this -> order ( $ chainer_array [ 2 ] ) ; if ( isset ( $ chainer_array [ 3 ] ) ) $ this -> limit ( $ chainer_array [ 3 ] ) ; $ this -> run ( $ looper ) ; }
Shorthand function for chaining the statement builder.
Shorthand function for chaining the statement builder .