| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Ken Stanley (2) | > | Mission progress status | > | Reputation |
|
||||||||||||||||||||||||||||||
| 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 |
| ||||
| This class can generate multi-dimensional arrays containing the days of any given month across the span of weeks that the month days occupy. It takes a given month and year as parameters and it fills the multi-dimensional array, that represents the weeks and the week days, with the respective number of the days of the month. The array positions that represent days before and after the current month are filled with 0. The class can also return the month name, month length in days, tell you if a given year is a leap year or not, and the week day name of a given day of the month. Also, worth noting, the function valid_date will make sure that any month, day, and year are within valid parameters. For example, using the date 13/32/2005 by default is invalid. If you pass this date to valid_date, it would convert that date to 2/1/2006. This is important if accepting user input from a calendar. |
| Not yet rated by the users |
| ||||
| This class is meant to store and retrieve preference values of an user of a site using cookies. It can be used to store any kind of site user access context value, not only site usage preferences, but also other things like items added by an anonymous user to a shopping cart. The preferences values are stored in an obfuscated format using the ROT12 algorithm to make it a little more difficult for curious users to understand what is being stored. If a preference can not be stored or retrieve, eventually because the user browser is not accepting cookies, the class will just output a PHP Notice, which can be turned on or off in your app by using PHP error reporting control functions. |
| Ratings | Utility | Consistency | Documentation | Examples | Tests | Videos | Overall | Rank |
| All time: | 80% | 90% | 80% | - | - | - | 57% | 1735 |
| Month: | Not yet rated by the users | |||||||
| 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 |