09518ea66b
this allows also other constructs like tag oder category users fix #1
39 lines
559 B
PHP
39 lines
559 B
PHP
<?php
|
|
namespace Activitypub\Model;
|
|
|
|
use WP_Query;
|
|
use Activitypub\User_Factory;
|
|
|
|
class Application_User extends Blog_User {
|
|
/**
|
|
* The User-ID
|
|
*
|
|
* @var int
|
|
*/
|
|
public $user_id = User_Factory::APPLICATION_USER_ID;
|
|
|
|
/**
|
|
* The User-Type
|
|
*
|
|
* @var string
|
|
*/
|
|
private $type = 'Application';
|
|
|
|
/**
|
|
* The User constructor.
|
|
*
|
|
* @param int $user_id The User-ID.
|
|
*/
|
|
public function __construct( $user_id ) {
|
|
// do nothing
|
|
}
|
|
|
|
/**
|
|
* Get the User-Url.
|
|
*
|
|
* @return string The User-Url.
|
|
*/
|
|
public function get_url() {
|
|
return '';
|
|
}
|
|
}
|