/** Owner of this list */
var $owner = null;
- /** Action object using us. */
- var $action = null;
-
- function __construct($application, $owner=null, $action=null)
+ function __construct($application, Profile $owner, Action $out=null)
{
- parent::__construct($action);
+ parent::__construct($out);
$this->application = $application;
$this->owner = $owner;
- $this->action = $action;
}
function show()
if($cnt > APPS_PER_PAGE) {
break;
}
- $this->showapplication();
+ $this->showApplication();
}
$this->out->elementEnd('ul');
function showApplication()
{
- $user = common_current_user();
-
$this->out->elementStart('li', array('class' => 'application h-entry',
'id' => 'oauthclient-' . $this->application->id));