Documentation

FormTrait

Form trait

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.6.0

Table of Contents

__get()  : mixed
Get method to return the value of values[$name]
__isset()  : bool
Return the isset value of values[$name]
__set()  : void
Set method to set the property to the value of values[$name]
__unset()  : void
Unset values[$name]
count()  : int
Count of values
getIterator()  : ArrayIterator
Method to iterate over the form elements
offsetExists()  : bool
ArrayAccess offsetExists
offsetGet()  : mixed
ArrayAccess offsetGet
offsetSet()  : void
ArrayAccess offsetSet
offsetUnset()  : void
ArrayAccess offsetUnset
toArray()  : array<string|int, mixed>
Get values

Methods

__get()

Get method to return the value of values[$name]

public abstract __get(string $name) : mixed
Parameters
$name : string
Return values
mixed

__isset()

Return the isset value of values[$name]

public abstract __isset(string $name) : bool
Parameters
$name : string
Return values
bool

__set()

Set method to set the property to the value of values[$name]

public abstract __set(string $name, mixed $value) : void
Parameters
$name : string
$value : mixed
Return values
void

__unset()

Unset values[$name]

public abstract __unset(string $name) : void
Parameters
$name : string
Return values
void

count()

Count of values

public abstract count() : int
Return values
int

getIterator()

Method to iterate over the form elements

public getIterator() : ArrayIterator
Return values
ArrayIterator

offsetExists()

ArrayAccess offsetExists

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

ArrayAccess offsetGet

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetSet()

ArrayAccess offsetSet

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed
Return values
void

offsetUnset()

ArrayAccess offsetUnset

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Return values
void

toArray()

Get values

public abstract toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results