public/phpmyadmin/test/classes/Rte/RoutinesTest.php
/**
     * Data provider for testGetEditorForm1
     *
     * @return array
     */
Data provider for testGetEditorForm1
@return array
Data provider for testGetEditorForm1 @return array
public function providerGetEditorForm1()
    {
        $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'           => 0,
            'item_param_dir'            => array(),
            'item_param_name'           => array(),
            'item_param_type'           => array(),
            'item_param_length'         => array(),
            'item_param_opts_num'       => array(),
            'item_param_opts_text'      => array(),
            'item_returntype'           => '',
            'item_isdeterministic'      => '',
            'item_securitytype_definer' => '',
            'item_securitytype_invoker' => '',
            'item_sqldataaccess'        => ''
        );
        return array(
            array(
                $data,
                "<input name='add_item'"
            ),
            array(
                $data,
                "<input type='text' name='item_name'"
            ),
            array(
                $data,
                "<input name='item_type'"
            ),
            array(
                $data,
                "name='routine_changetype'"
            ),
            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='editor_process_add'"
            )
        );
    }
public function providerGetEditorForm1 ( ) { $ 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' => 0 , 'item_param_dir' => array ( ) , 'item_param_name' => array ( ) , 'item_param_type' => array ( ) , 'item_param_length' => array ( ) , 'item_param_opts_num' => array ( ) , 'item_param_opts_text' => array ( ) , 'item_returntype' => '' , 'item_isdeterministic' => '' , 'item_securitytype_definer' => '' , 'item_securitytype_invoker' => '' , 'item_sqldataaccess' => '' ) ; return array ( array ( $ data , " <input name='add_item' " ) , array ( $ data , " <input type='text' name='item_name' " ) , array ( $ data , " <input name='item_type' " ) , array ( $ data , " name='routine_changetype' " ) , 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='editor_process_add' " ) ) ; }
Data provider for testGetEditorForm1
 @return array
Data provider for testGetEditorForm1 @return array