hi,
i am using phpajax class in one of my page. i want to pass an argument to the main(). how can i do it.
below is my class :

include($inc.'phpajax/phpajax.php');
class DeleteLink extends phpajax {

function input() {

}

function main() {
// i want to pass an argument to this main function .


}
}

phpajax::init();
?>
<head>
<?php phpajax_js($inc.'phpajax/');?>
<table class="table" width="100%">
<tr>
<td class="tdheader" width="40%">Website link</td>
<td class="tdheader" width="40%">Remarks</td>
<td class="tdheader" width="10%">Sort</td>
<td class="tdheader" width="10%">Options</td>
</tr>
<? foreach ($arr as $k => $myelem) { ?>
<tr>
<td class="datatd"><a target="_blank" href="http://<?=$myelem['UsefulLink_VC']?>"><?=$myelem['UsefulLink_VC']?></a></td>
<td class="datatd"><?=$myelem['Remark_VC']?></td>
<td class="datatd"><?=$myelem['Sort_IN']?></td>
<td class="datatd"><a href="javascript:DeleteLink('<?=$myelem['UsefulLink_ID']?>')">Delete</a></td>

</tr>

<? } ?>
</table>

can some one please help me on this.

Thanks is advance