ACCEPTED_FORMAT_OUTPUT
public
mixed
ACCEPTED_FORMAT_OUTPUT
= ['json', 'html', 'xml', 'text']
public
mixed
ACCEPTED_FORMAT_OUTPUT
= ['json', 'html', 'xml', 'text']
public
mixed
ACL_TABLE
= '_acl'
public
mixed
APP_MODULES_PATH
= \realpath(__DIR__ . '/plugins') . '/'
public
mixed
APP_NAME
= 'test'
public
mixed
APP_NAME
= 'test'
public
mixed
APP_NAME
= 'demo'
public
mixed
CACHE_ENC_ALGORITHM
= 'sha256'
DressAPI
public
mixed
CACHE_MAX_SIZE_PER_ELEMENT
= 64 * 1024
Cache on Files
public
mixed
CACHE_PATH
= '/dev/shm/'
public
mixed
CMS_MENU_TABLE
= 'cmsmenu'
public
mixed
CMS_PAGE_TABLE
= 'cmspage'
public
mixed
CMSPAGE_GROUPNAME
= \CMS_PAGE_TABLE . "|visible='yes' AND groupname='[[GROUPNAME]]'|priority ASC"
public
mixed
CONFIG_TABLE
= '_config'
public
mixed
CONTACT_TABLE
= '_contact'
public
mixed
CREATION_DATE
= 'creation_date'
public
mixed
DB_HOST
= 'localhost'
public
mixed
DB_HOST
= 'localhost'
public
mixed
DB_NAME
= 'cardcomics'
public
mixed
DB_NAME
= 'dressapi-test'
public
mixed
DB_PASSWORD
= ''
public
mixed
DB_PASSWORD
= 'drapi22'
public
mixed
DB_PORT
= 3306
public
mixed
DB_PORT
= 3306
public
mixed
DB_USERNAME
= 'root'
public
mixed
DB_USERNAME
= 'root'
public
mixed
DBMS_TYPE
= 'MySql'
public
mixed
DEFAULT_CHARSET
= 'UTF-8'
public
mixed
DEFAULT_CSS_FOLDER
= 'default'
public
mixed
DEFAULT_FORMAT_OUTPUT
= 'json'
public
mixed
DEFAULT_HTML_FOLDER
= 'default'
public
mixed
DEFAULT_ITEMS_PER_REQUEST
= 20
public
mixed
DEFAULT_LANGUAGE
= 'IT'
public
mixed
DEFAULT_ORDER
= 'DESC'
public
mixed
DEFAULT_PAGE_DESCRIPTION
= 'Demo of dressapi'
public
mixed
DEFAULT_PAGE_TITLE
= 'dressapi.com - DEMO'
public
mixed
DOMAIN_NAME
= 'dressapi.com'
public
mixed
DOMAIN_NAME
= 'dressapi.com'
public
mixed
DOMAIN_NAME
= 'dressapi.com'
public
mixed
FRAMEWORK
= '/frameworks/bootstrap/'
public
mixed
HOME_PATH
= __DIR__ . '/www/'
public
mixed
IMAGES_EXT_ACCEPTED
= ['jpeg', 'jpg', 'png', 'webp', 'gif']
public
mixed
IMAGES_EXT_ACCEPTED
= ['jpeg', 'jpg', 'png', 'webp', 'gif']
public
mixed
ITEM_ID
= 'id'
public
mixed
LANGUAGE_LEARN
= \true
public
mixed
LANGUAGES
= ['IT', 'EN']
public
mixed
LOG_LEVEL_MIN
= 1
public
mixed
LOG_TRACE_REQUESTS
= \false
public
mixed
MAIL_DEBUG
= 2
public
mixed
MAIL_DEBUG
= 0
public
mixed
MAIL_DEBUG
= false
public
mixed
MAIL_ENCRYPTION
= 'tls'
public
mixed
MAIL_ENCRYPTION
= 'tls'
public
mixed
MAIL_ENCRYPTION
= \PHPMailer\PHPMailer\PHPMailer::ENCRYPTION_SMTPS
public
mixed
MAIL_HOST
= 'smtp.gmail.com'
public
mixed
MAIL_HOST
= 'smtp.gmail.com'
public
mixed
MAIL_PASSWORD
= '<YOUR EMAIL PASSWORD>'
public
mixed
MAIL_PASSWORD
= '<YOUR EMAIL PASSWORD>'
public
mixed
MAIL_PORT
= 465
public
mixed
MAIL_PORT
= 465
public
mixed
MAIL_PORT
= 465
public
mixed
MAIL_SMTP_PROTOCOL
= \false
public
mixed
MAIL_SMTP_PROTOCOL
= \false
public
mixed
MAIL_SMTP_PROTOCOL
= true
public
mixed
MAIL_TO_REPLY
= '<YOUR EMAIL>'
public
mixed
MAIL_TO_REPLY
= '<YOUR EMAIL>'
public
mixed
MAIL_USERNAME
= '<YOUR EMAIL USERNAME'
public
mixed
MAIL_USERNAME
= '<YOUR EMAIL USERNAME'
public
mixed
MAX_ELEMENTS_PER_RELATED_TABLE
= 50
public
mixed
MAX_FILE_SIZE
= 1048576 * 128
public
mixed
MAX_FILE_SIZE
= 1048576 * 128
public
mixed
MAX_ITEMS_PER_REQUEST
= 200
public
mixed
MODULE_AVAILABLE_LIST
= \MODULE_TABLE . "|visible='yes' AND id IN (SELECT " . \RELATED_MODULE_ID . " FROM " . \ACL_TABLE . " a LEFT JOIN " . \USER_ROLE_TABLE . " ur ON (a." . \RELATED_ROLE_ID . "=ur." . \RELATED_ROLE_ID . " OR a." . \RELATED_ROLE_ID . " IS NULL) WHERE (can_read='YES' AND " . \RELATED_USER_ID . "=[[CURRENT_ID_USER]]))"
public
mixed
MODULE_TABLE
= '_module'
public
mixed
PUBLIC_FILE_URL
= 'public-files/'
public
mixed
PUBLIC_FILE_URL
= 'public-files/'
public
mixed
PWD_CRYPT
= '@AShHK#Dfjdx45'
public
mixed
PWD_ENC_ALGORITHM
= 'tiger192,4'
public
mixed
REDIS_HOST
= '127.0.0.1'
public
mixed
REDIS_PASSWORD
= "change me"
public
mixed
REDIS_PORT
= 6379
public
mixed
REDIS_SCHEME
= 'tcp'
Config definitions for Redis Cache
public
mixed
REDIS_SELECTION
= 0
public
mixed
REDIS_USERNAME
= "change me"
public
mixed
RELATED_FIELD_NAMES
= ['_role' => 'name', '_module' => 'name', 'article' => 'title', '*' => 'name']
public
mixed
RELATED_ID_POSTFIX
= ''
public
mixed
RELATED_ID_PREFIX
= 'id_'
public
mixed
RELATED_MODULE_ID
= \RELATED_ID_PREFIX . \MODULE_TABLE . \RELATED_ID_POSTFIX
public
mixed
RELATED_PARENT_ID
= \RELATED_ID_PREFIX . \SAME_TABLE . \RELATED_ID_POSTFIX
public
mixed
RELATED_ROLE_ID
= \RELATED_ID_PREFIX . \ROLE_TABLE . \RELATED_ID_POSTFIX
public
mixed
RELATED_TABLE_ID
= \RELATED_ID_PREFIX . '[related_table]' . \RELATED_ID_POSTFIX
public
mixed
RELATED_USER_ID
= \RELATED_ID_PREFIX . \USER_TABLE . \RELATED_ID_POSTFIX
public
mixed
REQUIRED_ITEMS
= []
public
mixed
ROLE_TABLE
= '_role'
public
mixed
ROUTE_TABLE
= '_route'
public
mixed
SAME_TABLE
= 'parent'
public
mixed
TOKEN_DURATION
= '2 months'
public
mixed
TOKEN_ENC_ALGORITHM
= 'HS512'
public
mixed
TOKEN_SECRET_KEY
= 'bGS6lzFqvvSQ8ALbOxatm7/Vk7mLQyzqaS34Q4oR1ew='
public
mixed
TRANSLATION_TABLE
= '_translation'
public
mixed
TWITTER_SITE
= '@dressapi'
public
mixed
UPLOAD_EXT_ACCEPTED
= ['doc', 'docx', 'pdf', 'odf', 'pptx', 'jpeg', 'jpg', 'png', 'webp', 'gif']
public
mixed
UPLOAD_EXT_ACCEPTED
= ['doc', 'docx', 'pdf', 'odf', 'pptx', 'jpeg', 'jpg', 'png', 'webp', 'gif']
public
mixed
UPLOAD_FILE_PATH
= \UPLOAD_PUBLIC_FILE_PATH
public
mixed
UPLOAD_FILE_PATH
= \UPLOAD_PUBLIC_FILE_PATH
public
mixed
UPLOAD_PRIVATE_FILE_PATH
= \realpath(\HOME_PATH . '../private-files/') . '/'
public
mixed
UPLOAD_PRIVATE_FILE_PATH
= \realpath(\HOME_PATH . '../private-files/') . '/'
public
mixed
UPLOAD_PUBLIC_FILE_PATH
= \realpath(\HOME_PATH . \PUBLIC_FILE_URL) . '/'
public
mixed
UPLOAD_PUBLIC_FILE_PATH
= \realpath(\HOME_PATH . \PUBLIC_FILE_URL) . '/'
public
mixed
USER_INIT_ROLES
= [103]
public
mixed
USER_ITEM_ID
= 'id'
public
mixed
USER_ITEM_NAME
= 'name'
public
mixed
USER_ITEM_PASSWORD
= 'pwd'
public
mixed
USER_ITEM_USERNAME
= 'username'
public
mixed
USER_ROLE_TABLE
= '_user_role'
public
mixed
USER_TABLE
= '_user'
Translate text
_T(string $text) : string
text to translate
translated text
like print_r() print an variable or an complex object on browser
printr(mixed $var) : void
the variable or object to display
like var_dump() print an variable or an complex object on browser
vardump(mixed $var) : void
the variable or object to display