convert more widgets to classes

This commit is contained in:
zotlabs
2017-03-15 18:31:34 -07:00
committed by Mario Vavti
parent 242ef70a77
commit 477ed97c2f
6 changed files with 166 additions and 133 deletions

11
Zotlabs/Widget/Zcard.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace Zotlabs\Widget;
class Zcard {
function widget($args) {
$channel = channelx_by_n(\App::$profile_uid);
return get_zcard($channel,get_observer_hash(),array('width' => 875));
}
}