Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying TYPO3 Extension Development
  • Table Of Contents Toc
TYPO3 Extension Development

TYPO3 Extension Development

4.5 (2)
close
close
TYPO3 Extension Development

TYPO3 Extension Development

4.5 (2)

Overview of this book

Table of Contents (13 chapters)
close
close

Implementing a Backend Module


In this section, we will implement the Backend module of our extension. Our Backend module will not use many functions, but the reader can extend it as required to include additional functionality.

Files and Classes

Our Backend module is going to be large. Therefore, we will have a main class for making the menu and dispatching code to other included files. The other files will have classes for showing:

  • The fixed number of logins

  • The Monthly view

  • The Active and inactive views (the same class)

  • The Page hit statistics for each user and optionally, the session

Classes and files will appear as follows:

File name

Class name

index.php

tx_geuserstat_module1

class.tx_feuserstat_logins.php

tx_feuserstat_logins

class.tx_feuserstat_monthly.php

tx_feuserstat_monthly

class.tx_feuserstat_active.php

tx_feuserstat_active

class.tx_feuserstat_pagestats.php

tx_feuserstat_pagestats

All files will be there in the mod1 subdirectory. Each class will have a main method. It...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
TYPO3 Extension Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon