streams/Zotlabs/Widget/Fullprofile.php

21 lines
300 B
PHP
Raw Normal View History

2017-03-16 02:30:57 +00:00
<?php
namespace Zotlabs\Widget;
2019-04-18 02:19:49 +00:00
use App;
use Zotlabs\Lib\Libprofile;
2021-12-02 23:02:31 +00:00
class Fullprofile
{
2017-03-16 02:30:57 +00:00
2021-12-02 23:02:31 +00:00
public function widget($arr)
{
2017-03-16 02:30:57 +00:00
2021-12-02 23:02:31 +00:00
if (!App::$profile['profile_uid']) {
return EMPTY_STR;
}
2017-03-16 02:30:57 +00:00
2021-12-02 23:02:31 +00:00
return Libprofile::widget(App::$profile, observer_prohibited());
}
2017-03-16 02:30:57 +00:00
}