SSP.Class.php What goes into the $_POST in the call to this file?

SSP.Class.php What goes into the $_POST in the call to this file?

mmcnair80mmcnair80 Posts: 83Questions: 21Answers: 7

I have been using this file, though I've modified it. And have been getting better and better results as I'm getting it to work. I've gotten to the point where I need help figuring out what all goes into the $__POST that is being sent to it as $request. The $request is used many times throughout the ssp.class.php file and I don't know exactly what goes in it.

I've tried to figure it out and this is what I've come up with so far:

$request =>
Array('start'=>int,
'length'=>int,
'order'=>array('id'=>int,'column'=>string(columnName),'dir'=>?sting(asc,desc)?),
'columns'=>array('id'=>int,'data'=>string(columnName),'searchable'=>bit,'draw'=int)
'search'=>array('value'=>string)
)

I'm sure that this is not correct, or at least not completely correct. Any help would be greatly appreciated.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin
    Answer ✓

    The $request is really just $_POST or $_GET (I allowed either to be passed in so you can use the HTTP verb of your preference). The structure of the options passed in is documented here.

    Allan

This discussion has been closed.