public function HeartbeatStream::viewsQueryAlter in Heartbeat 7
viewsQueryAlter
Parameters
$view Object View:
Return value
void
5 methods override HeartbeatStream::viewsQueryAlter()
- NodeActivity::viewsQueryAlter in modules/
heartbeat_defaults/ streams/ nodeactivity.inc - Function to add a part of a sql to a query built by views UI
- RelationsActivity::viewsQueryAlter in modules/
heartbeat_defaults/ streams/ relationsactivity.inc - Function to add a part of a sql to a query built by views.
- SiteActivity::viewsQueryAlter in modules/
heartbeat_defaults/ streams/ siteactivity.inc - Function to add a part of a sql to a query built by views.
- UserActivity::viewsQueryAlter in modules/
heartbeat_defaults/ streams/ useractivity.inc - Function to add a part of a sql to a query built by views UI
- ViewsActivity::viewsQueryAlter in streams/
viewsactivity.inc - Function to add a part of a sql to a query built by views.
File
- includes/
heartbeatstream.inc, line 731 - HeartbeatStream object is the object that takes stream configuration to create a stream of activity objects. It is the controlling organ at the pre-query, query and post-query phases.
Class
- HeartbeatStream
- Abstract class HeartbeatStream This base class has final template methods which are used by the derived concretes. The HeartbeatStream is a state object that is given to the HeartbeatStreamBuilder to set the access to the current request.
Code
public function viewsQueryAlter(&$view) {
}