Resource
in package
PHPProject_Resource
Tags
Table of Contents
Properties
- $lastIndex : int
- Index of Resource
- $index : int
- Index
- $title : string
- Title
Methods
- __construct() : mixed
- getIndex() : int
- Get index
- getTitle() : string
- Get title
- setIndex() : self
- Set index
- setTitle() : self
- Set title
Properties
$lastIndex
Index of Resource
public
static int
$lastIndex
= 0
$index
Index
private
int
$index
$title
Title
private
string
$title
= ''
Methods
__construct()
public
__construct() : mixed
getIndex()
Get index
public
getIndex() : int
Return values
intgetTitle()
Get title
public
getTitle() : string
Return values
stringsetIndex()
Set index
public
setIndex(int|string $value) : self
Parameters
- $value : int|string
Return values
selfsetTitle()
Set title
public
setTitle(string $pTitle) : self
Parameters
- $pTitle : string
-
Title of the resource