Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('SYSPATH') or die('No direct script access.');
- class Model_Bla extends ORM {
- public function rules()
- {
- return array(
- 'phone_one' => array(
- array('at_least', array($this, 1, array('phone_one', 'phone_two', 'phone_three'))),
- ),
- 'phone_two' => array(
- array('at_least', array($this, 1, array('phone_one', 'phone_two', 'phone_three'))),
- ),
- 'phone_three' => array(
- array('at_least', array($this, 1, array('phone_one', 'phone_two', 'phone_three'))),
- ),
- );
- }
- }
Add Comment
Please, Sign In to add comment