M
M
Michael R.2017-09-07 16:46:29
JavaScript
Michael R., 2017-09-07 16:46:29

How to connect and where to place a class that must be executed without fail when the page is loaded (CodeIgniter)?

Hello! I am studying the CI framework and I want to password-protect all pages of the site, so the question immediately arose:
- where to place the classes that will be executed before the execution of the controller of a particular page? Well, and most importantly - how to connect it correctly in CI?
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrew, 2019-05-20
@DeniSidorenko

There are many options, choose what suits you best:

  1. https://www.cssscript.com/pure-css-circular-percen...
  2. jsfiddle.net/Symphony/mjza0vnx
  3. https://github.com/afuersch/css-percentage-circle
  4. https://bl.ocks.org/kerryrodden/766f8f6d31f645c39f...
  5. https://codepen.io/vivazzi/pen/yEjxPV

Y
yestodev, 2019-05-20
@yestodev

For example like this:
www.humblesoftware.com/flotr2

E
evnuh, 2017-09-07
@Mike_Ro

конструктор родительского класса контроллера / хуки

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question