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 496 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

php', $options, JPATH_COMPONENT);
Utilities and Useful Classes
[ 364 ]
We add entries to this log file using the JLog object in the same way as we did with
the previous example:
$entry = array('description' => 'Example Log Entry');
$log->addEntry($entry);
Summary
Joomla!'s powerful library is an extremely useful resource. Not only does it provide
us with common Joomla! classes, but it also provides us with some invaluable
utilities and useful classes.
Working with the file system is a common activity. Migrating to the joomla.
filesystem library is extremely easy and it provides us with far more power and
consistency than the basic PHP file-system functions.
Arrays have long been a key data type. PHP provides us with many useful
functions for handling arrays; Joomla! extends this functionality through the
JArrayHelper class.
Data structures are often used to model information. The tree structure is a very
common data structure and Joomla! provides us with a way of easily building such
a structure.


Pages:
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508
Zakłady sportowe Sprzęt narciarski Sklep DVD i VCD wczasy w Karpaczu Budownictwo drogowe