Documentation

AnimeSearchRequest
in package
implements RequestInterface

Class AnimeSearchRequest

Table of Contents

Interfaces

RequestInterface
Interface RequestInterface

Properties

$char  : string
$endDate  : array<string|int, int>
$genre  : array<string|int, int>
$genreExclude  : bool
$orderBy  : int
$page  : int
$producer  : int
$query  : string|null
$rated  : int
$score  : float
$sort  : int
$startDate  : array<string|int, int>
$status  : int
$type  : string

Methods

__construct()  : mixed
AnimeSearchRequest constructor.
getChar()  : string
getEndDate()  : array<string|int, int>
getGenre()  : array<string|int, int>
getOrderBy()  : int
getPage()  : int
getPath()  : string
Get the path to request
getProducer()  : int
getQuery()  : string|null
getRated()  : int
getScore()  : float
getSort()  : int
getStartDate()  : array<string|int, int>
getStatus()  : int
getType()  : string
isGenreExclude()  : bool
setChar()  : AnimeSearchRequest
setEndDate()  : $this
setGenre()  : AnimeSearchRequest
setGenreExclude()  : $this
setOrderBy()  : AnimeSearchRequest
setPage()  : $this
setProducer()  : $this
setQuery()  : $this
setRated()  : $this
setScore()  : $this
setSort()  : AnimeSearchRequest
setStartDate()  : $this
setStartsWithChar()  : $this
setStatus()  : $this
setType()  : $this

Properties

Methods

__construct()

AnimeSearchRequest constructor.

public __construct([string|null $query = null ][, int $page = 1 ]) : mixed
Parameters
$query : string|null = null
$page : int = 1

getEndDate()

public getEndDate() : array<string|int, int>
Return values
array<string|int, int>

getGenre()

public getGenre() : array<string|int, int>
Return values
array<string|int, int>

getPath()

Get the path to request

public getPath() : string
Return values
string

getStartDate()

public getStartDate() : array<string|int, int>
Return values
array<string|int, int>

setEndDate()

public setEndDate(int $day, int $month, int $year) : $this
Parameters
$day : int

, int $month, int $year

$month : int
$year : int
Return values
$this

setGenreExclude()

public setGenreExclude(bool $genreExclude) : $this
Parameters
$genreExclude : bool
Return values
$this

setPage()

public setPage(int $page) : $this
Parameters
$page : int
Return values
$this

setProducer()

public setProducer(int $producer) : $this
Parameters
$producer : int
Return values
$this

setQuery()

public setQuery([null|string $query = null ]) : $this
Parameters
$query : null|string = null
Return values
$this

setRated()

public setRated(int $rated) : $this
Parameters
$rated : int
Return values
$this

setScore()

public setScore(float $score) : $this
Parameters
$score : float
Return values
$this

setStartDate()

public setStartDate(int $day, int $month, int $year) : $this
Parameters
$day : int

, int $month, int $year

$month : int
$year : int
Return values
$this

setStartsWithChar()

public setStartsWithChar(string $char) : $this
Parameters
$char : string
Return values
$this

setStatus()

public setStatus(int $status) : $this
Parameters
$status : int
Return values
$this

setType()

public setType(string $type) : $this
Parameters
$type : string
Return values
$this

        
On this page

Search results