docs/class-Baguette.Mastodon.Entity.Status.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Baguette\Mastodon\Entity\Status | ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK</title>
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li class="active">
<a href="namespace-Baguette.html">
Baguette<span></span>
</a>
<ul>
<li class="active">
<a href="namespace-Baguette.Mastodon.html">
Mastodon<span></span>
</a>
<ul>
<li class="main">
<a href="namespace-Baguette.Mastodon.Config.html">
Config </a>
</li>
<li class="active main">
<a href="namespace-Baguette.Mastodon.Entity.html">
Entity </a>
</li>
<li class="main">
<a href="namespace-Baguette.Mastodon.Grant.html">
Grant </a>
</li>
<li class="main">
<a href="namespace-Baguette.Mastodon.Service.html">
Service </a>
</li>
</ul></li></ul></li>
<li>
<a href="namespace-GuzzleHttp.html">
GuzzleHttp<span></span>
</a>
<ul>
<li>
<a href="namespace-GuzzleHttp.Cookie.html">
Cookie </a>
</li>
<li>
<a href="namespace-GuzzleHttp.Exception.html">
Exception </a>
</li>
<li>
<a href="namespace-GuzzleHttp.Handler.html">
Handler </a>
</li>
<li>
<a href="namespace-GuzzleHttp.Promise.html">
Promise </a>
</li>
</ul></li>
<li>
<a href="namespace-Psr.html">
Psr<span></span>
</a>
<ul>
<li>
<a href="namespace-Psr.Http.html">
Http<span></span>
</a>
<ul>
<li>
<a href="namespace-Psr.Http.Message.html">
Message </a>
</li>
</ul></li></ul></li>
<li>
<a href="namespace-Teto.html">
Teto<span></span>
</a>
<ul>
<li>
<a href="namespace-Teto.Object.html">
Object </a>
</li>
</ul></li>
</ul>
</div>
<hr>
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Baguette.Mastodon.Entity.Account.html">Account</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Application.html">Application</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Attachment.html">Attachment</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Card.html">Card</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Context.html">Context</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Entity.html">Entity</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Error_.html">Error_</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Instance.html">Instance</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Mention.html">Mention</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Notification.html">Notification</a></li>
<li class="active"><a href="class-Baguette.Mastodon.Entity.Status.html">Status</a></li>
<li><a href="class-Baguette.Mastodon.Entity.Tag.html">Tag</a></li>
</ul>
<h3>Constants</h3>
<ul>
<li><a href="constant-Baguette.Mastodon.Entity.DATETIME_FORMAT.html">DATETIME_FORMAT</a></li>
</ul>
<h3>Functions</h3>
<ul>
<li><a href="function-Baguette.Mastodon.Entity.map.html">map</a></li>
<li><a href="function-Baguette.Mastodon.Entity.mapValues.html">mapValues</a></li>
<li><a href="function-Baguette.Mastodon.Entity.toArrayValue.html">toArrayValue</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text" placeholder="Search">
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-Baguette.Mastodon.Entity.html" title="Summary of Baguette\Mastodon\Entity"><span>Namespace</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
</ul>
<ul>
</ul>
</div>
<div id="content" class="class">
<h1>Class Status</h1>
<div class="description">
<p>Status</p>
</div>
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-Baguette.Mastodon.Entity.Entity.html"><span>Baguette\Mastodon\Entity\Entity</span></a>
implements
<a href="class-Teto.Object.ToArrayInterface.html"><span>Teto\Object\ToArrayInterface</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>Baguette\Mastodon\Entity\Status</span></b>
uses
<a href="class-Teto.Object.TypedProperty.html"><span>Teto\Object\TypedProperty</span></a>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-Baguette.html">Baguette</a>\<a href="namespace-Baguette.Mastodon.html">Mastodon</a>\<a href="namespace-Baguette.Mastodon.Entity.html">Entity</a><br>
<b>Copyright:</b>
2017 Baguette HQ<br>
<b>License:</b>
<a href="https://www.gnu.org/licenses/gpl-3.0.html">GPL-3.0</a><br>
<b>Author:</b>
USAMI Kenta <a href="mailto:tadsan@zonu.me">tadsan@zonu.me</a><br>
<b>See:</b>
https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#status<br>
<b>Located at</b> <a href="source-class-Baguette.Mastodon.Entity.Status.html#5-108" title="Go to source code">Entity/Status.php</a>
<br>
</div>
<table class="summary methods" id="methods">
<caption>Methods summary</caption>
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-Baguette.Mastodon.Entity.Status.html#65-76" title="Go to source code">__construct</a>( <span>array <var>$properties</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="toArray" id="_toArray">
<td class="attributes"><code>
public
array
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_toArray">#</a>
<code><a href="source-class-Baguette.Mastodon.Entity.Status.html#78-107" title="Go to source code">toArray</a>( )</code>
<div class="description short">
<p>Returns account data as array</p>
</div>
<div class="description detailed hidden">
<p>Returns account data as array</p>
<h4>Returns</h4>
<div class="list">
array
</div>
</div>
</div></td>
</tr>
</table>
<table class="summary used">
<caption>Methods used from <a href="class-Teto.Object.TypedProperty.html#methods">Teto\Object\TypedProperty</a></caption>
<tr>
<td><code>
<a href="class-Teto.Object.TypedProperty.html#___get">__get()</a>,
<a href="class-Teto.Object.TypedProperty.html#___isset">__isset()</a>,
<a href="class-Teto.Object.TypedProperty.html#___set">__set()</a>,
<a href="class-Teto.Object.TypedProperty.html#___unset">__unset()</a>
</code></td>
</tr>
</table>
<table class="summary properties" id="magicProperties">
<caption>Magic properties summary</caption>
<tr data-order="id" id="m$id">
<td class="attributes"><code>
public read-only
integer
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#12" title="Go to source code"><var>$id</var></a>
<div class="description short">
<p>The ID of the status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="uri" id="m$uri">
<td class="attributes"><code>
public read-only
string
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#13" title="Go to source code"><var>$uri</var></a>
<div class="description short">
<p>A Fediverse-unique resource ID</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="url" id="m$url">
<td class="attributes"><code>
public read-only
string
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#14" title="Go to source code"><var>$url</var></a>
<div class="description short">
<p>URL to the status page (can be remote)</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="account" id="m$account">
<td class="attributes"><code>
public read-only
<code><a href="class-Baguette.Mastodon.Entity.Account.html">Baguette\Mastodon\Entity\Account</a></code>
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#15" title="Go to source code"><var>$account</var></a>
<div class="description short">
<p>The Account which posted the status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="in_reply_to_accountid" id="m$in_reply_to_accountid">
<td class="attributes"><code>
public read-only
integer|null
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#17" title="Go to source code"><var>$in_reply_to_accountid</var></a>
<div class="description short">
<p>The ID of the status it replies to</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="in_reply_to_id" id="m$in_reply_to_id">
<td class="attributes"><code>
public read-only
integer|null
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#18" title="Go to source code"><var>$in_reply_to_id</var></a>
<div class="description short">
<p>The ID of the account it replies to</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="reblog" id="m$reblog">
<td class="attributes"><code>
public read-only
<code><a href="class-Baguette.Mastodon.Entity.Status.html">Baguette\Mastodon\Entity\Status</a></code>|null
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#19" title="Go to source code"><var>$reblog</var></a>
<div class="description short">
<p>The reblogged Status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="content" id="m$content">
<td class="attributes"><code>
public read-only
string
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#20" title="Go to source code"><var>$content</var></a>
<div class="description short">
<p>Body of the status; this will contain HTML (remote HTML already sanitized)</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="created_at" id="m$created_at">
<td class="attributes"><code>
public read-only
DateTimeImmutable
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#21" title="Go to source code"><var>$created_at</var></a>
<div class="description short">
<p>The time the status was created</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="reblogs_count" id="m$reblogs_count">
<td class="attributes"><code>
public read-only
integer
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#22" title="Go to source code"><var>$reblogs_count</var></a>
<div class="description short">
<p>The number of reblogs for the status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="favourites_count" id="m$favourites_count">
<td class="attributes"><code>
public read-only
integer
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#23" title="Go to source code"><var>$favourites_count</var></a>
<div class="description short">
<p>The number of favourites for the status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="reblogged" id="m$reblogged">
<td class="attributes"><code>
public read-only
boolean
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#24" title="Go to source code"><var>$reblogged</var></a>
<div class="description short">
<p>Whether the authenticated user has reblogged the status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="favourited" id="m$favourited">
<td class="attributes"><code>
public read-only
boolean
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#25" title="Go to source code"><var>$favourited</var></a>
<div class="description short">
<p>Whether the authenticated user has favourited the status</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="sensitive" id="m$sensitive">
<td class="attributes"><code>
public read-only
string
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#26" title="Go to source code"><var>$sensitive</var></a>
<div class="description short">
<p>Whether media attachments should be hidden by default</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="spoiler_text" id="m$spoiler_text">
<td class="attributes"><code>
public read-only
string
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#27" title="Go to source code"><var>$spoiler_text</var></a>
<div class="description short">
<p>If not empty, warning text that should be displayed before the actual content</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="visibility" id="m$visibility">
<td class="attributes"><code>
public read-only
string
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#28" title="Go to source code"><var>$visibility</var></a>
<div class="description short">
<p>One of: public, unlisted, private, direct</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
<tr data-order="application" id="m$application">
<td class="attributes"><code>
public read-only
<code><a href="class-Baguette.Mastodon.Entity.Application.html">Baguette\Mastodon\Entity\Application</a></code>
</code></td>
<td class="name">
<a href="source-class-Baguette.Mastodon.Entity.Status.html#32" title="Go to source code"><var>$application</var></a>
<div class="description short">
<p>Application from which the status was posted</p>
</div>
<div class="description detailed hidden">
</div>
</td>
</tr>
</table>
</div>
<div id="footer">
ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by <a href="http://apigen.org">ApiGen</a>
</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>