public/phpmyadmin/test/classes/Rte/EventsTest.php
/**
     * Data provider for testGetEditorFormEdit
     *
     * @return array
     */
Data provider for testGetEditorFormEdit
@return array
Data provider for testGetEditorFormEdit @return array
public function providerGetEditorFormEdit()
    {
        $data = array(
            'item_name'           => 'foo',
            'item_type'           => 'RECURRING',
            'item_type_toggle'    => 'ONE TIME',
            'item_original_name'  => 'bar',
            'item_status'         => 'ENABLED',
            'item_execute_at'     => '',
            'item_interval_value' => '1',
            'item_interval_field' => 'DAY',
            'item_starts'         => '',
            'item_ends'           => '',
            'item_definition'     => 'SET @A=1;',
            'item_preserve'       => '',
            'item_comment'        => '',
            'item_definer'        => ''
        );
        return array(
            array(
                $data,
                "<input name='edit_item'"
            ),
            array(
                $data,
                "<input type='text' name='item_name'"
            ),
            array(
                $data,
                "<select name='item_status'"
            ),
            array(
                $data,
                "<input name='item_type'"
            ),
            array(
                $data,
                "<input type='text' name='item_execute_at'"
            ),
            array(
                $data,
                "<input type='text' name='item_ends'"
            ),
            array(
                $data,
                "<textarea name='item_definition'"
            ),
            array(
                $data,
                "<input type='text' name='item_definer'"
            ),
            array(
                $data,
                "<input type='text' name='item_comment'"
            ),
            array(
                $data,
                "<input type='submit' name='editor_process_edit'"
            )
        );
    }
public function providerGetEditorFormEdit ( ) { $ data = array ( 'item_name' => 'foo' , 'item_type' => 'RECURRING' , 'item_type_toggle' => 'ONE TIME' , 'item_original_name' => 'bar' , 'item_status' => 'ENABLED' , 'item_execute_at' => '' , 'item_interval_value' => '1' , 'item_interval_field' => 'DAY' , 'item_starts' => '' , 'item_ends' => '' , 'item_definition' => 'SET @A=1;' , 'item_preserve' => '' , 'item_comment' => '' , 'item_definer' => '' ) ; return array ( array ( $ data , " <input name='edit_item' " ) , array ( $ data , " <input type='text' name='item_name' " ) , array ( $ data , " <select name='item_status' " ) , array ( $ data , " <input name='item_type' " ) , array ( $ data , " <input type='text' name='item_execute_at' " ) , array ( $ data , " <input type='text' name='item_ends' " ) , array ( $ data , " <textarea name='item_definition' " ) , array ( $ data , " <input type='text' name='item_definer' " ) , array ( $ data , " <input type='text' name='item_comment' " ) , array ( $ data , " <input type='submit' name='editor_process_edit' " ) ) ; }
Data provider for testGetEditorFormEdit
 @return array
Data provider for testGetEditorFormEdit @return array