OSOL Paginator 0.0.1
Class to easily make pagination links
index.php File Reference

Front to the OSOL Paginator demo project. More...

Functions

 osolAutoLoadRegisterCalled ()
 Dummy function to mention spl_autoload_register is called. More...
 

Variables

const OTP_PRIVATE_FOLDER dirname(__FILE__).DIRECTORY_SEPARATOR.'private'
 constant holding file path of 'private' folder. More...
 
 $EasyMySQLConfig
 Database configuration values. More...
 

Detailed Description

Front to the OSOL Paginator demo project.

Starting point of the project.
This file bootstraps the operations of this project
This documentation is show because file tag is used.
This will appear under Main Project >> Files >> File List >> thisFileName

Warning
without file tag, non class files are not documented
Also no global variables will be documented

Function Documentation

◆ osolAutoLoadRegisterCalled()

osolAutoLoadRegisterCalled ( )

Dummy function to mention spl_autoload_register is called.

Parameters
functionFunction that maps called classes to appropriate source files.
Exceptions
std::fileNotFoundNo such file check the spelling of {$class}.
Returns
void.

Variable Documentation

◆ $EasyMySQLConfig

$EasyMySQLConfig
Initial value:
= array(
'DB_USER' => "root",
'DB_PASS' => "",
'DB_SERVER' => "localhost",
'DB_NAME' => "osol_test_paginator",
'table_prefix' => "otp_",
'log_queries' => true,
'query_log_type' => "file"
)

Database configuration values.

$EasyMySQLConfig will be like

  array(
                        'DB_USER' => "",
                        'DB_PASS' => "",
                        'DB_SERVER' => "",
                        'DB_NAME' => "",
                        'table_prefix' => "",
                        'log_queries' => true| false,
                        'query_log_type' => "file"|"echo",
                        );
  

◆ OTP_PRIVATE_FOLDER

const OTP_PRIVATE_FOLDER dirname(__FILE__).DIRECTORY_SEPARATOR.'private'

constant holding file path of 'private' folder.

classes , templates etc are ain private folder.
For more security, private folder may be moved to a secured location.