You are here

public function HeartbeatActivity::add_attachment in Heartbeat 7

add_attachment().

File

includes/heartbeatactivity.inc, line 446
HeartbeatActivity object Defines one heartbeat activity object.

Class

HeartbeatActivity
Class defines an activity message object

Code

public function add_attachment($attachment) {
  $this->attachments[] = $attachment;
}