matt bin

  • Registered on: 2011-04-25
  • Last connection: 2011-04-30

Activity

Reported issues: 0

2011-04-30

09:20 AM PHP ActiveRecord Help: date validation?
How do you guys validate that the date you recieve is in the right format, in your active record models?
with this ...
07:41 AM PHP ActiveRecord Help: RE: Using null
ok, nice one Yoan.
Tnx for the help:)

2011-04-29

05:15 PM PHP ActiveRecord Help: RE: Using null
ok I figured it out :D
static $validates_format_of = array
(
array('capital_id', 'with' =>'/^([0-9_-])$/i','allow_...
03:40 PM PHP ActiveRecord Help: Using null
Hi I would like to use the validates_format_of validator and make it check not only the regex I give it but allow fo...

2011-04-27

02:04 PM PHP ActiveRecord Help: RE: Find_by_id()
@Bjorn And @ Chris R thank you very much for your solutions.
I will implement it the way you suggest me to:)

2011-04-25

01:21 PM PHP ActiveRecord Help: RE: Find_by_id()
Thank you for responding Bjorn
That model is an active record model for my frontend_news table
the table is made up...
10:21 AM PHP ActiveRecord Help: Find_by_id()
Hi there im tryng to do something like this:
inside my model:
public function update_news($id,$post)
{
$new...

Also available in: Atom