26 defined(
'LGV_ANDISOL_CATCHER' ) or die ( 'Cannot Execute Directly' );
30 if (!defined('LGV_ACCESS_CATCHER')) {
31 define(
'LGV_ACCESS_CATCHER', 1);
34 require_once(CO_Config::cobra_main_class_dir().
'/co_cobra.class.php');
36 if ( !defined(
'LGV_LANG_CATCHER') ) {
37 define(
'LGV_LANG_CATCHER', 1);
40 require_once(CO_Config::andisol_lang_class_dir().
'/common.inc.php');
68 $in_read_security_id = 1,
69 $in_write_security_id = NULL
75 if (isset($instance) && ($instance instanceof $in_classname)) {
77 if (!isset($in_read_security_id)) {
78 $in_read_security_id = 1;
82 if (!isset($in_write_security_id) || !intval($in_write_security_id)) {
86 if ($instance->set_read_security_id($in_read_security_id)) {
87 if ($instance->set_write_security_id($in_write_security_id)) {
90 if ($instance->error) {
91 $this->error = $instance->error;
94 $instance->delete_from_db();
97 if ($instance->error) {
98 $this->error = $instance->error;
101 $instance->delete_from_db();
104 if ($instance->error) {
105 $this->error = $instance->error;
108 $instance->delete_from_db();
151 $in_hashed_password = NULL,
152 $in_raw_password = NULL,
155 $this->class_description =
'The main model interface class.';
160 $chameleon_instance =
new CO_Chameleon($in_login_string_id, $in_hashed_password, $in_raw_password, $in_api_key);
161 if (isset($chameleon_instance) && ($chameleon_instance instanceof
CO_Chameleon)) {
162 if ($chameleon_instance->valid) {
163 $this->_chameleon_instance = $chameleon_instance;
165 $login_item = $chameleon_instance->get_login_item();
168 if (isset($login_item) && ($chameleon_instance->god_mode() || ($login_item instanceof
CO_Login_Manager))) {
171 if (isset($cobra_instance) && ($cobra_instance instanceof
CO_Cobra)) {
172 $this->_cobra_instance = $cobra_instance;
173 } elseif (isset($cobra_instance) && ($cobra_instance->error instanceof
LGV_Error)) {
174 $this->error = $cobra_instance->error;
177 } elseif (isset($chameleon_instance) && ($chameleon_instance->error instanceof
LGV_Error)) {
178 $this->error = $chameleon_instance->error;
512 $and_writeable =
false,
516 $ret = $this->
get_chameleon_instance()->generic_search($in_search_parameters, $or_search, $page_size, $initial_page, $and_writeable, $count_only, $ids_only);
534 $in_latitude_degrees,
535 $in_radius_kilometers,
538 $and_writeable =
false,
542 $ret = $this->
generic_search(Array(
'location' => Array(
'longitude' => $in_longitude_degrees,
'latitude' => $in_latitude_degrees,
'radius' => $in_radius_kilometers)),
false, $page_size, $initial_page, $and_writeable, $count_only, $ids_only);
555 $temp = $this->
generic_search(Array(
'access_class' => Array(
'%_User_Collection',
'use_like' => 1)),
false, 0, 0, $and_write);
557 if (isset($temp) && is_array($temp) && count($temp)) {
559 foreach ($temp as $user) {
560 $login_instance = $user->get_login_instance();
561 if ($this->
god() || !$user->is_god()) {
562 array_push($ret, $user);
578 $temp = $this->
generic_search(Array(
'access_class' => Array(
'%_User_Collection',
'use_like' => 1),
'tags' => Array(
'%',
'use_like' => 1)),
false, 0, 0, $and_write);
580 if (isset($temp) && is_array($temp) && count($temp)) {
582 foreach ($temp as $user) {
583 $login_instance = $user->get_login_instance();
585 if ($this->
god() || !$user->is_god()) {
586 array_push($ret, $user);
603 $temp = $this->
generic_search(Array(
'access_class' => Array(
'%_User_Collection',
'use_like' => 1),
'tags' => Array(
'')),
false, 0, 0, $and_write);
605 if (isset($temp) && is_array($temp) && count($temp)) {
607 foreach ($temp as $user) {
608 $login_instance = $user->get_login_instance();
609 if ($this->
god() || !$user->is_god()) {
610 array_push($ret, $user);
627 $in_or_search =
false,
630 $and_writeable =
false,
634 $tags_array = Array();
652 $in_make_user_if_necessary =
false
656 if ($in_make_user_if_necessary && $this->
manager()) {
657 $ret = $this->
get_cobra_instance()->get_user_from_login($in_login_integer_id, $in_make_user_if_necessary);
683 $ret->set_name($generic_name);
702 $in_cleartext_password,
703 $in_create_this_many_personal_ids = 0
705 return $this->
get_cobra_instance()->create_new_standard_login($in_login_id, $in_cleartext_password, $in_create_this_many_personal_ids);
716 $in_cleartext_password,
717 $in_create_this_many_personal_ids = 0
719 return $this->
get_cobra_instance()->create_new_manager_login($in_login_id, $in_cleartext_password, $in_create_this_many_personal_ids);
733 $in_display_name = NULL,
734 $in_security_tokens = NULL,
735 $in_read_security_id = NULL,
737 $in_create_this_many_personal_ids = 0
741 if ($in_login_string_id) {
746 if (!$in_password || (strlen($in_password) < CO_Config::$min_pw_len)) {
747 $in_password = substr(str_shuffle(
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*~_-=+;:,.!?"), 0, CO_Config::$min_pw_len);
751 $login_item = $this->
get_cobra_instance()->create_new_manager_login($in_login_string_id, $in_password, $in_create_this_many_personal_ids);
753 $login_item = $this->
get_cobra_instance()->create_new_standard_login($in_login_string_id, $in_password, $in_create_this_many_personal_ids);
759 if (is_array($in_security_tokens) && count($in_security_tokens)) {
760 $login_item->set_ids($in_security_tokens);
764 $display_name = $in_display_name;
765 if (!$display_name) {
766 $display_name = $in_login_string_id;
770 if ($login_item->set_name($display_name)) {
772 $id = $login_item->id();
775 if (isset($in_read_security_id) && intval($in_read_security_id)) {
776 if (!$user_item->set_read_security_id(intval($in_read_security_id))) {
777 $user_item->delete_from_db();
778 $login_item->delete_from_db();
784 } elseif (!$login_item->set_read_security_id($login_item->id())) {
785 $user_item->delete_from_db();
786 $login_item->delete_from_db();
794 if (!$user_item->set_read_security_id(1)) {
795 $user_item->delete_from_db();
796 $login_item->delete_from_db();
802 } elseif (!$login_item->set_read_security_id($login_item->id())) {
803 $user_item->delete_from_db();
804 $login_item->delete_from_db();
814 if ($user_item->set_name($display_name)) {
815 if ($login_item->set_password_from_cleartext($in_password)) {
818 $user_item->delete_from_db();
819 $login_item->delete_from_db();
827 $user_item->delete_from_db();
828 $login_item->delete_from_db();
840 $user_item->delete_from_db();
845 $login_item->delete_from_db();
855 $login_item->delete_from_db();
869 $login_item->delete_from_db();
899 $with_extreme_prejudice =
false
903 if ($in_login_string_id) {
912 if ($login_item->user_can_write() && $user_item->user_can_write()) {
913 if ($user_item->delete_from_db($with_extreme_prejudice,
true)) {
916 $this->error = $user_item->error;
959 $in_login_string_id = NULL,
960 $in_login_integer_id = NULL
965 $ret = $this->
get_cobra_instance()->get_all_logins($and_write, $in_login_string_id, $in_login_integer_id);
988 $in_is_login_manager =
false
990 return $this->
get_cobra_instance()->convert_login($in_login_id, $in_is_login_manager);
1059 $in_write_security_id = NULL,
1060 $in_classname =
'CO_Main_DB_Record'
1062 return $this->
_create_db_object($in_classname, $in_read_security_id, $in_write_security_id);
1072 $in_read_security_id = 1,
1073 $in_write_security_id = NULL,
1074 $in_classname =
'CO_Collection'
1078 if (isset($in_initial_item_ids) && is_array($in_initial_item_ids) && count($in_initial_item_ids) && isset($ret) && ($ret instanceof
CO_Collection)) {
1084 if (isset($elements) && is_array($elements) && count($elements) && !isset($this->error)) {
1085 if (!$ret->appendElements($elements)) {
1086 $this->error = $ret->error;
1087 $ret->delete_from_db();
1091 $ret->delete_from_db();
1132 $in_classname =
'CO_KeyValue_CO_Collection'
1136 if ($this->
valid()) {
1151 $in_classname =
'CO_KeyValue_CO_Collection'
1164 if ($this->
valid()) {
1178 $in_classname =
'CO_KeyValue_CO_Collection'
1193 $in_classname =
'CO_KeyValue_CO_Collection'
1222 $in_latitude_degrees,
1223 $in_fuzz_factor = NULL,
1232 $in_see_clearly_id = NULL,
1233 $in_read_security_id = 1,
1234 $in_write_security_id = NULL,
1235 $in_classname =
'CO_LL_Location'
1243 if ($instance->set_longitude($in_longitude_degrees)) {
1244 if ($instance->set_latitude($in_latitude_degrees)) {
1245 if (isset($in_fuzz_factor) && (0.0 < floatval($in_fuzz_factor))) {
1246 if ($instance->set_fuzz_factor($in_fuzz_factor)) {
1247 if (isset($in_see_clearly_id) && (0 < intval($in_see_clearly_id))) {
1248 if ($instance->set_can_see_through_the_fuzz($in_see_clearly_id)) {
1251 if ($instance->error) {
1252 $this->error = $instance->error;
1255 $instance->delete_from_db();
1261 if ($instance->error) {
1262 $this->error = $instance->error;
1265 $instance->delete_from_db();
1271 if ($instance->error) {
1272 $this->error = $instance->error;
1275 $instance->delete_from_db();
1278 if ($instance->error) {
1279 $this->error = $instance->error;
1282 $instance->delete_from_db();
1286 if ($instance->error) {
1287 $this->error = $instance->error;
1290 $instance->delete_from_db();
1306 $in_street_address = NULL,
1307 $in_municipality = NULL,
1309 $in_province = NULL,
1310 $in_postal_code = NULL,
1312 $in_extra_info = NULL,
1313 $in_longitude_degrees = NULL,
1314 $in_latitude_degrees = NULL,
1315 $in_fuzz_factor = NULL,
1324 $in_see_clearly_id = NULL,
1325 $in_read_security_id = 1,
1326 $in_write_security_id = NULL,
1327 $in_classname =
'CO_Place'
1332 if (((strtoupper($in_nation) ==
'US') || (strtoupper($in_nation) ==
'USA')) && ($in_classname ==
'CO_Place')) {
1333 $in_classname =
'CO_US_Place';
1337 if ($in_classname ==
'CO_US_Place') {
1342 if((isset($in_longitude_degrees) && isset($in_longitude_degrees)) ||
1344 isset($in_street_address) ||
1345 isset($in_municipality) ||
1346 isset($in_county) ||
1347 isset($in_province) ||
1348 isset($in_postal_code) ||
1349 isset($in_nation)) {
1353 if (isset($instance) && ($instance instanceof
CO_Place)) {
1354 $long_lat_explicitly_set =
false;
1355 $address_explicitly_set =
false;
1358 if(isset($in_longitude_degrees) && isset($in_longitude_degrees)) {
1359 if ($instance->set_longitude($in_longitude_degrees)) {
1360 if ($instance->set_latitude($in_latitude_degrees)) {
1361 $long_lat_explicitly_set =
true;
1363 if ($instance->error) {
1364 $this->error = $instance->error;
1367 $instance->delete_from_db();
1371 if ($instance->error) {
1372 $this->error = $instance->error;
1375 $instance->delete_from_db();
1381 if(isset($instance) && isset($in_venue)) {
1382 if ($instance->set_tag(0, $in_venue)) {
1383 $address_explicitly_set =
true;
1385 if ($instance->error) {
1386 $this->error = $instance->error;
1389 $instance->delete_from_db();
1395 if(isset($instance) && isset($in_extra_info)) {
1396 if (!$instance->set_tag(2, $in_extra_info)) {
1397 if ($instance->error) {
1398 $this->error = $instance->error;
1401 $instance->delete_from_db();
1407 if (isset($instance) && (!isset($in_fuzz_factor) || (0.0 == floatval($in_fuzz_factor)))) {
1409 if(isset($instance) && isset($in_street_address)) {
1410 if ($instance->set_tag(1, $in_street_address)) {
1411 $address_explicitly_set =
true;
1413 if ($instance->error) {
1414 $this->error = $instance->error;
1417 $instance->delete_from_db();
1423 if(isset($instance) && isset($in_municipality)) {
1424 if ($instance->set_tag(3, $in_municipality)) {
1425 $address_explicitly_set =
true;
1427 if ($instance->error) {
1428 $this->error = $instance->error;
1431 $instance->delete_from_db();
1437 if(isset($instance) && isset($in_county)) {
1438 if ($instance->set_tag(4, $in_county)) {
1439 $address_explicitly_set =
true;
1441 if ($instance->error) {
1442 $this->error = $instance->error;
1445 $instance->delete_from_db();
1451 if(isset($instance) && isset($in_province)) {
1452 if ($instance->set_tag(5, $in_province)) {
1453 $address_explicitly_set =
true;
1455 if ($instance->error) {
1456 $this->error = $instance->error;
1459 $instance->delete_from_db();
1465 if(isset($instance) && isset($in_postal_code)) {
1466 if ($instance->set_tag(6, $in_postal_code)) {
1467 $address_explicitly_set =
true;
1469 if ($instance->error) {
1470 $this->error = $instance->error;
1473 $instance->delete_from_db();
1479 if(isset($instance) && isset($in_nation)) {
1480 if ($instance->set_tag(7, $in_nation)) {
1481 $address_explicitly_set =
true;
1483 if ($instance->error) {
1484 $this->error = $instance->error;
1487 $instance->delete_from_db();
1491 } elseif (isset($instance)) {
1492 $auto_resolve =
false;
1494 if ($instance->set_fuzz_factor($in_fuzz_factor)) {
1495 if (isset($in_see_clearly_id) && (0 < intval($in_see_clearly_id))) {
1496 if (!$instance->set_can_see_through_the_fuzz($in_see_clearly_id)) {
1497 if ($instance->error) {
1498 $this->error = $instance->error;
1501 $instance->delete_from_db();
1506 if ($instance->error) {
1507 $this->error = $instance->error;
1510 $instance->delete_from_db();
1516 if (isset($instance)) {
1517 $instance->set_address_elements($instance->tags(),
true);
1520 if ($auto_resolve && !$long_lat_explicitly_set && CO_Config::$google_api_key) {
1521 $long_lat = $instance->lookup_address();
1523 if (isset($long_lat) && is_array($long_lat) && (1 < count($long_lat))) {
1524 if ($instance->set_longitude($long_lat[
'longitude'])) {
1525 if ($instance->set_latitude($long_lat[
'latitude'])) {
1528 if ($instance->error) {
1529 $this->error = $instance->error;
1532 $instance->delete_from_db();
1536 if ($instance->error) {
1537 $this->error = $instance->error;
1540 $instance->delete_from_db();
1544 if ($instance->error) {
1545 $this->error = $instance->error;
1548 $instance->delete_from_db();
1556 if ($ret && $auto_resolve && !$address_explicitly_set && CO_Config::$google_api_key) {
1558 $address = $instance->geocode_long_lat();
1559 if (isset($address) && is_array($address) && (0 < count($address))) {
1560 for ($i = 0; $i < 8; $i++) {
1561 eval(
"\$key = CO_CHAMELEON_Lang::\$chameleon_co_place_tag_$i;");
1563 if (isset($address[$key]) && trim($address[$key])) {
1564 if (!$instance->set_tag($i, trim($address[$key]))) {
1565 if ($instance->error) {
1566 $this->error = $instance->error;
1569 $instance->delete_from_db();
1577 if (isset($instance)) {
1579 $instance->set_address_elements($instance->tags(),
true);
1583 if ($instance->error) {
1584 $this->error = $instance->error;
1587 $instance->delete_from_db();
1618 $in_latitude_degrees,
1619 $in_fuzz_factor = NULL,
1628 $in_see_clearly_id = NULL,
1629 $in_read_security_id = 1,
1630 $in_write_security_id = NULL,
1631 $in_classname =
'CO_Place'
1633 return $this->
create_place(
true, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, $in_longitude_degrees, $in_latitude_degrees, $in_fuzz_factor, $in_see_clearly_id, $in_read_security_id, $in_write_security_id, $in_classname);
1644 $in_latitude_degrees,
1645 $in_fuzz_factor = NULL,
1654 $in_see_clearly_id = NULL,
1655 $in_read_security_id = 1,
1656 $in_write_security_id = NULL
1658 return $this->
create_place(
true, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, $in_longitude_degrees, $in_latitude_degrees, $in_fuzz_factor, $in_see_clearly_id, $in_read_security_id, $in_write_security_id,
'CO_US_Place');
1670 $in_street_address = NULL,
1671 $in_municipality = NULL,
1673 $in_province = NULL,
1674 $in_postal_code = NULL,
1676 $in_extra_info = NULL,
1677 $in_longitude_degrees = NULL,
1678 $in_latitude_degrees = NULL,
1679 $in_fuzz_factor = NULL,
1688 $in_see_clearly_id = NULL,
1689 $in_read_security_id = 1,
1690 $in_write_security_id = NULL
1692 $class =
'CO_Place_Collection';
1695 if ((strtoupper($in_nation) ==
'US') || (strtoupper($in_nation) ==
'USA')) {
1696 $class =
'CO_US_Place_Collection';
1700 return $this->
create_place($auto_resolve, $in_venue, $in_street_address, $in_municipality, $in_county, $in_province, $in_postal_code, NULL, NULL, $in_longitude_degrees, $in_latitude_degrees, $in_fuzz_factor, $in_see_clearly_id, $in_read_security_id, $in_write_security_id, $class);
1784 return $this->
get_chameleon_instance()->get_all_login_objects_with_access($in_security_token, $and_write);
1861 $in_personal_ids = []
1863 return $this->
get_cobra_instance()->set_personal_ids($in_login_id, $in_personal_ids);
if(!defined( 'LGV_ACCESS_CATCHER'))
const __ANDISOL_VERSION__
get_login_item_by_login_string( $in_login_string_id)
is_this_a_personal_id( $in_id)
location_search( $in_longitude_degrees, $in_latitude_degrees, $in_radius_kilometers, $page_size=0, $initial_page=0, $and_writeable=false, $count_only=false, $ids_only=false)
can_i_see_this_data_record( $in_id)
create_collection( $in_initial_item_ids=[], $in_read_security_id=1, $in_write_security_id=NULL, $in_classname='CO_Collection')
create_general_data_item( $in_read_security_id=1, $in_write_security_id=NULL, $in_classname='CO_Main_DB_Record')
set_personal_ids( $in_login_id, $in_personal_ids=[])
_create_db_object( $in_classname, $in_read_security_id=1, $in_write_security_id=NULL)
get_multiple_data_records_by_id( $in_id_array)
get_logins_that_have_any_of_my_ids()
create_ll_location( $in_longitude_degrees, $in_latitude_degrees, $in_fuzz_factor=NULL, $in_see_clearly_id=NULL, $in_read_security_id=1, $in_write_security_id=NULL, $in_classname='CO_LL_Location')
get_login_item( $in_login_integer_id=NULL)
get_remaining_time($in_login_id=NULL)
convert_login( $in_login_id, $in_is_login_manager=false)
delete_item_by_id( $in_item_id_integer)
__construct( $in_login_string_id=NULL, $in_hashed_password=NULL, $in_raw_password=NULL, $in_api_key=NULL)
count_all_login_objects_with_access($in_security_token)
delete_key( $in_key, $in_classname='CO_KeyValue_CO_Collection')
get_all_user_objects_with_access( $in_security_token)
check_login_exists_by_login_string( $in_login_id_string)
make_new_blank_record( $in_classname)
create_place_collection($auto_resolve=true, $in_venue=NULL, $in_street_address=NULL, $in_municipality=NULL, $in_county=NULL, $in_province=NULL, $in_postal_code=NULL, $in_nation=NULL, $in_extra_info=NULL, $in_longitude_degrees=NULL, $in_latitude_degrees=NULL, $in_fuzz_factor=NULL, $in_see_clearly_id=NULL, $in_read_security_id=1, $in_write_security_id=NULL)
who_can_see( $in_test_target)
get_all_login_objects_with_access( $in_security_token, $and_write=false)
create_ll_place($in_longitude_degrees, $in_latitude_degrees, $in_fuzz_factor=NULL, $in_see_clearly_id=NULL, $in_read_security_id=1, $in_write_security_id=NULL, $in_classname='CO_Place')
get_object_for_key( $in_key)
create_new_user( $in_login_string_id, $in_password=NULL, $in_display_name=NULL, $in_security_tokens=NULL, $in_read_security_id=NULL, $is_manager=false, $in_create_this_many_personal_ids=0)
i_have_this_token( $in_token_to_test)
create_ll_us_place( $in_longitude_degrees, $in_latitude_degrees, $in_fuzz_factor=NULL, $in_see_clearly_id=NULL, $in_read_security_id=1, $in_write_security_id=NULL)
add_personal_token_from_current_login( $in_to_id, $in_id)
get_user_from_login( $in_login_integer_id=NULL, $in_make_user_if_necessary=false)
get_single_data_record_by_id( $in_id)
$_chameleon_instance
This is the CHAMELEON instance.
create_place( $auto_resolve=true, $in_venue=NULL, $in_street_address=NULL, $in_municipality=NULL, $in_county=NULL, $in_province=NULL, $in_postal_code=NULL, $in_nation=NULL, $in_extra_info=NULL, $in_longitude_degrees=NULL, $in_latitude_degrees=NULL, $in_fuzz_factor=NULL, $in_see_clearly_id=NULL, $in_read_security_id=1, $in_write_security_id=NULL, $in_classname='CO_Place')
get_user_from_login_string( $in_login_string_id)
$_cobra_instance
This is the COBRA instance.
create_new_manager_login( $in_login_id, $in_cleartext_password, $in_create_this_many_personal_ids=0)
get_all_login_users( $and_write=false)
remove_personal_token_from_this_login( $in_to_id, $in_id)
get_security_access_class_by_id( $in_id)
get_all_users( $and_write=false)
set_value_for_key( $in_key, $in_value, $in_classname='CO_KeyValue_CO_Collection')
delete_user( $in_login_string_id, $with_extreme_prejudice=false)
get_all_personal_ids_except_for_id( $in_id=0)
create_new_standard_login( $in_login_id, $in_cleartext_password, $in_create_this_many_personal_ids=0)
tag_search( $in_tags_associative_array, $in_or_search=false, $page_size=0, $initial_page=0, $and_writeable=false, $count_only=false, $ids_only=false)
$version
The version indicator.
generic_search( $in_search_parameters=NULL, $or_search=false, $page_size=0, $initial_page=0, $and_writeable=false, $count_only=false, $ids_only=false)
key_is_unique( $in_key, $in_classname='CO_KeyValue_CO_Collection')
get_all_standalone_users( $and_write=false)
is_this_a_login_id( $in_id)
get_all_logins( $and_write=false, $in_login_string_id=NULL, $in_login_integer_id=NULL)
get_value_for_key( $in_key, $in_classname='CO_KeyValue_CO_Collection')
can_i_see_this_security_record( $in_id)
get_personal_security_ids()
$error
Any errors that occured are kept here.
get_logins_with_personal_ids()
get_data_access_class_by_id( $in_id)
static $andisol_error_code_login_instance_failed_to_initialize
static $andisol_error_code_user_not_authorized
static $andisol_error_code_user_not_deleted
static $andisol_error_code_login_instance_unavailable
static $andisol_error_code_location_failed_to_initialize
static $andisol_error_code_insufficient_location_information
static $andisol_error_code_user_instance_unavailable
static $andisol_error_desc_user_not_deleted
static $andisol_new_unnamed_user_name_format
static $andisol_error_name_user_not_deleted
static $andisol_error_name_login_instance_unavailable
static $andisol_error_name_user_not_authorized
static $andisol_error_name_location_failed_to_initialize
static $andisol_error_desc_login_instance_failed_to_initialize
static $andisol_error_desc_location_failed_to_initialize
static $andisol_error_desc_insufficient_location_information
static $andisol_error_name_insufficient_location_information
static $andisol_error_desc_user_instance_unavailable
static $andisol_error_desc_user_not_authorized
static $andisol_error_name_login_instance_failed_to_initialize
static $andisol_error_desc_login_instance_unavailable
static $andisol_error_name_user_instance_unavailable
static make_cobra($in_chameleon_instance)
This class provides a general error report, with file, method and error information.