Modules | |
Caching Module | |
This file is part of Zigmoyd PHP Framework. | |
Data Structures | |
class | rewriteMapParser |
Rewrite Map Parser. More... | |
class | Embed |
class | zigController |
Zigmoyd's Controller. More... | |
Functions | |
triggeredErr ($fieldName, &$handle) | |
Unknown. | |
Variables | |
global | $request |
An Instance of zRom Class. |
This Module handles Application Components Controllers, Models, Views etc..
Copyright (C) 2008 Neel Basu (Sunanda Bose)
Zigmoyd PHP Framework is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Zigmoyd PHP Framework is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with Zigmoyd PHP Framework. If not, see <http://www.gnu.org/licenses/>.
This Module handles Application Components Controllers, Models, Views etc..
triggeredErr | ( | $ | fieldName, | |
&$ | handle | |||
) |
Unknown.
$fieldName | unknown | |
$handle | unknown |
Definition at line 1388 of file zigController.php.
References perror().
01388 { 01389 if(!$handle->is_submited)return false; 01390 if(!isset($handle->{$fieldName})){ 01391 perror("<code>zigmoyd.rom.triggeredErr()</code><br />Field $fieldName doesnt exists on your HTML or not found on your Validation Map"); 01392 return false; 01393 } 01394 if(!$handle->{$fieldName}->isValid){ 01395 return $handle->{$fieldName}->err_msg; 01396 } 01397 }
global $request |