Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
TYPO3 Extension Development

You're reading from   TYPO3 Extension Development

Arrow left icon
Product type Paperback
Published in Sep 2008
Publisher
ISBN-13 9781847192127
Length 232 pages
Edition Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Dmitry Dulepov Dmitry Dulepov
Author Profile Icon Dmitry Dulepov
Dmitry Dulepov
Arrow right icon
View More author details
Toc

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image