Created
May 14, 2013 22:00
-
-
Save smolak/5579978 to your computer and use it in GitHub Desktop.
ZFCRUD Users mapper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Admin_Model_Mapper_Roles extends ZFCrud_Model_Mapper_Abstract | |
{ | |
protected $messages = array( | |
self::MESSAGE_CREATE_FAILURE => 'User couldn\'t be added.', | |
self::MESSAGE_CREATE_SUCCESS => 'User added.', | |
self::MESSAGE_DELETE_FAILURE => 'User couldn\'t be deleted.', | |
self::MESSAGE_DELETE_SUCCESS => 'User deleted.', | |
self::MESSAGE_UPDATE_FAILURE => 'User data couldn\'t be changed.', | |
self::MESSAGE_UPDATE_SUCCESS => 'User data changed.', | |
self::MESSAGE_NO_RECORD_EXISTS => 'This uesr doesn\'t exist.' | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment