admin
Table of Contents
Packages
Classes
Constants
- K_UPDATE_PASSKEY = '0'
- UPDATES PASSKEY
- K_UPDATE_SERVER = 'http://updates.tcexam.com'
- Updating server
Functions
- F_html_color_picker() : mixed
- Display Color Picker
- F_isValidbackupFile() : mixed
- F_send_report_emails() : mixed
- Sends email test reports to users.
- F_deleteMediaFile() : true
- Delete the selected media file
- F_renameMediaFile() : true
- Rename the selected media file
- F_createMediaDir() : true
- Create a new media directory inside the cache
- F_deleteMediaDir() : true
- Delete the specified media directory
- F_getFileInfo() : associative
- Get file information
- F_formatFileSize() : string
- Return a formatted file size
- F_getMediaDirPathLink() : an
- Get an html string containing active path of the specified directory with links to subdirectories.
- F_getDirFiles() : an
- Get an associative array of directories and folder inside the specified dir.
- F_isUsedMediaFile() : true
- Return true if the file is used on question or answer descriptions
- F_getDirTable() : html
- Get an html table containing files and subdirs
- F_getDirVisualTable() : html
- Get an html visual list of files and subdirs
- F_getAuthorizedDirs() : a
- Returns a regular expression to match authorised directories.
- F_isAuthorizedDir() : true
- Returns true if the user is authorized to use the specified directory, false otherwise.
- F_question_set_enabled() : mixed
- Enable/Disable selected question
- F_question_get_position() : int
- Get question position
- F_question_get_data() : array<string|int, mixed>
- Get question data
- F_question_delete() : mixed
- Delete selected question (or disable it if used)
- F_question_copy() : mixed
- Copy selected question to another topic
- tcecodeEditorTagButtons() : XHTML
- Display TCExam Code EDITOR Tag Buttons
- getImageButton() : XHTML
- Display one tag button
- F_select_test() : true
- Display test selection for using F_show_select_test function.
- F_show_select_test() : false
- Display test selection XHTML table.
- F_show_select_test_popup() : false
- Display user selection XHTML table (popup mode).
- F_isTestOnSSLCerts() : bool
- Return true if the selected test is active for the selected SSL Certificate
- F_is_allowed_upload() : true
- Check if the uploaded file extension is allowed.
- F_upload_file() : mixed
- Uploads image file to the server.
- F_read_file_size() : mixed
- returns the file size in bytes
- F_select_user() : true
- Display user selection for using F_show_select_user function.
- F_show_select_user() : false
- Display user selection XHTML table.
- F_show_select_user_popup() : false
- Display user selection XHTML table (popup mode).
- F_isTestOnGroup() : bool
- Return true if the selected test is active for the selected group
- F_isUserOnGroup() : bool
- Return true if the selected user belongs to the selected group
- F_isAuthorizedEditorForGroup() : bool
- Return true if the current user is an administrator or belongs to the group, false otherwise
- F_isAuthorizedEditorForUser() : bool
- Return true if the current user is authorized to edit the specified user
- F_user_group_select_sql() : sql
- Return the SQL selection query for user groups
- F_user_group_select() : table
- Display select box for user groups
- F_get_user_groups() : array<string|int, mixed>
- Returns an array containing groups IDs to which the specified user belongs
- F_getUIDfromRegnum() : int
- Return the user ID from registration number.
- F_show_online_users() : false
- Display online users form using F_list_online_users function.
- F_list_online_users() : false
- Display online users.
- F_TSVQuestionImporter() : bool
- Import questions from TSV file (tab delimited text).
- F_import_tsv_users() : bool
- Import users from TSV file (tab delimited text).
- F_show_select_questions() : false
- Display a list of selected questions.
- F_tsv_export_questions() : TSV
- Export all questions of the selected subject to TSV.
- F_tsv_export_users() : TSV
- Export all users to TSV grouped by users' groups.
- F_xml_export_question_stats() : XML
- Export all question statistics of the selected test to XML.
- F_xml_export_questions() : XML
- Export all questions of the selected subject to XML.
- F_xml_export_results() : XML
- Export results in XML format.
- F_xml_export_user_results() : XML
- Export user results in XML format.
- F_xml_export_users() : XML
- Export all users to XML grouped by users' groups.
- F_select_modules_sql() : string
- Returns a SQL string to select modules accounting for user authorizations.
- F_select_subjects_sql() : string
- Returns a SQL string to select subjects accounting for user authorizations.
- F_select_module_subjects_sql() : string
- Returns a SQL string to select modules and subjects accounting for user authorizations.
- F_select_tests_sql() : string
- Returns a SQL string to select tests accounting for user authorizations.
- F_select_executed_tests_sql() : string
- Returns a SQL string to select executed tests accounting for user authorizations.
- F_getArrayStatistics() : array<string|int, mixed>
- Return an array containing descriptive statistics for the bidimensional input array.
- F_getSVGGraphCode() : converted
- Replace angular parenthesis with html equivalents (html entities).
- F_getSVGGraph() : converted
- Replace angular parenthesis with html equivalents (html entities).
Constants
K_UPDATE_PASSKEY
UPDATES PASSKEY
public mixed K_UPDATE_PASSKEY =
'0'
K_UPDATE_SERVER
Updating server
public mixed K_UPDATE_SERVER =
'http://updates.tcexam.com'
Functions
F_html_color_picker()
Display Color Picker
F_html_color_picker(mixed $callingform,
mixed $callingfield,
mixed $tag)
: mixed
Parameters
- $callingform : mixed
- $callingfield : mixed
- $tag : mixed
Tags
F_isValidbackupFile()
F_isValidbackupFile(mixed $file)
: mixed
Parameters
- $file : mixed
F_send_report_emails()
Sends email test reports to users.
F_send_report_emails( $test_id[,
$user_id
= 0
][,
$testuser_id
= 0
][,
$group_id
= 0
][,
$startdate
= 0
][,
$enddate
= 0
][,
$mode
= 0
][,
$display_mode
= 1
][,
$show_graph
= false
]) : mixed
Parameters
- $test_id :
-
(int) TEST ID
- $user_id : = 0
-
(int) USER ID (0 means all users)
- $testuser_id : = 0
-
(int) test-user ID - if greater than zero, filter stats for the specified test-user.
- $group_id : = 0
-
(int) GROUP ID (0 means all groups)
- $startdate : = 0
-
(int) start date ID - if greater than zero, filter stats for the specified starting date
- $enddate : = 0
-
(int) end date ID - if greater than zero, filter stats for the specified ending date
- $mode : = 0
-
(int) type of report to send: 0=detailed report; 1=summary report (without questions)
- $display_mode : = 1
-
display (int) mode: 0 = disabled; 1 = minimum; 2 = module; 3 = subject; 4 = question; 5 = answer.
- $show_graph : = false
-
(boolean) If true display the score graph.
Tags
F_deleteMediaFile()
Delete the selected media file
F_deleteMediaFile( $filename)
: true
Parameters
Tags
Return values
true —in case of success, false otherwise
F_renameMediaFile()
Rename the selected media file
F_renameMediaFile( $filename,
$newname)
: true
Parameters
Tags
Return values
true —in case of success, false otherwise
F_createMediaDir()
Create a new media directory inside the cache
F_createMediaDir( $dirname)
: true
Parameters
Tags
Return values
true —in case of success, false otherwise
F_deleteMediaDir()
Delete the specified media directory
F_deleteMediaDir( $dirname)
: true
Parameters
Tags
Return values
true —in case of success, false otherwise
F_getFileInfo()
Get file information
F_getFileInfo( $file)
: associative
Parameters
Tags
Return values
associative —array containing file info or false in case of error
F_formatFileSize()
Return a formatted file size
F_formatFileSize( $size)
: string
Parameters
Tags
Return values
string —formatted size
F_getMediaDirPathLink()
Get an html string containing active path of the specified directory with links to subdirectories.
F_getMediaDirPathLink( $dirpath[,
$viewmode
= true
]) : an
Parameters
Tags
Return values
an —html string
F_getDirFiles()
Get an associative array of directories and folder inside the specified dir.
F_getDirFiles( $dir[,
$rootdir
= K_PATH_CACHE
][,
$authdirs
= ''
]) : an
Parameters
- $dir :
-
(string) the starting directory path
- $rootdir : = K_PATH_CACHE
-
(string) the user root dir.
- $authdirs : = ''
-
(string) regular expression containing the authorized dirs.
Tags
Return values
an —associative array containing sorted 'dirs' and 'files'
F_isUsedMediaFile()
Return true if the file is used on question or answer descriptions
F_isUsedMediaFile( $file)
: true
Parameters
Tags
Return values
true —if the file is used, false otherwise
F_getDirTable()
Get an html table containing files and subdirs
F_getDirTable( $dir[,
$selected
= ''
][,
$params
= ''
][,
$rootdir
= K_PATH_CACHE
][,
$authdirs
= ''
]) : html
Parameters
- $dir :
-
(string) the starting directory path
- $selected : = ''
-
(string) the selected file
- $params : = ''
-
(string) additional parameters to add on links
- $rootdir : = K_PATH_CACHE
-
(string) the user root dir.
- $authdirs : = ''
-
(string) regular expression containing the authorized dirs.
Tags
Return values
html —table
F_getDirVisualTable()
Get an html visual list of files and subdirs
F_getDirVisualTable( $dir[,
$selected
= ''
][,
$params
= ''
][,
$rootdir
= K_PATH_CACHE
][,
$authdirs
= ''
]) : html
Parameters
- $dir :
-
(string) the starting directory path
- $selected : = ''
-
(string) the selected file
- $params : = ''
-
(string) additional parameters to add on links
- $rootdir : = K_PATH_CACHE
-
(string) the user root dir.
- $authdirs : = ''
-
(string) regular expression containing the authorized dirs.
Tags
Return values
html —table
F_getAuthorizedDirs()
Returns a regular expression to match authorised directories.
F_getAuthorizedDirs()
: a
Return values
a —regular expression to match authorised directories.
F_isAuthorizedDir()
Returns true if the user is authorized to use the specified directory, false otherwise.
F_isAuthorizedDir( $dir,
$rootdir[,
$authdirs
= ''
]) : true
Parameters
- $dir :
-
(string) the directory to check.
- $rootdir :
-
(string) the user root dir.
- $authdirs : = ''
-
(string) regular expression containing the authorized dirs.
Return values
true —if the user is authorized to use the specified directory, false otherwise.
F_question_set_enabled()
Enable/Disable selected question
F_question_set_enabled( $question_id[,
$enabled
= true
]) : mixed
Parameters
- $question_id :
-
(int) question ID
- $enabled : = true
-
(boolean) if true enables question, false otherwise
Tags
F_question_get_position()
Get question position
F_question_get_position( $question_id)
: int
Parameters
Tags
Return values
int —question position
F_question_get_data()
Get question data
F_question_get_data( $question_id)
: array<string|int,
mixed>
Parameters
Tags
Return values
array<string|int, mixed> —containing selected question data, false in case of error
F_question_delete()
Delete selected question (or disable it if used)
F_question_delete( $question_id,
$subject_id)
: mixed
Parameters
Tags
F_question_copy()
Copy selected question to another topic
F_question_copy( $question_id,
$new_subject_id)
: mixed
Parameters
Tags
tcecodeEditorTagButtons()
Display TCExam Code EDITOR Tag Buttons
tcecodeEditorTagButtons( $callingform,
$callingfield)
: XHTML
Parameters
- $callingform :
-
(string) name of calling xhtml form
- $callingfield :
-
(string) name of calling form field (textarea where output code will be sent)
Tags
Return values
XHTML —string
getImageButton()
Display one tag button
getImageButton( $name,
$tag,
$image[,
$onclick
= ''
][,
$accesskey
= ''
]) : XHTML
Parameters
- $name :
-
(string) name of the button
- $tag :
-
(string) tag value
- $image :
-
(string) image file of button
- $onclick : = ''
-
(string) default onclick action
- $accesskey : = ''
-
(string) accesskey: character for keyboard shortcut
Tags
Return values
XHTML —string
F_select_test()
Display test selection for using F_show_select_test function.
F_select_test( $order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$andwhere
= ''
][,
$searchterms
= ''
]) : true
Parameters
- $order_field :
-
(string) order by column name
- $orderdir :
-
(string) oreder direction
- $firstrow :
-
(string) number of first row to display
- $rowsperpage :
-
(string) number of rows per page
- $andwhere : = ''
-
(string) additional SQL WHERE query conditions
- $searchterms : = ''
-
(string) search terms
Tags
Return values
trueF_show_select_test()
Display test selection XHTML table.
F_show_select_test( $order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$andwhere
= ''
][,
$searchterms
= ''
]) : false
Parameters
- $order_field :
-
(string) Order by column name.
- $orderdir :
-
(int) Order direction.
- $firstrow :
-
(int) Number of first row to display.
- $rowsperpage :
-
(int) Number of rows per page.
- $andwhere : = ''
-
(string) Additional SQL WHERE query conditions.
- $searchterms : = ''
-
(string) Search terms.
Tags
Return values
false —in case of empty database, true otherwise
F_show_select_test_popup()
Display user selection XHTML table (popup mode).
F_show_select_test_popup( $order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$andwhere
= ''
][,
$searchterms
= ''
][,
string $cid
= 0
]) : false
Parameters
- $order_field :
-
(string) Order by column name.
- $orderdir :
-
(int) Order direction.
- $firstrow :
-
(int) Number of first row to display.
- $rowsperpage :
-
(int) Number of rows per page.
- $andwhere : = ''
-
(string) Additional SQL WHERE query conditions.
- $searchterms : = ''
-
(string) Search terms.
- $cid : string = 0
-
ID of the calling form field.
Tags
Return values
false —in case of empty database, true otherwise
F_isTestOnSSLCerts()
Return true if the selected test is active for the selected SSL Certificate
F_isTestOnSSLCerts( $test_id,
$ssl_id)
: bool
Parameters
Tags
Return values
bool —true/false
F_is_allowed_upload()
Check if the uploaded file extension is allowed.
F_is_allowed_upload( $filename)
: true
Parameters
Tags
Return values
true —in case of allowed file type, false otherwise
F_upload_file()
Uploads image file to the server.
F_upload_file( $fieldname,
$uploaddir)
: mixed
Parameters
- $fieldname :
-
(string) form field name containing the source file path
- $uploaddir :
-
(string) upload directory
Tags
Return values
mixed —file name or false in case of error
F_read_file_size()
returns the file size in bytes
F_read_file_size( $filetocheck)
: mixed
Parameters
Tags
Return values
mixed —file size in bytes or false in case of error
F_select_user()
Display user selection for using F_show_select_user function.
F_select_user( $order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$group_id
= 0
][,
$andwhere
= ''
][,
$searchterms
= ''
]) : true
Parameters
- $order_field :
-
(string) order by column name
- $orderdir :
-
(string) oreder direction
- $firstrow :
-
(string) number of first row to display
- $rowsperpage :
-
(string) number of rows per page
- $group_id : = 0
-
(int) id of the group (default = 0 = no specific group selected)
- $andwhere : = ''
-
(string) additional SQL WHERE query conditions
- $searchterms : = ''
-
(string) search terms
Tags
Return values
trueF_show_select_user()
Display user selection XHTML table.
F_show_select_user( $order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$group_id
= 0
][,
$andwhere
= ''
][,
$searchterms
= ''
]) : false
Parameters
- $order_field :
-
(string) Order by column name.
- $orderdir :
-
(int) Order direction.
- $firstrow :
-
(int) Number of first row to display.
- $rowsperpage :
-
(int) Number of rows per page.
- $group_id : = 0
-
(int) ID of the group (default = 0 = no specific group selected).
- $andwhere : = ''
-
(string) Additional SQL WHERE query conditions.
- $searchterms : = ''
-
(string) Search terms.
Tags
Return values
false —in case of empty database, true otherwise
F_show_select_user_popup()
Display user selection XHTML table (popup mode).
F_show_select_user_popup( $order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$group_id
= 0
][,
$andwhere
= ''
][,
$searchterms
= ''
][,
string $cid
= 0
]) : false
Parameters
- $order_field :
-
(string) Order by column name.
- $orderdir :
-
(int) Order direction.
- $firstrow :
-
(int) Number of first row to display.
- $rowsperpage :
-
(int) Number of rows per page.
- $group_id : = 0
-
(int) ID of the group (default = 0 = no specific group selected).
- $andwhere : = ''
-
(string) Additional SQL WHERE query conditions.
- $searchterms : = ''
-
(string) Search terms.
- $cid : string = 0
-
ID of the calling form field.
Tags
Return values
false —in case of empty database, true otherwise
F_isTestOnGroup()
Return true if the selected test is active for the selected group
F_isTestOnGroup( $test_id,
$group_id)
: bool
Parameters
Tags
Return values
bool —true/false
F_isUserOnGroup()
Return true if the selected user belongs to the selected group
F_isUserOnGroup( $user_id,
$group_id)
: bool
Parameters
Tags
Return values
bool —true/false
F_isAuthorizedEditorForGroup()
Return true if the current user is an administrator or belongs to the group, false otherwise
F_isAuthorizedEditorForGroup( $group_id)
: bool
Parameters
Tags
Return values
bool —true/false
F_isAuthorizedEditorForUser()
Return true if the current user is authorized to edit the specified user
F_isAuthorizedEditorForUser( $user_id)
: bool
Parameters
Tags
Return values
bool —true/false
F_user_group_select_sql()
Return the SQL selection query for user groups
F_user_group_select_sql([ $where
= ''
]) : sql
Parameters
Tags
Return values
sql —selection string
F_user_group_select()
Display select box for user groups
F_user_group_select([ $name
= 'group_id'
]) : table
Parameters
Return values
table —header element string
F_get_user_groups()
Returns an array containing groups IDs to which the specified user belongs
F_get_user_groups( $user_id)
: array<string|int,
mixed>
Parameters
Return values
array<string|int, mixed> —containing user's groups IDs
F_getUIDfromRegnum()
Return the user ID from registration number.
F_getUIDfromRegnum(mixed $regnum)
: int
Parameters
- $regnum : mixed
Tags
Return values
int —User ID or 0 in case of error.
F_show_online_users()
Display online users form using F_list_online_users function.
F_show_online_users( $wherequery,
$order_field,
$orderdir,
$firstrow,
$rowsperpage)
: false
Parameters
- $wherequery :
-
(string) users selection query
- $order_field :
-
(string) order by column name
- $orderdir :
-
(string) oreder direction
- $firstrow :
-
(string) number of first row to display
- $rowsperpage :
-
(string) number of rows per page
Tags
Return values
false —in case of empty database, true otherwise
F_list_online_users()
Display online users.
F_list_online_users( $wherequery,
$order_field,
$orderdir,
$firstrow,
$rowsperpage)
: false
Parameters
- $wherequery :
-
(string) users selection query
- $order_field :
-
(string) order by column name
- $orderdir :
-
(int) oreder direction
- $firstrow :
-
(int) number of first row to display
- $rowsperpage :
-
(int) number of rows per page
Tags
Return values
false —in case of empty database, true otherwise
F_TSVQuestionImporter()
Import questions from TSV file (tab delimited text).
F_TSVQuestionImporter( $tsvfile)
: bool
The format of TSV is the same obtained by exporting data from TCExam interface.
Parameters
Return values
bool —TRUE in case of success, FALSE otherwise
F_import_tsv_users()
Import users from TSV file (tab delimited text).
F_import_tsv_users( $tsvfile)
: bool
The format of TSV is the same obtained by exporting data from Users Selection Form.
Parameters
Return values
bool —TRUE in case of success, FALSE otherwise
F_show_select_questions()
Display a list of selected questions.
F_show_select_questions( $wherequery,
$subject_module_id,
$subject_id,
$order_field,
$orderdir,
$firstrow,
$rowsperpage[,
$hide_answers
= false
]) : false
Parameters
- $wherequery :
-
(string) question selection query
- $subject_module_id :
-
(string) module ID
- $subject_id :
-
(string) topic ID
- $order_field :
-
(string) order by column name
- $orderdir :
-
(int) oreder direction
- $firstrow :
-
(int) number of first row to display
- $rowsperpage :
-
(int) number of rows per page
- $hide_answers : = false
-
(boolean) if true hide answers
Tags
Return values
false —in case of empty database, true otherwise
F_tsv_export_questions()
Export all questions of the selected subject to TSV.
F_tsv_export_questions( $module_id,
$subject_id,
$expmode)
: TSV
Parameters
- $module_id :
-
(int) module ID
- $subject_id :
-
(int) topic ID
- $expmode :
-
(int) export mode: 1 = selected topic; 2 = selected module; 3 = all modules.
Return values
TSV —data
F_tsv_export_users()
Export all users to TSV grouped by users' groups.
F_tsv_export_users()
: TSV
Tags
Return values
TSV —data
F_xml_export_question_stats()
Export all question statistics of the selected test to XML.
F_xml_export_question_stats( $test_id)
: XML
Parameters
Tags
Return values
XML —data
F_xml_export_questions()
Export all questions of the selected subject to XML.
F_xml_export_questions( $module_id,
$subject_id,
$expmode)
: XML
Parameters
- $module_id :
-
(int) module ID
- $subject_id :
-
(int) topic ID
- $expmode :
-
(int) export mode: 1 = selected topic; 2 = selected module; 3 = all modules.
Tags
Return values
XML —data
F_xml_export_results()
Export results in XML format.
F_xml_export_results( $test_id[,
$group_id
= 0
][,
$user_id
= 0
][,
$startdate
= 0
][,
$enddate
= 0
][,
$display_mode
= 1
]) : XML
Parameters
- $test_id :
-
(int) test ID.
- $group_id : = 0
-
(int) group ID - if greater than zero, filter stats for the specified user group.
- $user_id : = 0
-
(int) user ID - if greater than zero, filter stats for the specified user.
- $startdate : = 0
-
(int) start date ID - if greater than zero, filter stats for the specified starting date
- $enddate : = 0
-
(int) end date ID - if greater than zero, filter stats for the specified ending date
- $display_mode : = 1
-
(int) display mode: 0 = disabled; 1 = minimum; 2 = module; 3 = subject; 4 = question; 5 = answer.
Tags
Return values
XML —data
F_xml_export_user_results()
Export user results in XML format.
F_xml_export_user_results( $user_id,
$startdate,
$enddate,
$order_field)
: XML
Parameters
- $user_id :
-
(int) user ID - if greater than zero, filter stats for the specified user.
- $startdate :
-
(string) start date ID - if greater than zero, filter stats for the specified starting date
- $enddate :
-
(string) end date ID - if greater than zero, filter stats for the specified ending date
- $order_field :
-
(string) Ordering fields for SQL query.
Tags
Return values
XML —data
F_xml_export_users()
Export all users to XML grouped by users' groups.
F_xml_export_users()
: XML
Tags
Return values
XML —data
F_select_modules_sql()
Returns a SQL string to select modules accounting for user authorizations.
F_select_modules_sql([ $andwhere
= ''
]) : string
Parameters
Tags
Return values
string —sql statement
F_select_subjects_sql()
Returns a SQL string to select subjects accounting for user authorizations.
F_select_subjects_sql([ $andwhere
= ''
]) : string
Parameters
Tags
Return values
string —sql statement
F_select_module_subjects_sql()
Returns a SQL string to select modules and subjects accounting for user authorizations.
F_select_module_subjects_sql([ $andwhere
= ''
]) : string
Parameters
Tags
Return values
string —sql statement
F_select_tests_sql()
Returns a SQL string to select tests accounting for user authorizations.
F_select_tests_sql()
: string
Tags
Return values
string —sql statement
F_select_executed_tests_sql()
Returns a SQL string to select executed tests accounting for user authorizations.
F_select_executed_tests_sql()
: string
Tags
Return values
string —sql statement
F_getArrayStatistics()
Return an array containing descriptive statistics for the bidimensional input array.
F_getArrayStatistics( $data)
: array<string|int,
mixed>
Parameters
- $data :
-
(array) input data as bidimesional array. The first dimension is a set of data, the second contains data.
Tags
Return values
array<string|int, mixed> —of statistical results. The keys of the input data are peserved.
F_getSVGGraphCode()
Replace angular parenthesis with html equivalents (html entities).
F_getSVGGraphCode( $p[,
$w =
''
][,
$h =
''
]) : converted
Parameters
- $p :
-
(string) String containing point data.
- $w : = ''
-
(int) Graph width.
- $h : = ''
-
(int) Graph height.
Return values
converted —string
F_getSVGGraph()
Replace angular parenthesis with html equivalents (html entities).
F_getSVGGraph( $p[,
$w =
''
][,
$h =
''
]) : converted
Parameters
- $p :
-
(string) String containing point data.
- $w : = ''
-
(int) Graph width.
- $h : = ''
-
(int) Graph height.
Return values
converted —string