dolibarr 21.0.0-alpha
wrapper.php File Reference

File that is entry point to call an Asterisk server. More...

Go to the source code of this file.

Functions

if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader ($head='', $title='', $help_url='', $target='', $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='', $morequerystring='', $morecssonbody='', $replacemainareaby='', $disablenofollow=0, $disablenoindex=0)
 Empty header.
 
 llxFooter ($comment='', $zone='private', $disabledoutputofmessages=0)
 Empty footer.
 

Detailed Description

File that is entry point to call an Asterisk server.

Remarks
To be used, an Asterisk user must be created by adding this in /etc/asterisk/manager.conf [dolibarr] secret = dolibarr deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user write = system,call,log,verbose,command,agent,user

Definition in file wrapper.php.

Function Documentation

◆ llxFooter()

llxFooter ( $comment = '',
$zone = 'private',
$disabledoutputofmessages = 0 )

Empty footer.

Parameters
string$commentA text to add as HTML comment into HTML generated page
string$zone'private' (for private pages) or 'public' (for public pages)
int$disabledoutputofmessagesClear all messages stored into session without displaying them
Returns
void

Definition at line 86 of file wrapper.php.

◆ llxHeader()

if(!defined( 'NOREQUIRESOC')) if(!defined('NOREQUIRETRAN')) if(!defined( 'NOTOKENRENEWAL')) if(!defined('NOREQUIREMENU')) if(!defined( 'NOREQUIREHTML')) if(!defined('NOREQUIREAJAX')) llxHeader ( $head = '',
$title = '',
$help_url = '',
$target = '',
$disablejs = 0,
$disablehead = 0,
$arrayofjs = '',
$arrayofcss = '',
$morequerystring = '',
$morecssonbody = '',
$replacemainareaby = '',
$disablenofollow = 0,
$disablenoindex = 0 )

Empty header.

Parameters
string$headOptional head lines
string$titleHTML title
string$help_urlUrl links to help page Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage|DE:GermanPage For other external page: http://server/url
string$targetTarget to use on links
int$disablejsMore content into html header
int$disableheadMore content into html header
array | string$arrayofjsArray of complementary js files
array | string$arrayofcssArray of complementary css files
string$morequerystringQuery string to add to the link "print" to get same parameters (use only if autodetect fails)
string$morecssonbodyMore CSS on body tag. For example 'classforhorizontalscrolloftabs'.
string$replacemainareabyReplace call to main_area() by a print of this string
int$disablenofollowDisable the "nofollow" on meta robot header
int$disablenoindexDisable the "noindex" on meta robot header
Returns
void

Definition at line 70 of file wrapper.php.

Referenced by accessforbidden(), and displayPositionCard().