public/phpmyadmin/test/classes/Rte/RoutinesTest.php
/**
     * Data provider for testGetEditorForm3
     *
     * @return array
     */
Data provider for testGetEditorForm3
@return array
Data provider for testGetEditorForm3 @return array
public function providerGetEditorForm3()
    {
        $data = array(
            'item_name'                 => 'foo',
            'item_original_name'        => 'bar',
            'item_returnlength'         => '',
            'item_returnopts_num'       => 'UNSIGNED',
            'item_returnopts_text'      => '',
            'item_definition'           => 'SELECT 1',
            'item_comment'              => '',
            'item_definer'              => '',
            'item_type'                 => 'FUNCTION',
            'item_type_toggle'          => 'PROCEDURE',
            'item_original_type'        => 'FUNCTION',
            'item_num_params'           => 1,
            'item_param_dir'            => array(0 => ''),
            'item_param_name'           => array(0 => 'baz'),
            'item_param_type'           => array(0 => 'INT'),
            'item_param_length'         => array(0 => '20'),
            'item_param_opts_num'       => array(0 => 'UNSIGNED'),
            'item_param_opts_text'      => array(0 => ''),
            'item_returntype'           => 'INT',
            'item_isdeterministic'      => '',
            'item_securitytype_definer' => '',
            'item_securitytype_invoker' => '',
            'item_sqldataaccess'        => 'NO SQL'
        );
        return array(
            array(
                $data,
                "name='edit_item'"
            ),
            array(
                $data,
                "name='item_name'"
            ),
            array(
                $data,
                "<select name='item_type'"
            ),
            array(
                $data,
                "name='routine_addparameter'"
            ),
            array(
                $data,
                "name='routine_removeparameter'"
            ),
            array(
                $data,
                "<select name='item_returntype'"
            ),
            array(
                $data,
                "name='item_returnlength'"
            ),
            array(
                $data,
                "<select name='item_returnopts_num'"
            ),
            array(
                $data,
                "<textarea name='item_definition'"
            ),
            array(
                $data,
                "name='item_isdeterministic'"
            ),
            array(
                $data,
                "name='item_definer'"
            ),
            array(
                $data,
                "<select name='item_securitytype'"
            ),
            array(
                $data,
                "<select name='item_sqldataaccess'"
            ),
            array(
                $data,
                "name='item_comment'"
            ),
            array(
                $data,
                "name='ajax_request'"
            ),
            array(
                $data,
                "name='editor_process_edit'"
            ),
        );
    }
public function providerGetEditorForm3 ( ) { $ data = array ( 'item_name' => 'foo' , 'item_original_name' => 'bar' , 'item_returnlength' => '' , 'item_returnopts_num' => 'UNSIGNED' , 'item_returnopts_text' => '' , 'item_definition' => 'SELECT 1' , 'item_comment' => '' , 'item_definer' => '' , 'item_type' => 'FUNCTION' , 'item_type_toggle' => 'PROCEDURE' , 'item_original_type' => 'FUNCTION' , 'item_num_params' => 1 , 'item_param_dir' => array ( 0 => '' ) , 'item_param_name' => array ( 0 => 'baz' ) , 'item_param_type' => array ( 0 => 'INT' ) , 'item_param_length' => array ( 0 => '20' ) , 'item_param_opts_num' => array ( 0 => 'UNSIGNED' ) , 'item_param_opts_text' => array ( 0 => '' ) , 'item_returntype' => 'INT' , 'item_isdeterministic' => '' , 'item_securitytype_definer' => '' , 'item_securitytype_invoker' => '' , 'item_sqldataaccess' => 'NO SQL' ) ; return array ( array ( $ data , " name='edit_item' " ) , array ( $ data , " name='item_name' " ) , array ( $ data , " <select name='item_type' " ) , array ( $ data , " name='routine_addparameter' " ) , array ( $ data , " name='routine_removeparameter' " ) , array ( $ data , " <select name='item_returntype' " ) , array ( $ data , " name='item_returnlength' " ) , array ( $ data , " <select name='item_returnopts_num' " ) , array ( $ data , " <textarea name='item_definition' " ) , array ( $ data , " name='item_isdeterministic' " ) , array ( $ data , " name='item_definer' " ) , array ( $ data , " <select name='item_securitytype' " ) , array ( $ data , " <select name='item_sqldataaccess' " ) , array ( $ data , " name='item_comment' " ) , array ( $ data , " name='ajax_request' " ) , array ( $ data , " name='editor_process_edit' " ) , ) ; }
Data provider for testGetEditorForm3
 @return array
Data provider for testGetEditorForm3 @return array