createElement
Creates a new form element of the given type. Just like addElement, this method can take a variable number of parameters, depending on the type of element you're creating. object amp createElement mixed element element mixed Either an element object or a string specifying the type of element. If a string, then additional parameters can be included that vary depending on the type of element to add and that are used to create the element.
getHolidaysForDatespan()
Returns an array of Date_Holidays_Holiday objects for the holidays that occur between the two specified dates. If no holidays are found, then an empty array will be returned. array getHolidaysForDatespan mixed start, mixed end , Date_Holidays_Filter filter null , string locale null start mixed The starting date of the time span. end mixed The end date of the time span. filter to use for loading holidays. locale string The locale to use when loading holiday
Displaying the Entire Contents of a Directory
The example shown here demonstrates how to display the entire contents of a directory by using the maptree function to populate two arrays. One array, directories, contains a list of directory names, while the files array contains a list of files found in the directory that is being mapped. Two loops at the end of the example iterate through the two arrays and print their contents. Displaying the entire contents of a directory require_once 'File Find.php' This example will recursively search...
■s
S, s format strings, Date object, 94 S, s format strings, Date_Span, 104 saveBody parameter, HTTP_Request, 430 saveMemoryCachingState , Cache_Lite, 44 building web calendar data objects, 539 scripts endScript , HTML_JavaScript, 175 run-scripts command, 4 startScript , HTML_JavaScript, 177 scripts, .php connect.php script, 521-522 search command, 4 finding packages, 5 search , File_Find, 382 searches File_Find package, 381-385 File_SearchReplace package, 395-400 searching for a directory, 385...
■t
T, t format strings, Date object, 94 T, t format strings, Date_Span, 104 tab character, format strings, 94 table , DB_DataObject, 289 table structure databaseStructure , DB_DataObject, 283 tableInfo , DB class, 278 tableName , DB_DataObject, 289 tables create , DB_Table, 302 creating table and inserting data, 309-311 DB_Table package, 299-314 HTML_Table package, 211-222 tags ignore-tags parameter, PhpDocumentor, 84 returnEnd , HTML_Form, 159 returnStart , HTML_Form, 167 setETag ,...
toNumeral()
Converts a decimal number into a string that represents a Roman numeral for example, 6 is converted to VI. string toNumeral integer num, boolean uppercase true , boolean html true A decimal number, such as 10, 100, or 1211. If true, the Roman numeral string that's returned will be If true, the string that is returned will use HyperText Markup Language HTML formatting to place the bars above and
returnSelect
Returns a string containing a select input type, either as a drop-down menu or as a list of selectable options. string returnSelect string name, array entries , mixed default null , integer size 1 , string blank '' , boolean multiple false , string attr '' An associative array of the entries, where the key is used as the option value, and the value of the array is used as the displayed text. The number of rows in the select element to display. A value of 1 shows a drop-down list any other value...
■m
M, m format strings, Date object, 94 M, m format strings, Date_Span, 104 Mail class, 470 constructor, 470 factory , 470 parseAddressList , 471 send , 472 mail , PHP sending mail message, 472 Mail package, 469, 470-473 sending mail message, 472 Mail_mime class, 474 addAttachment , 475 addBcc , 475 addCc , 475 addHTMLImage , 476 constructor, 474 get , 476 headers , 477 setFrom , 477 setHTMLBody , 477 setSubject , 477 setTXTBody , 478 txtHeaders , 478 Mail_mime package, 469, 474-479 register.php...
■n
n format string, Date object, 94 n format string, Date_Span, 104 name N setName , Contact_Vcard_Build, 325 name tag, PhpDocumentor, 85 namedColor2RGB , Image_Color, 227 namespace option call , SOAP_Client, 457 nameToSafe , HTTP_Upload, 441 nameToUniq , HTTP_Upload, 441 navigating site map, 184 negotiateLanguage , HTTP class, 403 nested dispatchers Event_Dispatcher, 54 removeNestedDispatcher , Event_Dispatcher, 57 newappointment.php page adding appointments, web calendar, 547 exposing free...
■h
H format string, Date object, 94 H, h format strings, Date_Span, 104 halign option, Image_Text, 236 handle , Services_WebService, 463, 465, 468 handlers see also logging handler setCallHandler , SOAP_Server, 455 hasDaylightTime , Date_TimeZone, 111 hashedDirectoryLevel option, Cache_Lite, 42 hashedDirectoryUmask option, Cache_ Lite, 42 hasParameters , MIME_Type, 487 HAVING clause having , DB_DataObject, 287 having , DB_DataObject, 287 HEAD command, HTTP head , HTTP class, 403 head , HTTP...