class ApiAccountRateLimitStatusAction extends ApiBareAuthAction
{
- var $format = null;
-
/**
* Take arguments for running
*
}
}
- $this->format = $this->arg('format');
return true;
}
class ApiAccountVerifyCredentialsAction extends ApiAuthAction
{
- var $format = null;
-
/**
* Take arguments for running
*
}
}
- $this->format = $this->arg('format');
return true;
}
class ApiBlockCreateAction extends ApiAuthAction
{
- var $format = null;
var $user = null;
var $other = null;
$this->user = $this->auth_user;
$this->other = $this->getTargetUser($this->arg('id'));
- $this->format = $this->arg('format');
return true;
}
class ApiBlockDestroyAction extends ApiAuthAction
{
- var $format = null;
var $user = null;
var $other = null;
$this->user = $this->auth_user;
$this->other = $this->getTargetUser($this->arg('id'));
- $this->format = $this->arg('format');
return true;
}
class ApiDirectMessageAction extends ApiAuthAction
{
- var $format = null;
var $messages = null;
var $page = null;
var $count = null;
$this->id = "tag:$taguribase:DirectMessages:" . $this->user->id;
}
- $this->format = $this->arg('format');
-
$this->messages = $this->getMessages();
return true;
class ApiDirectMessageNewAction extends ApiAuthAction
{
- var $format = null;
var $source = null;
var $user = null;
var $other = null;
$this->other = $this->getTargetUser($user_param);
}
- $this->format = $this->arg('format');
-
return true;
}
class ApiFavoriteCreateAction extends ApiAuthAction
{
-
- var $format = null;
var $user = null;
var $notice = null;
}
}
- $this->format = $this->arg('format');
$this->user = $this->auth_user;
$this->notice = Notice::staticGet($this->arg('id'));
class ApiFavoriteDestroyAction extends ApiAuthAction
{
- var $format = null;
var $user = null;
var $notice = null;
+
/**
* Take arguments for running
*
}
}
- $this->format = $this->arg('format');
$this->user = $this->auth_user;
$this->notice = Notice::staticGet($this->arg('id'));
class ApiFriendshipsCreateAction extends ApiAuthAction
{
-
- var $format = null;
var $user = null;
var $other = null;
}
}
- $this->format = $this->arg('format');
$this->user = $this->auth_user;
$this->other = $this->getTargetUser($id);
class ApiFriendshipsDestroyAction extends ApiAuthAction
{
-
- var $format = null;
var $user = null;
var $other = null;
}
}
- $this->format = $this->arg('format');
$this->user = $this->auth_user;
$this->other = $this->getTargetUser($id);
class ApiFriendshipsExistsAction extends TwitterApiAction
{
-
- var $format = null;
var $user_a = null;
var $user_b = null;
{
parent::prepare($args);
- $this->format = $this->arg('format');
-
$user_a_id = $this->trimmed('user_a');
$user_b_id = $this->trimmed('user_b');
class ApiFriendshipsShowAction extends ApiBareAuthAction
{
-
- var $format = null;
var $user = null;
var $source = null;
var $target = null;
}
}
- $this->format = $this->arg('format');
-
$source_id = (int)$this->trimmed('source_id');
$source_screen_name = $this->trimmed('source_screen_name');
$target_id = (int)$this->trimmed('target_id');
class ApiGroupShowAction extends TwitterApiAction
{
- var $format = null;
var $group = null;
/**
{
parent::prepare($args);
- $this->format = $this->arg('format');
$this->group = $this->getTargetGroup($this->arg('id'));
return true;
class ApiHelpTestAction extends TwitterApiAction
{
- var $format = null;
/**
* Take arguments for running
function prepare($args)
{
parent::prepare($args);
- $this->format = $this->arg('format');
return true;
}
class ApiStatusnetConfigAction extends TwitterApiAction
{
- var $format = null;
-
var $keys = array(
'site' => array('name', 'server', 'theme', 'path', 'fancy', 'language',
'email', 'broughtby', 'broughtbyurl', 'closed',
function prepare($args)
{
parent::prepare($args);
- $this->format = $this->arg('format');
return true;
}
class ApiStatusnetVersionAction extends TwitterApiAction
{
- var $format = null;
-
/**
* Take arguments for running
*
function prepare($args)
{
parent::prepare($args);
- $this->format = $this->arg('format');
return true;
}
class ApiUserShowAction extends TwitterApiAction
{
-
- var $format = null;
var $user = null;
/**
{
parent::prepare($args);
- $this->format = $this->arg('format');
-
$email = $this->arg('email');
// XXX: email field deprecated in Twitter's API
class ApiAction extends Action
{
+ var $format = null;
/**
* Initialization.
function prepare($args)
{
parent::prepare($args);
+ $this->format = $this->arg('format');
return true;
}