/functions.phpThis file is part of P4A - PHP For Applications.
P4A is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
P4A is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with Foobar. If not, see <http://www.gnu.org/licenses/agpl.html>.
To contact the authors write to:
CreaLabs SNC
Via Medail, 32
10144 Torino (Italy)
Website: http://www.crealabs.it
E-mail: info@crealabs.it
P4A_Array2file (line 61)
Converts an array into a "file" value
P4A_Embedded_Player (line 266)
Return HTML tag containig embedded audio/video player
P4A_Error_Handler (line 456)
P4A_Exception_Handler (line 539)
P4A_File2array (line 39)
Converts a "file" value into an array
P4A_Filename2File (line 81)
Converts a file path into a "file" format value
P4A_Generate_Default_Label (line 378)
P4A_Generate_Widget_Layout_Table (line 401)
P4A_Get_File_Extension (line 217)
Returns the extension of the passed file path/url
P4A_Get_Microtime (line 174)
P4A_Get_Num_Pages (line 121)
Takes records number, page limit and returns the num of pages
P4A_Get_Offset (line 106)
Takes page number, records number, page limit and returns the necessary offset for a query
P4A_Get_Unique_File_Name (line 137)
Tests if a file with the same name exists and return the correct file name.
Appends _1 (_2, _3) at the end fo the file name.
P4A_Get_Valid_File_Name (line 164)
Strips "strange" chars from filename
P4A_Highlight_AccessKey (line 388)
P4A_Include_Objects (line 184)
Includes all p4a objects for the application
P4A_Is_Browser_Event (line 365)
Can the event be managed by the browser? eg: P4A_Is_Browser_Event('onclick') will return true
P4A_Is_Extension_Allowed (line 227)
Check if the extension is allowed to be uploaded
P4A_Is_Mime_Type_Embeddable (line 247)
P4A_Mkdir_Recursive (line 423)
P4A_Output_File (line 656)
creates a temp file and outputs it to the browser (script will die).
The file will be deleted after being transfered to the client.
P4A_Quote_Javascript_String (line 414)
P4A_Redirect_To_File (line 625)
P4A_Redirect_To_Url (line 603)
P4A_Rmdir_Recursive (line 432)
P4A_Strip_Double_Backslashes (line 349)
P4A_Strip_Double_Slashes (line 336)
_P4A_Debug_Print_Variable (line 298)
Used for internal debugging (within session browser)
__ (line 238)
Returns an i18n translated string (like gettext)
Documentation generated on Mon, 23 Jun 2008 11:44:58 +0200 by phpDocumentor 1.4.2