Search
Topics
Archives
- February 2012 (2)
- January 2012 (3)
- November 2011 (1)
- October 2011 (3)
- September 2011 (1)
- August 2011 (6)
- July 2011 (1)
- June 2011 (1)
- April 2011 (1)
- March 2011 (4)
- February 2011 (1)
- January 2011 (1)
- November 2010 (1)
- October 2010 (3)
- July 2010 (3)
- June 2010 (1)
- April 2010 (1)
- November 2009 (1)
- July 2009 (1)
- April 2009 (2)
- October 2008 (3)
- August 2008 (2)
- May 2008 (1)
- February 2008 (1)
- October 2007 (2)
- August 2007 (2)
- July 2007 (2)
- May 2007 (1)
- April 2007 (3)
- March 2007 (2)
- December 2006 (3)
- November 2006 (4)
- October 2006 (3)
- July 2006 (3)
Category Archives: PHP
CakePHP Code Snippet: Return only fields with values to the DB upon saving.
This code goes in {ModelName}::beforeSave: foreach ($this->data[$this->name] as $key => $value) { if (!set::classicExtract($this->data,$this->name . ‘.’ . $key)) { $this->data = set::remove($this->data,$this->name . ‘.’ . $key); } } I use it where the DB may be expecting values for certain … Continue reading
Posted in CakePHP
Leave a comment
Open-Audit Released
It looks like Open-Audit has finally been released to the public. I may be a few months slow here, but the website is now up and running. The file release on Sourceforge is a old though, from December 2006. I’ve … Continue reading
Posted in PHP, SysAdmin
Leave a comment
CakePHP
If, like me, you’re not a real PHP aficionado, you can use CakePHP to fast-track application development. Using CakePHP still requires a modicum of PHP know-how, but this can help you learn about MVC and OO PHP. I had a … Continue reading
Posted in CakePHP, PHP
Leave a comment