I wouldn't call it $action but $onClick as before or something else.
$action let's someone assume a CakePHP action will be called through an URL.