public/phpmyadmin/test/classes/Rte/RoutinesTest.php
/**
     * Data provider for testGetExecuteForm2
     *
     * @return array
     */
Data provider for testGetExecuteForm2
@return array
Data provider for testGetExecuteForm2 @return array
public function providerGetExecuteForm2()
    {
        $data = array(
            'item_name'                 => 'foo',
            'item_returnlength'         => '',
            'item_returnopts_num'       => '',
            'item_returnopts_text'      => '',
            'item_definition'           => 'SELECT 1;',
            'item_comment'              => '',
            'item_definer'              => '',
            'item_type'                 => 'PROCEDURE',
            'item_num_params'           => 6,
            'item_param_dir'            => array(
                0 => 'IN',
                1 => 'OUT',
                2 => 'IN',
                3 => 'IN',
                4 => 'IN',
                5 => 'IN'
            ),
            'item_param_name'           => array(
                0 => 'foo',
                1 => 'foa',
                2 => 'fob',
                3 => 'foc',
                4 => 'fod',
                5 => 'foe'
            ),
            'item_param_type'           => array(
                0 => 'DATE',
                1 => 'VARCHAR',
                2 => 'DATETIME',
                3 => 'GEOMETRY',
                4 => 'ENUM',
                5 => 'SET'
            ),
            'item_param_length'         => array(
                0 => '',
                1 => '22',
                2 => '',
                3 => '',
                4 => "'a','b'",
                5 => "'a','b'"
            ),
            'item_param_length_arr'     => array(
                0 => array(),
                1 => array('22'),
                2 => array(),
                3 => array(),
                4 => array("'a'", "'b'"),
                5 => array("'a'", "'b'")
            ),
            'item_param_opts_num'       => array(
                0 => '',
                1 => '',
                2 => '',
                3 => '',
                4 => '',
                5 => ''
            ),
            'item_param_opts_text'      => array(
                0 => '',
                1 => 'utf8',
                2 => '',
                3 => '',
                4 => '',
                5 => ''
            ),
            'item_returntype'           => '',
            'item_isdeterministic'      => '',
            'item_securitytype_definer' => '',
            'item_securitytype_invoker' => '',
            'item_sqldataaccess'        => ''
        );
        return array(
            array(
                $data,
                "name='execute_routine'"
            ),
            array(
                $data,
                "name='ajax_request'"
            ),
        );
    }
public function providerGetExecuteForm2 ( ) { $ data = array ( 'item_name' => 'foo' , 'item_returnlength' => '' , 'item_returnopts_num' => '' , 'item_returnopts_text' => '' , 'item_definition' => 'SELECT 1;' , 'item_comment' => '' , 'item_definer' => '' , 'item_type' => 'PROCEDURE' , 'item_num_params' => 6 , 'item_param_dir' => array ( 0 => 'IN' , 1 => 'OUT' , 2 => 'IN' , 3 => 'IN' , 4 => 'IN' , 5 => 'IN' ) , 'item_param_name' => array ( 0 => 'foo' , 1 => 'foa' , 2 => 'fob' , 3 => 'foc' , 4 => 'fod' , 5 => 'foe' ) , 'item_param_type' => array ( 0 => 'DATE' , 1 => 'VARCHAR' , 2 => 'DATETIME' , 3 => 'GEOMETRY' , 4 => 'ENUM' , 5 => 'SET' ) , 'item_param_length' => array ( 0 => '' , 1 => '22' , 2 => '' , 3 => '' , 4 => " 'a','b' " , 5 => " 'a','b' " ) , 'item_param_length_arr' => array ( 0 => array ( ) , 1 => array ( '22' ) , 2 => array ( ) , 3 => array ( ) , 4 => array ( " 'a' " , " 'b' " ) , 5 => array ( " 'a' " , " 'b' " ) ) , 'item_param_opts_num' => array ( 0 => '' , 1 => '' , 2 => '' , 3 => '' , 4 => '' , 5 => '' ) , 'item_param_opts_text' => array ( 0 => '' , 1 => 'utf8' , 2 => '' , 3 => '' , 4 => '' , 5 => '' ) , 'item_returntype' => '' , 'item_isdeterministic' => '' , 'item_securitytype_definer' => '' , 'item_securitytype_invoker' => '' , 'item_sqldataaccess' => '' ) ; return array ( array ( $ data , " name='execute_routine' " ) , array ( $ data , " name='ajax_request' " ) , ) ; }
Data provider for testGetExecuteForm2
 @return array
Data provider for testGetExecuteForm2 @return array