UserAnimeListRequest
in package
implements
RequestInterface
Class UserAnimeListRequest
Table of Contents
Interfaces
- RequestInterface
- Interface RequestInterface
Properties
- $airedFrom : array<string|int, mixed>
- $airedTo : array<string|int, mixed>
- $airingStatus : int
- $orderBy : int
- $orderBy2 : int
- $page : int
- $producer : int
- $season : string
- $seasonYear : int
- $status : int
- $title : string
- $username : string
Methods
- __construct() : mixed
- UserAnimeListRequest constructor.
- getAiredFrom() : array<string|int, mixed>
- getAiredTo() : array<string|int, mixed>
- getAiringStatus() : int
- getOrderBy() : int
- getOrderBy2() : int
- getPage() : int
- getPath() : string
- Get the path to request
- getProducer() : int
- getSeason() : string
- getSeasonYear() : int
- getStatus() : int
- getTitle() : string
- getUsername() : string
- setAiredFrom() : UserAnimeListRequest
- setAiredTo() : UserAnimeListRequest
- setAiringStatus() : UserAnimeListRequest
- setOrderBy() : UserAnimeListRequest
- setOrderBy2() : UserAnimeListRequest
- setPage() : UserAnimeListRequest
- setProducer() : UserAnimeListRequest
- setSeason() : UserAnimeListRequest
- setSeasonYear() : UserAnimeListRequest
- setStatus() : UserAnimeListRequest
- setTitle() : UserAnimeListRequest
- setUsername() : UserAnimeListRequest
Properties
$airedFrom
private
array<string|int, mixed>
$airedFrom
= [null, null, null]
$airedTo
private
array<string|int, mixed>
$airedTo
= [null, null, null]
$airingStatus
private
int
$airingStatus
$orderBy
private
int
$orderBy
$orderBy2
private
int
$orderBy2
$page
private
int
$page
$producer
private
int
$producer
$season
private
string
$season
$seasonYear
private
int
$seasonYear
$status
private
int
$status
$title
private
string
$title
$username
private
string
$username
Methods
__construct()
UserAnimeListRequest constructor.
public
__construct(string $username[, int $page = 1 ][, int $status = Constants::USER_ANIME_LIST_ALL ]) : mixed
Parameters
- $username : string
- $page : int = 1
- $status : int = Constants::USER_ANIME_LIST_ALL
getAiredFrom()
public
getAiredFrom() : array<string|int, mixed>
Return values
array<string|int, mixed>getAiredTo()
public
getAiredTo() : array<string|int, mixed>
Return values
array<string|int, mixed>getAiringStatus()
public
getAiringStatus() : int
Return values
intgetOrderBy()
public
getOrderBy() : int
Return values
intgetOrderBy2()
public
getOrderBy2() : int
Return values
intgetPage()
public
getPage() : int
Return values
intgetPath()
Get the path to request
public
getPath() : string
Return values
stringgetProducer()
public
getProducer() : int
Return values
intgetSeason()
public
getSeason() : string
Return values
stringgetSeasonYear()
public
getSeasonYear() : int
Return values
intgetStatus()
public
getStatus() : int
Return values
intgetTitle()
public
getTitle() : string
Return values
stringgetUsername()
public
getUsername() : string
Return values
stringsetAiredFrom()
public
setAiredFrom(int $year[, int|null $month = null ][, int|null $day = null ]) : UserAnimeListRequest
Parameters
- $year : int
- $month : int|null = null
- $day : int|null = null
Return values
UserAnimeListRequestsetAiredTo()
public
setAiredTo(int $year[, int|null $month = null ][, int|null $day = null ]) : UserAnimeListRequest
Parameters
- $year : int
- $month : int|null = null
- $day : int|null = null
Return values
UserAnimeListRequestsetAiringStatus()
public
setAiringStatus(int $airingStatus) : UserAnimeListRequest
Parameters
- $airingStatus : int
Return values
UserAnimeListRequestsetOrderBy()
public
setOrderBy(int $orderBy[, int|null $sort = Constants::USER_LIST_SORT_DESCENDING ]) : UserAnimeListRequest
Parameters
- $orderBy : int
- $sort : int|null = Constants::USER_LIST_SORT_DESCENDING
Return values
UserAnimeListRequestsetOrderBy2()
public
setOrderBy2(int $orderBy2[, int|null $sort = Constants::USER_LIST_SORT_DESCENDING ]) : UserAnimeListRequest
Parameters
- $orderBy2 : int
- $sort : int|null = Constants::USER_LIST_SORT_DESCENDING
Return values
UserAnimeListRequestsetPage()
public
setPage(int $page) : UserAnimeListRequest
Parameters
- $page : int
Return values
UserAnimeListRequestsetProducer()
public
setProducer(int $producer) : UserAnimeListRequest
Parameters
- $producer : int
Return values
UserAnimeListRequestsetSeason()
public
setSeason(string $season) : UserAnimeListRequest
Parameters
- $season : string
Return values
UserAnimeListRequestsetSeasonYear()
public
setSeasonYear(int $seasonYear) : UserAnimeListRequest
Parameters
- $seasonYear : int
Return values
UserAnimeListRequestsetStatus()
public
setStatus(int $status) : UserAnimeListRequest
Parameters
- $status : int
Return values
UserAnimeListRequestsetTitle()
public
setTitle(string $title) : UserAnimeListRequest
Parameters
- $title : string
Return values
UserAnimeListRequestsetUsername()
public
setUsername(string $username) : UserAnimeListRequest
Parameters
- $username : string