API Documentation
Table of Contents
Classes
- ControllerAccountLogin
- ControllerAccountLogin
- ControllerAccountProfile
- ControllerAccountProfile
- ControllerAccountRegistration
- ControllerAccountRegistration
- ControllerCommonFooter
- ControllerCommonFooter
- ControllerCommonHeader
- ControllerCommonHeader
- ControllerCommonHome
- ControllerCommonHome
- ControllerErrorNotfound
- ControllerErrorNotfound
- ControllerModuleTheme
- ControllerModuleTheme
- ControllerRecipeRecipe
- ControllerRecipeRecipe
- App
- App
- Controller
- Controller
- Db
- Db
- Document
- Document
- Image
- Image
- Model
- Model
- Response
- Response
- Router
- Router
- Url
- Url
- User
- User
- View
- View
- ModelAccountUser
- ModelAccountUser
- ModelRecipeRecipe
- ModelRecipeRecipe
- ModelRecipeReview
- ModelRecipeReview
Constants
- BASE_URL = $_ENV["DOMAIN"]
- DBHOST = $_ENV["DB_HOST"]
- DBNAME = $_ENV["DB_NAME"]
- DBPASSWORD = $_ENV["DB_PASSWORD"]
- DBPORT = $_ENV["DB_PORT"]
- DBUSER = $_ENV["DB_USER"]
- ROOT = __DIR__
- Setting basic configuration data.
Functions
- custom_autoload_function() : void
- This function is responsible for the logic of class autoloading.
Constants
BASE_URL
public
mixed
BASE_URL
= $_ENV["DOMAIN"]
DBHOST
public
mixed
DBHOST
= $_ENV["DB_HOST"]
DBNAME
public
mixed
DBNAME
= $_ENV["DB_NAME"]
DBPASSWORD
public
mixed
DBPASSWORD
= $_ENV["DB_PASSWORD"]
DBPORT
public
mixed
DBPORT
= $_ENV["DB_PORT"]
DBUSER
public
mixed
DBUSER
= $_ENV["DB_USER"]
ROOT
Setting basic configuration data.
public
mixed
ROOT
= __DIR__
Defining global variables for working with paths, connecting to a database, and so on.
Functions
custom_autoload_function()
This function is responsible for the logic of class autoloading.
custom_autoload_function(string $class) : void
First, it tries to connect the class from the core directory, if nothing is found there, it tries to parse the function name into a path (the directories are separated using the camel case).
Parameters
- $class : string
-
Class name