Skip to content

sare_property ​

php
array sare_property ( [string $propertyName] )

By default, returns an array of properties created in the system along with their definitions. If a property name is supplied, returns an array describing that property. Returns false if no data is found.

Example:

php
$properties_info = sare_property();
print_r($properties_info);

Example result:

Array
(
[cust_zalacznik] => Array
(
[DATA_TYPE] => varchar
[CHARACTER_MAXIMUM_LENGTH] => 50
[COLUMN_TYPE] => varchar(50)
[COLUMN_TYPE_UNSIGNED] => 0
[DESCRIPTION] => zalacznik
)

[cust_Imie] => Array
(
[DATA_TYPE] => varchar
[CHARACTER_MAXIMUM_LENGTH] => 100
[COLUMN_TYPE] => varchar(100)
[COLUMN_TYPE_UNSIGNED] => 0
[DESCRIPTION] => Imie
)
)