public/phpmyadmin/test/classes/Display/ResultsTest.php
/**
     * Data provider for testGetPlacedLinks
     *
     * @return array parameters and output
     */
Data provider for testGetPlacedLinks
@return array parameters and output
Data provider for testGetPlacedLinks @return array parameters and output
public function dataProviderForGetPlacedLinks()
    {
        return array(
            array(
                DisplayResults::POSITION_NONE,
                'sql.php?db=data&amp;table=new&amp;sql_query=DELETE+FROM+%60data%60.'
                . '%60new%60+WHERE+%60new%60.%60id%60+%3D+1&amp;message_to_show=The+'
                . 'row+has+been+deleted&amp;goto=sql.php%3Fdb%3Ddata%26table%3Dnew'
                . '%26sql_query%3DSELECT%2B%252A%2BFROM%2B%2560new%2560%26message_'
                . 'to_show%3DThe%2Brow%2Bhas%2Bbeen%2Bdeleted%26goto%3Dtbl_structure'
                . '.php',
                array(
                    'edit_lnk' => 'ur',
                    'del_lnk' => 'dr',
                    'sort_lnk' => '0',
                    'nav_bar' => '1',
                    'bkm_form' => '1',
                    'text_btn' => '1',
                    'pview_lnk' => '1'
                ),
                0,
                '`new`.`id` = 1',
                '%60new%60.%60id%60+%3D+1',
                array(
                    '`new`.`id`' => '= 1',
                ),
                'tbl_change.php?db=data&amp;table=new&amp;where_clause=%60new%60.%60'
                . 'id%60+%3D+1&amp;clause_is_unique=1&amp;sql_query=SELECT+%2A+FROM+'
                . '%60new%60&amp;goto=sql.php&amp;default_action=update',
                '/tbl_change.php?db=data&amp;table=new&amp;where_clause=%60new%60.%60'
                . 'id%60+%3D+1&amp;clause_is_unique=1&amp;sql_query=SELECT+%2A+FROM+'
                . '%60new%60&amp;goto=sql.php&amp;default_action=insert',
                'edit_row_anchor',
                '<span class="nowrap"><img src="themes/dot.gif" title="Edit" '
                . 'alt="Edit" class="icon ic_b_edit" /> Edit</span>',
                '<span class="nowrap"><img src="themes/dot.gif" title="Copy" '
                . 'alt="Copy" class="icon ic_b_insrow" /> Copy</span>',
                '<span class="nowrap"><img src="themes/dot.gif" title="Delete" '
                . 'alt="Delete" class="icon ic_b_drop" /> Delete</span>',
                null,
                '<td  class="center print_ignore"><input type="checkbox" id="id_rows_to_'
                . 'delete0_left" name="rows_to_delete[0]" class="multi_checkbox '
                . 'checkall" value="%60new%60.%60id%60+%3D+1"  /><input type='
                . '"hidden" class="condition_array" value="{&quot;`new`.`id`&quot;:'
                . '&quot;= 1&quot;}" />    </td>'
            )
        );
    }
public function dataProviderForGetPlacedLinks ( ) { return array ( array ( DisplayResults :: POSITION_NONE , 'sql.php?db=data&amp;table=new&amp;sql_query=DELETE+FROM+%60data%60.' . '%60new%60+WHERE+%60new%60.%60id%60+%3D+1&amp;message_to_show=The+' . 'row+has+been+deleted&amp;goto=sql.php%3Fdb%3Ddata%26table%3Dnew' . '%26sql_query%3DSELECT%2B%252A%2BFROM%2B%2560new%2560%26message_' . 'to_show%3DThe%2Brow%2Bhas%2Bbeen%2Bdeleted%26goto%3Dtbl_structure' . '.php' , array ( 'edit_lnk' => 'ur' , 'del_lnk' => 'dr' , 'sort_lnk' => '0' , 'nav_bar' => '1' , 'bkm_form' => '1' , 'text_btn' => '1' , 'pview_lnk' => '1' ) , 0 , '`new`.`id` = 1' , '%60new%60.%60id%60+%3D+1' , array ( '`new`.`id`' => '= 1' , ) , 'tbl_change.php?db=data&amp;table=new&amp;where_clause=%60new%60.%60' . 'id%60+%3D+1&amp;clause_is_unique=1&amp;sql_query=SELECT+%2A+FROM+' . '%60new%60&amp;goto=sql.php&amp;default_action=update' , '/tbl_change.php?db=data&amp;table=new&amp;where_clause=%60new%60.%60' . 'id%60+%3D+1&amp;clause_is_unique=1&amp;sql_query=SELECT+%2A+FROM+' . '%60new%60&amp;goto=sql.php&amp;default_action=insert' , 'edit_row_anchor' , '<span class="nowrap"><img src="themes/dot.gif" title="Edit" ' . 'alt="Edit" class="icon ic_b_edit" /> Edit</span>' , '<span class="nowrap"><img src="themes/dot.gif" title="Copy" ' . 'alt="Copy" class="icon ic_b_insrow" /> Copy</span>' , '<span class="nowrap"><img src="themes/dot.gif" title="Delete" ' . 'alt="Delete" class="icon ic_b_drop" /> Delete</span>' , null , '<td  class="center print_ignore"><input type="checkbox" id="id_rows_to_' . 'delete0_left" name="rows_to_delete[0]" class="multi_checkbox ' . 'checkall" value="%60new%60.%60id%60+%3D+1"  /><input type=' . '"hidden" class="condition_array" value="{&quot;`new`.`id`&quot;:' . '&quot;= 1&quot;}" />    </td>' ) ) ; }
Data provider for testGetPlacedLinks
 @return array parameters and output
Data provider for testGetPlacedLinks @return array parameters and output