API Documentação da API
Conheça  A Ferramenta LowCode mais moderna e veloz para desenvolvimento PHP: Adianti Creator
Pacote Dominando o Adianti Framework
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de Exemplo.
API
API do Framework
Documentation

Documentation

TSignaturePad extends TField
in package
implements AdiantiWidgetInterface

Signature Pad area

Tags
version
8.4
subpackage

form

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Interfaces

AdiantiWidgetInterface
Widget Interface

Properties

$base64  : mixed
$bgColor  : mixed
$border  : mixed
$buttonLabel  : mixed
$drawHeight  : mixed
$drawWidth  : mixed
$editable  : mixed
$fileHandling  : mixed
$formName  : mixed
$height  : mixed
$id  : mixed
$imagePlaceholder  : mixed
$label  : mixed
$name  : mixed
$penColor  : mixed
$properties  : mixed
$seed  : mixed
$size  : mixed
$tag  : mixed
$thickness  : mixed
$title  : mixed
$uploaderClass  : mixed
$value  : mixed
$valueCallback  : mixed
$width  : mixed

Methods

__call()  : mixed
Redirects function call
__clone()  : mixed
Clone the object
__construct()  : mixed
Constructor method
__get()  : mixed
Returns a property value
__isset()  : mixed
Returns if the property is set
__set()  : mixed
Intercepts whenever someones assign a new property's value
__toString()  : mixed
Converts the object into a string
addValidation()  : mixed
Add a field validator
clearField()  : mixed
Clear the field
disableField()  : mixed
Disable the field
enableBase64()  : mixed
Define usage base64
enableField()  : mixed
Enable the field
enableFileHandling()  : mixed
Enable json file handling
getContents()  : mixed
Returns the element content as a string
getEditable()  : A
Returns if the field is editable
getFormName()  : mixed
Return the name of the form to wich the field is attached
getId()  : mixed
Returns the field's id
getLabel()  : mixed
Returns the field's label
getName()  : mixed
Returns the field's name
getPostData()  : mixed
Return the post data
getPropertiesAsString()  : mixed
Get properties as string
getProperty()  : mixed
Return a field property
getSize()  : mixed
Returns the field size
getValidations()  : mixed
Returns field validations
getValue()  : mixed
Returns the field's value
isRequired()  : mixed
Returns if the field is required
setDrawSize()  : void
Set draw area size
setEditable()  : mixed
Define if the field is editable
setFormName()  : mixed
Define the name of the form to wich the field is attached
setId()  : mixed
Define the field's id
setImagePlaceholder()  : mixed
Set image placeholder
setLabel()  : mixed
Define the field's label
setName()  : mixed
Define the field's name
setPenStyle()  : mixed
Set pen style
setProperty()  : mixed
Define a field property
setService()  : mixed
Define the service class for signature upload
setSize()  : mixed
Define the Field's width
setTagName()  : mixed
Change input tag name
setTip()  : mixed
Define the field's tooltip
setValue()  : mixed
Define image initial
setValueCallback()  : mixed
Set callback for setValue method
show()  : mixed
Render component
validate()  : mixed
Validate a field

Properties

$editable

protected mixed $editable

$formName

protected mixed $formName

$properties

protected mixed $properties

$valueCallback

protected mixed $valueCallback

Methods

__call()

Redirects function call

public __call(mixed $method, mixed $param) : mixed
Parameters
$method : mixed

Method name

$param : mixed

Array of parameters

__clone()

Clone the object

public __clone() : mixed

__construct()

Constructor method

public __construct(mixed $name) : mixed
Parameters
$name : mixed

input name

__get()

Returns a property value

public __get(mixed $name) : mixed
Parameters
$name : mixed

Property Name

__isset()

Returns if the property is set

public __isset(mixed $name) : mixed
Parameters
$name : mixed

Property Name

__set()

Intercepts whenever someones assign a new property's value

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed

Property Name

$value : mixed

Property Value

__toString()

Converts the object into a string

public __toString() : mixed

addValidation()

Add a field validator

