Initialize properties.
API Tags:
string QR_GET(
[array
$params = array()]
)
|
|
Send a GET request to Google for a QR Code.
Parameters:
array |
$params: |
Additional params that will be added to the <img> tag. |
API Tags:
string QR_POST(
[array
$params = array()]
)
|
|
Send a POST request to Google for a QR Code. Required if the content is larger than 2 KB.
Parameters:
array |
$params: |
Additional params that will be added to the <img> tag. |
API Tags:
Re-initialize the properties
API Tags:
Information Tags:
void setCharSet(
string
$charset
)
|
|
Sets QR Code image content charset.
Parameters:
API Tags:
Information Tags:
void setContent(
string
$content
)
|
|
Sets QR Code image content.
Parameters:
API Tags:
Information Tags:
void setErrorLevel(
string
$level, [int
$margin = 0]
)
|
|
Sets QR Code image error correction level and margin.
Parameters:
string |
$level: |
|
int |
$margin: |
|
API Tags:
Information Tags:
void setHeight(
$h, int
$height
)
|
|
Sets QR Code image height.
Parameters:
API Tags:
Information Tags:
void setSize(
int
$w, int
$h
)
|
|
Sets QR Code image size.
Parameters:
API Tags:
Information Tags:
void setWidth(
$w, int
$width
)
|
|
Sets QR Code image width.
Parameters:
API Tags:
Information Tags:
Make the URL for the request.
API Tags:
Information Tags:
bool _setProperty(
string
$key, mixed
$value, [bool
$append = false], [string
$separator = '|']
)
|
|
Set the specified value for a property.
Parameters:
string |
$key: |
Property name |
mixed |
$value: |
|
bool |
$append: |
Append the value, otherwise it will override |
string |
$separator: |
|
API Tags:
Information Tags:
mixed|bool __get(
string
$name
)
|
|
Magic method to get properties value.
Parameters:
string |
$name: |
Property name |
API Tags:
Return: | False on failure |
Access: | public |
Information Tags: