public/phpmyadmin/test/classes/Rte/RoutinesTest.php
/**
     * Data provider for testGetParameterRow
     *
     * @return array
     */
Data provider for testGetParameterRow
@return array
Data provider for testGetParameterRow @return array
public function providerGetParameterRow()
    {
        $data = array(
            'item_name'                 => '',
            'item_original_name'        => '',
            'item_returnlength'         => '',
            'item_returnopts_num'       => '',
            'item_returnopts_text'      => '',
            'item_definition'           => '',
            'item_comment'              => '',
            'item_definer'              => '',
            'item_type'                 => 'PROCEDURE',
            'item_type_toggle'          => 'FUNCTION',
            'item_original_type'        => 'PROCEDURE',
            'item_num_params'           => 1,
            'item_param_dir'            => array(0 => 'IN'),
            'item_param_name'           => array(0 => 'foo'),
            'item_param_type'           => array(0 => 'INT'),
            'item_param_length'         => array(0 => ''),
            'item_param_opts_num'       => array(0 => 'UNSIGNED'),
            'item_param_opts_text'      => array(0 => ''),
            'item_returntype'           => '',
            'item_isdeterministic'      => '',
            'item_securitytype_definer' => '',
            'item_securitytype_invoker' => '',
            'item_sqldataaccess'        => ''
        );
        return array(
            array(
                $data,
                0,
                "<select name='item_param_dir[0]'"
            ),
            array(
                $data,
                0,
                "<input name='item_param_name[0]'"
            ),
            array(
                $data,
                0,
                "<select name='item_param_type[0]'"
            ),
            array(
                $data,
                0,
                "<select name='item_param_opts_num[0]'"
            ),
            array(
                $data,
                0,
                "<a href='#' class='routine_param_remove_anchor'"
            ),
        );
    }
public function providerGetParameterRow ( ) { $ data = array ( 'item_name' => '' , 'item_original_name' => '' , 'item_returnlength' => '' , 'item_returnopts_num' => '' , 'item_returnopts_text' => '' , 'item_definition' => '' , 'item_comment' => '' , 'item_definer' => '' , 'item_type' => 'PROCEDURE' , 'item_type_toggle' => 'FUNCTION' , 'item_original_type' => 'PROCEDURE' , 'item_num_params' => 1 , 'item_param_dir' => array ( 0 => 'IN' ) , 'item_param_name' => array ( 0 => 'foo' ) , 'item_param_type' => array ( 0 => 'INT' ) , 'item_param_length' => array ( 0 => '' ) , 'item_param_opts_num' => array ( 0 => 'UNSIGNED' ) , 'item_param_opts_text' => array ( 0 => '' ) , 'item_returntype' => '' , 'item_isdeterministic' => '' , 'item_securitytype_definer' => '' , 'item_securitytype_invoker' => '' , 'item_sqldataaccess' => '' ) ; return array ( array ( $ data , 0 , " <select name='item_param_dir[0]' " ) , array ( $ data , 0 , " <input name='item_param_name[0]' " ) , array ( $ data , 0 , " <select name='item_param_type[0]' " ) , array ( $ data , 0 , " <select name='item_param_opts_num[0]' " ) , array ( $ data , 0 , " <a href='#' class='routine_param_remove_anchor' " ) , ) ; }
Data provider for testGetParameterRow
 @return array
Data provider for testGetParameterRow @return array