Yii Framework Forum: where is beforeValidate example - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

where is beforeValidate example

#1 User is offline   DG Esteban A. Pérez 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 35
  • Joined: 16-September 10
  • Location:Bs. As., Argentina

Posted 30 September 2010 - 08:25 AM

Hi Jeff...

I'm reading your book... 2nd time... Yep... (first the digital, and now the paper one)

Yesterday I needed to understand how to use beforeSave, so I searched for it in your book.. I found "beforeValidate", it will help... Page 217... Bingo!...

But some one stolen the example!... And in the first reading I just didn´t see this :$

Pls... Could you paste it here?

Thanks.. Great work!!!

Esteban A. Pérez
(from Argentina)
0

#2 User is offline   jefftulsa 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 168
  • Joined: 06-October 08
  • Location:Austin, TX

Posted 01 October 2010 - 09:17 AM

View PostDG Esteban A. Pérez, on 30 September 2010 - 08:25 AM, said:

Hi Jeff...

I'm reading your book... 2nd time... Yep... (first the digital, and now the paper one)

Yesterday I needed to understand how to use beforeSave, so I searched for it in your book.. I found "beforeValidate", it will help... Page 217... Bingo!...

But some one stolen the example!... And in the first reading I just didn´t see this :$

Pls... Could you paste it here?

Thanks.. Great work!!!

Esteban A. Pérez
(from Argentina)


Hello Esteban,

I believe the example of using the
beforeValidate()
method starts on page 152 of the printed book.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users