public addValidation(mixed $label, mixed $validator[, mixed $parameters = null ]) : mixed
Parameters
$label : mixed

Field name

$validator : mixed

TFieldValidator object

$parameters : mixed = null

Aditional parameters

clearField()

Clear the field

public static clearField(mixed $form_name, mixed $field) : mixed
Parameters
$form_name : mixed

Form name

$field : mixed

Field name

disableField()

Disable the field

public static disableField(mixed $form_name, mixed $field) : mixed
Parameters
$form_name : mixed

Form name

$field : mixed

Field name

enableBase64()

Define usage base64

public enableBase64() : mixed

enableField()

Enable the field

public static enableField(mixed $form_name, mixed $field) : mixed
Parameters
$form_name : mixed

Form name

$field : mixed

Field name

enableFileHandling()

Enable json file handling

public enableFileHandling() : mixed

getContents()

Returns the element content as a string

public getContents() : mixed

getEditable()

Returns if the field is editable

public getEditable() : A
Return values
A

boolean

getFormName()

Return the name of the form to wich the field is attached

public getFormName() : mixed

getId()

Returns the field's id

public getId() : mixed

getLabel()

Returns the field's label

public getLabel() : mixed

getName()

Returns the field's name

public getName() : mixed

getPostData()

Return the post data

public getPostData() : mixed

getPropertiesAsString()

Get properties as string

public getPropertiesAsString([mixed $filter = null ]) : mixed
Parameters
$filter : mixed = null

getProperty()

Return a field property

public getProperty(mixed $name) : mixed
Parameters
$name : mixed

Property Name

getSize()

Returns the field size

public getSize() : mixed

getValidations()

Returns field validations

public getValidations() : mixed

getValue()

Returns the field's value

public getValue() : mixed

isRequired()

Returns if the field is required

public isRequired() : mixed

setDrawSize()

Set draw area size

public setDrawSize(px $width, px $height) : void
Parameters
$width : px
$height : px

setEditable()

Define if the field is editable

public setEditable(mixed $editable) : mixed
Parameters
$editable : mixed

A boolean

setFormName()

Define the name of the form to wich the field is attached

public setFormName(mixed $name) : mixed
Parameters
$name : mixed

A string containing the name of the form

Tags
ignore-autocomplete

on

setId()

Define the field's id

public setId(mixed $id) : mixed
Parameters
$id : mixed

A string containing the field's id

setImagePlaceholder()

Set image placeholder

public setImagePlaceholder(mixed $image) : mixed
Parameters
$image : mixed

TImage object

setLabel()

Define the field's label

public setLabel(mixed $label) : mixed
Parameters
$label : mixed

A string containing the field's label

setName()

Define the field's name

public setName(mixed $name) : mixed
Parameters
$name : mixed

A string containing the field's name

setPenStyle()

Set pen style

public setPenStyle(mixed $color, mixed $thickness) : mixed
Parameters
$color : mixed

Pen color

$thickness : mixed

Pen Thickness

setProperty()

Define a field property

public setProperty(mixed $name, mixed $value[, mixed $replace = true ]) : mixed
Parameters
$name : mixed

Property Name

$value : mixed

Property Value

$replace : mixed = true

setService()

Define the service class for signature upload

public setService(mixed $service) : mixed
Parameters
$service : mixed

Service class name

setSize()

Define the Field's width

public setSize(float $width[, float $height = null ]) : mixed
Parameters
$width : float

Field's width in pixels

$height : float = null

Field's heigth in pixels

setTagName()

Change input tag name

public setTagName(mixed $name) : mixed
Parameters
$name : mixed

setTip()

Define the field's tooltip

public setTip(mixed $tip) : mixed
Parameters
$tip : mixed

setValue()

Define image initial

public setValue(mixed $value) : mixed
Parameters
$value : mixed

A string containing the field's value

setValueCallback()

Set callback for setValue method

public setValueCallback(mixed $callback) : mixed
Parameters
$callback : mixed

validate()

Validate a field

public validate() : mixed

        
On this page

Search results