How to translate to yii


	$getnumber =  str_pad($getnumber, 30);

	$tsql_callSP = "{call spSetCustomerTransaction (?, ?)}";


		$params = array( 

						 array('10003500', SQLSRV_PARAM_IN),

						 array($getnumber, SQLSRV_PARAM_INOUT)


		/* Execute the query. */

		$stmt3 = sqlsrv_query( $conn, $tsql_callSP, $params);

		if( $stmt3 === false )


			 echo "Error in executing statement 3.\n";

			 die( print_r( sqlsrv_errors(), true));



		sqlsrv_free_stmt( $stmt3);


		echo $getnumber;




when i used this code i get output parameter

when i translate to yii. i got error, from undefine $getnumber and more error.