can_handle()
can_handle(\midcom_db_topic $current_object, \Symfony\Component\HttpFoundation\Request $request, integer $contextid) : boolean
Relays the can_handle call to the component, instantiating a new site
class. It will execute can_handle of that class, returning its result
to MidCOM.
Parameters
| \midcom_db_topic |
$current_object |
The topic in question. |
| \Symfony\Component\HttpFoundation\Request |
$request |
|
| integer |
$contextid |
The id of the context we are operating in. |
Returns
boolean
— True, if the component can handle the request, false otherwise.