Returns Indentation character string
JApplication
abstract, extends JObject
Base application class. The frontend and backend application classes both extend this class.
This class encapsulates the process from request to response. For more information about
the application refer to Chapter 2.
Properties
_clientId : int Client type; 0 = site, 1 = admin, 2 = installation
_router : JRouter Application router
_messageQueue : array Queued messages
Appendix
[ 399 ]
Constructors
__construct( clientId : int=0 ) : JApplication
Builds a new JApplication object with the specified clientId. Subclasses generally do not
require the clientId parameter.
Parameters [clientId] 0 = site, 1 = admin, 2 = installation
Methods
addCustomHeadTag( html : string ) : void
Deprecated; use of this method is no longer advised.
Adds a custom HTML tag to the head if the document type is HTML. Instead use:
$document =& JFactory::getDocument();
if($document->getType() == 'html')
{
$document->addCustomTag('');
}
Parameters HTML HTML to add to the head
addMetaTag( name : string, content : string, prepend : string='',
append : string='' ) : void
Deprecated; use of this method is no longer advised.
Pages:
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556