ActivityObject has attribute for other elements
This commit is contained in:
parent
9480bf1d10
commit
688841fb41
|
@ -106,6 +106,8 @@ class ActivityObject
|
||||||
public $largerImage;
|
public $largerImage;
|
||||||
public $description;
|
public $description;
|
||||||
|
|
||||||
|
public $extra; // For extra stuff
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
@ -565,6 +567,11 @@ class ActivityObject
|
||||||
$xs->raw($this->poco->asString());
|
$xs->raw($this->poco->asString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach ($this->extra as $el) {
|
||||||
|
list($tag, $attrs, $content) = $el;
|
||||||
|
$xs->element($tag, $attrs, $content);
|
||||||
|
}
|
||||||
|
|
||||||
$xs->elementEnd($tag);
|
$xs->elementEnd($tag);
|
||||||
|
|
||||||
return $xs->getString();
|
return $xs->getString();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user