<?php
class CommentController extends Yaf_Controller_Abstract
{
public function removeAction()
{
// Assuming the request was sent with DELETE /comment/remove/id/12
var_dump($this->getRequest()->isDelete());
}
}
?>
The above example will output
something similar to: