Reason Developer Notebook
Posts tagged with “Classes” (All posts)
get_query mode for sqler.inc
April 28, 2006 at 1:54 pmI added a class variable $mode to sqler.inc. When this variable is set to "get_query", sqler will return the queries it generates without executing them. Mostly I did this because…
prettify_mysql_timestamp handles time
April 27, 2006 at 4:26 pmI modified the prettify_mysql_timestamp function in the viewer.php3 class to extract hours, minutes, and seconds from a timestamp, so that the full power of the php date() function can be…
csv class
April 6, 2006 at 2:42 pmHaving recently had a few projects involve some kind of .csv data, I created a simple class to handle .csv read/writes, and also added a constant (REASON_CSV_DIR) which defines the…