classes.other/PSM.php
/*The short-hand function for the 'cstatement' function.*/
The short-hand function for the 'cstatement' function.
The short - hand function for the ' cstatement ' function .
public function short_cstatement($array, $build = false)
          {
            if (isset($array[0])) $call['table'] = $array[0];
            if (isset($array[1])) $call['cols']  = $array[1];
            if (isset($array[2])) $call['where'] = $array[2];
            if (isset($array[3])) $call['order'] = $array[3];
            if (isset($array[4])) $call['limit'] = $array[4];
            return $this->cstatement( $call, $build );
          }
public function short_cstatement ( $ array , $ build = false ) { if ( isset ( $ array [ 0 ] ) ) $ call [ 'table' ] = $ array [ 0 ] ; if ( isset ( $ array [ 1 ] ) ) $ call [ 'cols' ] = $ array [ 1 ] ; if ( isset ( $ array [ 2 ] ) ) $ call [ 'where' ] = $ array [ 2 ] ; if ( isset ( $ array [ 3 ] ) ) $ call [ 'order' ] = $ array [ 3 ] ; if ( isset ( $ array [ 4 ] ) ) $ call [ 'limit' ] = $ array [ 4 ] ; return $ this -> cstatement ( $ call , $ build ) ; }
The short-hand function for the 'cstatement' function.
The short - hand function for the ' cstatement ' function .
// Array definitions are: [Table, Cols, Where, Order and Limit].