SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 427 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

The third parameter can be a string or an array of strings that identify
properties within the object we don't want to encode.
There are other methods within JOutputFilter that we can use to encode data,
including making URIs XHTML standards compliant and replacing ampersands
with the HTML entity &.
Error Handling and Security
[ 320 ]
Regular Expressions
REs (Regular Expressions) are revered by those who know how to use them, and
considered a black art to those who don't. We can use Regular Expressions to
sanitize data, to check the format of data, and to modify data. At the heart of REs are
patterns; RE patterns are used to identify character patterns in data.
Patterns
Patterns are encapsulated with two identical characters, the pattern delimiters.
Common pattern delimiters are the forward slash /, the hash #, and the tilde ~. You
don't have to use the common pattern delimiters, but using them can make your
code more readable for other developers.
Between the pattern delimiters is where we define what it is we are looking for.


Pages:
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
odżywki na mase Sklep komputerowy kredyty hipoteczne Fyk bramy garażowe