2017-05-22 03:04:32 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
define("MESSAGES", [
|
|
|
|
"invalid_parameters" => [
|
|
|
|
"string" => "invalid parameters",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"account_state_error" => [
|
|
|
|
"string" => "account state error",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"404_error" => [
|
|
|
|
"string" => "page not found",
|
|
|
|
"type" => "info"
|
2017-05-26 00:09:42 -06:00
|
|
|
],
|
|
|
|
"invalid_userid" => [
|
|
|
|
"string" => "invalid userid",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"user_saved" => [
|
|
|
|
"string" => "user saved",
|
|
|
|
"type" => "success"
|
2017-05-27 19:32:12 -06:00
|
|
|
],
|
|
|
|
"user_deleted" => [
|
|
|
|
"string" => "user deleted",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"user_not_exists" => [
|
|
|
|
"string" => "user does not exist",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"log_cleared" => [
|
|
|
|
"string" => "log cleared",
|
|
|
|
"type" => "success"
|
2017-05-27 23:55:19 -06:00
|
|
|
],
|
|
|
|
"relationship_added" => [
|
|
|
|
"string" => "relationship added",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"relationship_deleted" => [
|
|
|
|
"string" => "relationship deleted",
|
|
|
|
"type" => "success"
|
2017-05-28 23:24:56 -06:00
|
|
|
],
|
|
|
|
"permission_not_exists" => [
|
|
|
|
"string" => "permission does not exist",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"permission_added" => [
|
|
|
|
"string" => "permission added",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"permission_deleted" => [
|
|
|
|
"string" => "permission deleted",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
2017-05-22 03:04:32 -06:00
|
|
|
]);
|