public/phpmyadmin/test/classes/Display/ResultsTest.php
/**
     * Data provider for testGetDeleteLink
     *
     * @return array parameters and output
     */
Data provider for testGetDeleteLink
@return array parameters and output
Data provider for testGetDeleteLink @return array parameters and output
public function dataProviderForGetDeleteLink()
    {
        return array(
            array(
                'sql.php?db=Data&amp;table=customer&amp;sql_query=DELETE+FROM+%60'
                . 'Data%60.%60customer%60+WHERE+%60customer%60.%60id%60+%3D+1&amp;'
                . 'message_to_show=The+row+has+been+deleted&amp;goto=sql.php%3Fdb'
                . '%3DData%26table%3Dcustomer%26sql_query%3DSELECT%2B%252A%2BFROM'
                . '%2B%2560customer%2560%26message_to_show%3DThe%2Brow%2Bhas%2Bbeen'
                . '%2Bdeleted%26goto%3Dtbl_structure.php',
                '<span class="nowrap"><img src="themes/dot.gif" title="Delete" '
                . 'alt="Delete" class="icon ic_b_drop" /> Delete</span>',
                'DELETE FROM `Data`.`customer` WHERE `customer`.`id` = 1',
                'klass',
                '<td class="klass center print_ignore"  >'
                . '<a href="sql.php" data-post="db=Data&amp;table=customer&amp;sql_query=DELETE'
                . '+FROM+%60Data%60.%60customer%60+WHERE+%60customer%60.%60id%60+%3D'
                . '+1&amp;message_to_show=The+row+has+been+deleted&amp;goto=sql.php'
                . '%3Fdb%3DData%26table%3Dcustomer%26sql_query%3DSELECT%2B%252A%2B'
                . 'FROM%2B%2560customer%2560%26message_to_show%3DThe%2Brow%2Bhas%2B'
                . 'been%2Bdeleted%26goto%3Dtbl_structure.php" '
                . 'class="delete_row requireConfirm"><span class="nowrap"><img src="themes/dot.'
                . 'gif" title="Delete" alt="Delete" class="icon ic_b_drop" /> '
                . 'Delete</span></a>'
                . '<div class="hide">DELETE FROM `Data`.`customer` WHERE '
                . '`customer`.`id` = 1</div></td>'
            )
        );
    }
public function dataProviderForGetDeleteLink ( ) { return array ( array ( 'sql.php?db=Data&amp;table=customer&amp;sql_query=DELETE+FROM+%60' . 'Data%60.%60customer%60+WHERE+%60customer%60.%60id%60+%3D+1&amp;' . 'message_to_show=The+row+has+been+deleted&amp;goto=sql.php%3Fdb' . '%3DData%26table%3Dcustomer%26sql_query%3DSELECT%2B%252A%2BFROM' . '%2B%2560customer%2560%26message_to_show%3DThe%2Brow%2Bhas%2Bbeen' . '%2Bdeleted%26goto%3Dtbl_structure.php' , '<span class="nowrap"><img src="themes/dot.gif" title="Delete" ' . 'alt="Delete" class="icon ic_b_drop" /> Delete</span>' , 'DELETE FROM `Data`.`customer` WHERE `customer`.`id` = 1' , 'klass' , '<td class="klass center print_ignore"  >' . '<a href="sql.php" data-post="db=Data&amp;table=customer&amp;sql_query=DELETE' . '+FROM+%60Data%60.%60customer%60+WHERE+%60customer%60.%60id%60+%3D' . '+1&amp;message_to_show=The+row+has+been+deleted&amp;goto=sql.php' . '%3Fdb%3DData%26table%3Dcustomer%26sql_query%3DSELECT%2B%252A%2B' . 'FROM%2B%2560customer%2560%26message_to_show%3DThe%2Brow%2Bhas%2B' . 'been%2Bdeleted%26goto%3Dtbl_structure.php" ' . 'class="delete_row requireConfirm"><span class="nowrap"><img src="themes/dot.' . 'gif" title="Delete" alt="Delete" class="icon ic_b_drop" /> ' . 'Delete</span></a>' . '<div class="hide">DELETE FROM `Data`.`customer` WHERE ' . '`customer`.`id` = 1</div></td>' ) ) ; }
Data provider for testGetDeleteLink
 @return array parameters and output
Data provider for testGetDeleteLink @return array parameters and output