. * * @category UI * @package StatusNet * @author Brion Vibber * @copyright 2010 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('GNUSOCIAL')) { exit(1); } class InlineAttachmentListItem extends AttachmentListItem { /** * start a single notice. * * @return void */ function showStart() { // XXX: RDFa // TODO: add notice_type class e.g., notice_video, notice_image $this->out->elementStart('li', [ 'class' => 'inline-attachment', 'id' => 'attachment-' . $this->attachment->getID(), ] ); } /** * finish the notice * * Close the last elements in the notice list item * * @return void */ function showEnd() { $this->out->elementEnd('li'); } }