/** * Constructor * * @since Expert_Finder_Post_Result (1.0.0) */ public function __construct($post, $a_title, $a_content, $search) { $this->post = $post; parent::__construct($a_title, $a_content, $search); }
/** * Constructor * * @since Expert_Finder_Activity_Stream_Result (1.0.0) */ public function __construct($activity, $a, $search) { $this->activity = $activity; parent::__construct(0, $a, $search); }
/** * Constructor * * @since Expert_Finder_Profile_Field_Result (1.0.0) */ public function __construct($field, $a, $search) { $this->field = new BP_XProfile_Field($field->field_id, $field->user_id); $this->group = new BP_XProfile_Group($this->field->group_id); parent::__construct(0, $a, $search); }