public/phpmyadmin/test/classes/Rte/EventsTest.php
/**
     * Data provider for testGetEditorFormAdd
     *
     * @return array
     */
Data provider for testGetEditorFormAdd
@return array
Data provider for testGetEditorFormAdd @return array
public function providerGetEditorFormAdd()
    {
        $data = array(
            'item_name'           => '',
            'item_type'           => 'ONE TIME',
            'item_type_toggle'    => 'RECURRING',
            'item_original_name'  => '',
            'item_status'         => '',
            'item_execute_at'     => '',
            'item_interval_value' => '',
            'item_interval_field' => '',
            'item_starts'         => '',
            'item_ends'           => '',
            'item_definition'     => '',
            'item_preserve'       => '',
            'item_comment'        => '',
            'item_definer'        => ''
        );
        return array(
            array(
                $data,
                "<input name='add_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_add'"
            )
        );
    }
public function providerGetEditorFormAdd ( ) { $ data = array ( 'item_name' => '' , 'item_type' => 'ONE TIME' , 'item_type_toggle' => 'RECURRING' , 'item_original_name' => '' , 'item_status' => '' , 'item_execute_at' => '' , 'item_interval_value' => '' , 'item_interval_field' => '' , 'item_starts' => '' , 'item_ends' => '' , 'item_definition' => '' , 'item_preserve' => '' , 'item_comment' => '' , 'item_definer' => '' ) ; return array ( array ( $ data , " <input name='add_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_add' " ) ) ; }
Data provider for testGetEditorFormAdd
 @return array
Data provider for testGetEditorFormAdd @return array