Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenvanvliet committed Feb 16, 2008
1 parent fa6000e commit 61e3c61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MY_Forge.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

class Forge extends Forge_Core {
//Fetches error message for the function see i18n/*/validation.php for names
//$args can be array or string, first value will be the name of the field
public function error_message($func,$args)
{

Expand All @@ -24,6 +26,7 @@ public function error_message($func,$args)

return $error;
}
//gets set attributes
public function get_attr($attr)
{
if(array_key_exists($attr,$this->attr))
Expand Down

0 comments on commit 61e3c61

Please sign in to comment.