SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 458 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Utilities and Useful Classes
Joomla! includes a number of useful utilities and classes that are used to perform
specific tasks. In this chapter, we will discuss the use of the most commonly used
utilities and classes.
Joomla! extensions that require date and time handling can use the JDate class to
handle date and time parsing, formatting, and time zones. In this chapter, we discuss
how to use JDate to handle all of these aspects of date and time values.
Many extensions use the file system to store important data. In addition to the PHP
file-system handling functions, we can use the joomla.filesystem library. This
library has a number of advantages over the PHP functions, including the use of
FTP, where appropriate, to overcome file-system permission problems.
We use arrays constantly in PHP, and Joomla! is no exception. The static
JArrayHelper class includes a number of very useful methods that we can use to
process arrays.
PHP only provides us with a few data structures. Joomla! adds the tree data
structure to this list.


Pages:
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470
katalog stron www fotografia ślubna Wrocław Compare diabetycy donice betonowe