Skip to content

Commit 9705c16

Browse files
committed
✨ add the true() method
Signed-off-by: otengkwame <developerkwame@gmail.com>
1 parent 9bc543c commit 9705c16

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CodeIgniter/Framework/libraries/Form_validation.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,19 @@ public function check($group = '')
585585
return $this->run($group);
586586
}
587587

588+
/**
589+
* Alias to the run() method
590+
*
591+
* This function does all the work.
592+
*
593+
* @param string $group
594+
* @return bool
595+
*/
596+
public function true($group = '')
597+
{
598+
return $this->run($group);
599+
}
600+
588601
// --------------------------------------------------------------------
589602

590603
/**

0 commit comments

Comments
 (0)