Changeset 6359
- Timestamp:
- 08/12/08 07:26:35 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contributed_modules/modules/isymphony/isymphony-php-library/library/classes.php
r5878 r6359 4 4 *Author : Michael Yara 5 5 *Created : June 15, 2008 6 *Last Updated : June 18, 20087 *History : 0. 1Beta6 *Last Updated : August 11, 2008 7 *History : 0.2 Beta 8 8 *Purpose : Contains declarations of all property classes. 9 9 *Copyright : 2008 HEHE Enterprises, LLC … … 26 26 27 27 //Property attributes 28 public$client_port = "";29 public$cli_port = "";30 public$username = "";31 public$password = "";28 var $client_port = ""; 29 var $cli_port = ""; 30 var $username = ""; 31 var $password = ""; 32 32 33 33 //Methods 34 publicfunction update() {34 function update() { 35 35 36 36 global $serverPropertyArray; … … 77 77 78 78 //Mode attributes 79 public$original_name = "";80 81 //Property attributes 82 public$name = "";83 public$admin_password = "";84 public$asterisk_host = "";85 public$asterisk_port = "";86 public$asterisk_login = "";87 public$asterisk_password = "";88 public$originate_timeout = "";89 public$jabber_host = "";90 public$jabber_port = "";91 92 //Methods 93 publicfunction update() {79 var $original_name = ""; 80 81 //Property attributes 82 var $name = ""; 83 var $admin_password = ""; 84 var $asterisk_host = ""; 85 var $asterisk_port = ""; 86 var $asterisk_login = ""; 87 var $asterisk_password = ""; 88 var $originate_timeout = ""; 89 var $jabber_host = ""; 90 var $jabber_port = ""; 91 92 //Methods 93 function update() { 94 94 95 95 global $locationPropertyArray; … … 119 119 } 120 120 121 publicfunction add() {121 function add() { 122 122 123 123 global $locationPropertyArray; … … 177 177 178 178 //Mode attributes 179 public$mode_location = "";180 public$original_name = "";181 182 //Property attributes 183 public$name = "";184 public$admin_password = "";185 public$originating_context = "";186 public$redirecting_context = "";187 public$music_on_hold_class = "";188 public$outside_line_number = "";189 public$record_file_name = "";190 public$record_file_extension = "";191 public$mix_mode = "";192 193 //Methods 194 publicfunction update() {179 var $mode_location = ""; 180 var $original_name = ""; 181 182 //Property attributes 183 var $name = ""; 184 var $admin_password = ""; 185 var $originating_context = ""; 186 var $redirecting_context = ""; 187 var $music_on_hold_class = ""; 188 var $outside_line_number = ""; 189 var $record_file_name = ""; 190 var $record_file_extension = ""; 191 var $mix_mode = ""; 192 193 //Methods 194 function update() { 195 195 196 196 global $tenantPropertyArray; … … 220 220 } 221 221 222 publicfunction add($location) {222 function add($location) { 223 223 224 224 global $tenantPropertyArray; … … 278 278 279 279 //Mode attributes 280 public$mode_location = "";281 public$mode_tenant = "";282 public$original_extension_val = "";283 284 //Property attributes 285 public$extension_val = "";286 public$name = "";287 public$cell_phone = "";288 public$email = "";289 public$peer = "";290 public$alt_origination_method = "";291 public$voice_mail = "";292 public$agent = "";293 294 //Methods 295 publicfunction update() {280 var $mode_location = ""; 281 var $mode_tenant = ""; 282 var $original_extension_val = ""; 283 284 //Property attributes 285 var $extension_val = ""; 286 var $name = ""; 287 var $cell_phone = ""; 288 var $email = ""; 289 var $peer = ""; 290 var $alt_origination_method = ""; 291 var $voice_mail = ""; 292 var $agent = ""; 293 294 //Methods 295 function update() { 296 296 297 297 global $extensionPropertyArray; … … 321 321 } 322 322 323 publicfunction add($location, $tenant) {323 function add($location, $tenant) { 324 324 325 325 global $extensionPropertyArray; … … 377 377 378 378 //Mode attributes 379 public$mode_location = "";380 public$mode_tenant = "";381 public$original_name = "";382 383 //Property attributes 384 public$name = "";385 public$password = "";386 public$jabber_user_name = "";387 public$jabber_password = "";388 public$can_view_everyone_directory = "";389 390 //Methods 391 publicfunction update() {379 var $mode_location = ""; 380 var $mode_tenant = ""; 381 var $original_name = ""; 382 383 //Property attributes 384 var $name = ""; 385 var $password = ""; 386 var $jabber_user_name = ""; 387 var $jabber_password = ""; 388 var $can_view_everyone_directory = ""; 389 390 //Methods 391 function update() { 392 392 393 393 global $profilePropertyArray; … … 417 417 } 418 418 419 publicfunction add($location, $tenant) {419 function add($location, $tenant) { 420 420 421 421 global $profilePropertyArray; … … 472 472 473 473 //Mode attributes 474 public$mode_location = "";475 public$mode_tenant = "";476 public$original_name = "";477 478 //Property attributes 479 public$name = "";480 public$queue_val = "";481 public$extension_val = "";482 public$context = "";483 484 //Methods 485 publicfunction update() {474 var $mode_location = ""; 475 var $mode_tenant = ""; 476 var $original_name = ""; 477 478 //Property attributes 479 var $name = ""; 480 var $queue_val = ""; 481 var $extension_val = ""; 482 var $context = ""; 483 484 //Methods 485 function update() { 486 486 487 487 global $queuePropertyArray; … … 511 511 } 512 512 513 publicfunction add($location, $tenant) {513 function add($location, $tenant) { 514 514 515 515 global $queuePropertyArray; … … 574 574 575 575 //Mode attributes 576 public$mode_location = "";577 public$mode_tenant = "";578 public$original_name = "";579 580 //Property attributes 581 public$name = "";582 public$predefined = "";583 public$room_number = "";584 public$extension_val = "";585 public$context = "";586 public$announce_user_count = "";587 public$music_on_hold_for_single_user = "";588 public$exit_room_via_pound = "";589 public$present_menu_via_star = "";590 public$announce_user_join_leave = "";591 public$disable_join_leave_notification = "";592 public$record = "";593 594 //Methods 595 publicfunction update() {576 var $mode_location = ""; 577 var $mode_tenant = ""; 578 var $original_name = ""; 579 580 //Property attributes 581 var $name = ""; 582 var $predefined = ""; 583 var $room_number = ""; 584 var $extension_val = ""; 585 var $context = ""; 586 var $announce_user_count = ""; 587 var $music_on_hold_for_single_user = ""; 588 var $exit_room_via_pound = ""; 589 var $present_menu_via_star = ""; 590 var $announce_user_join_leave = ""; 591 var $disable_join_leave_notification = ""; 592 var $record = ""; 593 594 //Methods 595 function update() { 596 596 597 597 global $conferenceRoomPropertyArray; … … 621 621 } 622 622 623 publicfunction add($location, $tenant) {623 function add($location, $tenant) { 624 624 625 625 global $conferenceRoomPropertyArray; … … 673 673 674 674 //Mode attributes 675 public$mode_location = "";676 public$mode_tenant = "";677 public$original_name = "";678 679 //Property attributes 680 public$name = "";681 682 //Methods 683 publicfunction update() {675 var $mode_location = ""; 676 var $mode_tenant = ""; 677 var $original_name = ""; 678 679 //Property attributes 680 var $name = ""; 681 682 //Methods 683 function update() { 684 684 685 685 global $permissionGroupPropertyArray; … … 709 709 } 710 710 711 publicfunction add($location, $tenant) {711 function add($location, $tenant) { 712 712 713 713 global $permissionGroupPropertyArray; … … 761 761 762 762 //Mode attributes 763 public$mode_location = "";764 public$mode_tenant = "";765 public$original_name = "";766 767 //Property attributes 768 public$name = "";769 public$type = "";770 771 //Methods 772 publicfunction update() {763 var $mode_location = ""; 764 var $mode_tenant = ""; 765 var $original_name = ""; 766 767 //Property attributes 768 var $name = ""; 769 var $type = ""; 770 771 //Methods 772 function update() { 773 773 774 774 global $statusPropertyArray; … … 798 798 } 799 799 800 publicfunction add($location, $tenant) {800 function add($location, $tenant) { 801 801 802 802 global $statusPropertyArray; … … 859 859 860 860 //Property attributes 861 public$call_voice_mail = "";862 public$hold_calls = "";863 public$transfer_call_to_voice_mail = "";864 public$mute = "";865 public$record = "";866 public$hangup = "";867 public$set_user_status_note = "";868 public$call_cell_phone = "";869 public$add_extension_directory = "";870 public$set_user_status = "";871 public$transfer_call_to_cell_phone = "";872 public$agent_login = "";873 public$add_temp_meetme_room = "";874 875 //Methods 876 publicfunction update() {861 var $call_voice_mail = ""; 862 var $hold_calls = ""; 863 var $transfer_call_to_voice_mail = ""; 864 var $mute = ""; 865 var $record = ""; 866 var $hangup = ""; 867 var $set_user_status_note = ""; 868 var $call_cell_phone = ""; 869 var $add_extension_directory = ""; 870 var $set_user_status = ""; 871 var $transfer_call_to_cell_phone = ""; 872 var $agent_login = ""; 873 var $add_temp_meetme_room = ""; 874 875 //Methods 876 function update() { 877 877 878 878 global $localPermissionPropertyArray; … … 925 925 926 926 //Property attributes 927 public$call_voice_mail = "";928 public$transfer_to = "";929 public$transfer_call_to_voice_mail = "";930 public$steal_call = "";931 public$record = "";932 public$originate_to = "";933 public$email = "";934 public$call_cell_phone = "";935 public$barge = "";936 public$transfer_call_to_cell_phone = "";937 public$chat = "";938 public$agent_login = "";939 public$view_calls = "";940 public$view_caller_id = "";941 942 //Methods 943 publicfunction update() {927 var $call_voice_mail = ""; 928 var $transfer_to = ""; 929 var $transfer_call_to_voice_mail = ""; 930 var $steal_call = ""; 931 var $record = ""; 932 var $originate_to = ""; 933 var $email = ""; 934 var $call_cell_phone = ""; 935 var $barge = ""; 936 var $transfer_call_to_cell_phone = ""; 937 var $chat = ""; 938 var $agent_login = ""; 939 var $view_calls = ""; 940 var $view_caller_id = ""; 941 942 //Methods 943 function update() { 944 944 945 945 global $remotePermissionPropertyArray; … … 981 981 982 982 //Property attributes 983 public$park_call = "";984 public$set_parked_call_note = "";985 public$unpark_call = "";986 987 //Methods 988 publicfunction update() {983 var $park_call = ""; 984 var $set_parked_call_note = ""; 985 var $unpark_call = ""; 986 987 //Methods 988 function update() { 989 989 990 990 global $parkPermissionPropertyArray; … … 1025 1025 1026 1026 //Property attributes 1027 public$transfer_to = "";1028 public$steal_call = "";1027 var $transfer_to = ""; 1028 var $steal_call = ""; 1029 1029 1030 1030 //Methods 1031 publicfunction update() {1031 function update() { 1032 1032 1033 1033 global $queuePermissionPropertyArray; … … 1071 1071 1072 1072 //Property attributes 1073 public$steal_call = "";1074 public$transfer_to = "";1075 public$originate_to = "";1076 public$mute_users = "";1077 public$kick_users = "";1078 1079 //Methods 1080 publicfunction update() {1073 var $steal_call = ""; 1074 var $transfer_to = ""; 1075 var $originate_to = ""; 1076 var $mute_users = ""; 1077 var $kick_users = ""; 1078 1079 //Methods 1080 function update() { 1081 1081 1082 1082 global $conferenceRoomPermissionPropertyArray; … … 1128 1128 1129 1129 //Mode attributes 1130 public$mode_location = "";1131 public$mode_tenant = "";1132 public$mode_group = "";1133 1134 //Property attributes 1135 public$call_voice_mail = "";1136 public$hold_calls = "";1137 public$transfer_call_to_voice_mail = "";1138 public$mute = "";1139 public$record = "";1140 public$hangup = "";1141 public$set_user_status_note = "";1142 public$call_cell_phone = "";1143 public$add_extension_directory = "";1144 public$set_user_status = "";1145 public$transfer_call_to_cell_phone = "";1146 public$agent_login = "";1147 public$add_temp_meetme_room = "";1148 1149 //Methods 1150 publicfunction update() {1130 var $mode_location = ""; 1131 var $mode_tenant = ""; 1132 var $mode_group = ""; 1133 1134 //Property attributes 1135 var $call_voice_mail = ""; 1136 var $hold_calls = ""; 1137 var $transfer_call_to_voice_mail = ""; 1138 var $mute = ""; 1139 var $record = ""; 1140 var $hangup = ""; 1141 var $set_user_status_note = ""; 1142 var $call_cell_phone = ""; 1143 var $add_extension_directory = ""; 1144 var $set_user_status = ""; 1145 var $transfer_call_to_cell_phone = ""; 1146 var $agent_login = ""; 1147 var $add_temp_meetme_room = ""; 1148 1149 //Methods 1150 function update() { 1151 1151 1152 1152 global $localPermissionPropertyArray; … … 1188 1188 1189 1189 //Mode attributes 1190 public$mode_location = "";1191 public$mode_tenant = "";1192 public$mode_group = "";1193 1194 //Property attributes 1195 public$park_call = "";1196 public$set_parked_call_note = "";1197 public$unpark_call = "";1198 1199 //Methods 1200 publicfunction update() {1190 var $mode_location = ""; 1191 var $mode_tenant = ""; 1192 var $mode_group = ""; 1193 1194 //Property attributes 1195 var $park_call = ""; 1196 var $set_parked_call_note = ""; 1197 var $unpark_call = ""; 1198 1199 //Methods 1200 function update() { 1201 1201 1202 1202 global $parkPermissionPropertyArray; … … 1252 1252 1253 1253 //Mode attributes 1254 public$mode_location = "";1255 public$mode_tenant = "";1256 public$mode_group = "";1257 public$mode_extension = "";1258 1259 //Property attributes 1260 public$call_voice_mail = "";1261 public$transfer_to = "";1262 public$transfer_call_to_voice_mail = "";1263 public$steal_call = "";1264 public$record = "";1265 public$originate_to = "";1266 public$email = "";1267 public$call_cell_phone = "";1268 public$barge = "";1269 public$transfer_call_to_cell_phone = "";1270 public$chat = "";1271 public$agent_login = "";1272 public$view_calls = "";1273 public$view_caller_id = "";1274 1275 //Methods 1276 publicfunction update() {1254 var $mode_location = ""; 1255 var $mode_tenant = ""; 1256 var $mode_group = ""; 1257 var $mode_extension = ""; 1258 1259 //Property attributes 1260 var $call_voice_mail = ""; 1261 var $transfer_to = ""; 1262 var $transfer_call_to_voice_mail = ""; 1263 var $steal_call = ""; 1264 var $record = ""; 1265 var $originate_to = ""; 1266 var $email = ""; 1267 var $call_cell_phone = ""; 1268 var $barge = ""; 1269 var $transfer_call_to_cell_phone = ""; 1270 var $chat = ""; 1271 var $agent_login = ""; 1272 var $view_calls = ""; 1273 var $view_caller_id = ""; 1274 1275 //Methods 1276 function update() { 1277 1277 1278 1278 global $remotePermissionPropertyArray; … … 1298 1298 } 1299 1299 1300 publicfunction add($location, $tenant, $group, $extension) {1300 function add($location, $tenant, $group, $extension) { 1301 1301 1302 1302 global $remotePermissionPropertyArray; … … 1352 1352 1353 1353 //Mode attributes 1354 public$mode_location = "";1355 public$mode_tenant = "";1356 public$mode_group = "";1357 public$mode_queue = "";1358 1359 //Property attributes 1360 public$transfer_to = "";1361 public$steal_call = "";1362 1363 //Methods 1364 publicfunction update() {1354 var $mode_location = ""; 1355 var $mode_tenant = ""; 1356 var $mode_group = ""; 1357 var $mode_queue = ""; 1358 1359 //Property attributes 1360 var $transfer_to = ""; 1361 var $steal_call = ""; 1362 1363 //Methods 1364 function update() { 1365 1365 1366 1366 global $queuePermissionPropertyArray; … … 1386 1386 } 1387 1387 1388 publicfunction add($location, $tenant, $group, $queue) {1388 function add($location, $tenant, $group, $queue) { 1389 1389 1390 1390 global $queuePermissionPropertyArray; … … 1443 1443 1444 1444 //Mode attributes 1445 public$mode_location = "";1446 public$mode_tenant = "";1447 public$mode_group = "";1448 public$mode_room = "";1449 1450 //Property attributes 1451 public$steal_call = "";1452 public$transfer_to = "";1453 public$originate_to = "";1454 public$mute_users = "";1455 public$kick_users = "";1456 1457 //Methods 1458 publicfunction update() {1445 var $mode_location = ""; 1446 var $mode_tenant = ""; 1447 var $mode_group = ""; 1448 var $mode_room = ""; 1449 1450 //Property attributes 1451 var $steal_call = ""; 1452 var $transfer_to = ""; 1453 var $originate_to = ""; 1454 var $mute_users = ""; 1455 var $kick_users = ""; 1456 1457 //Methods 1458 function update() { 1459 1459 1460 1460 global $conferenceRoomPermissionPropertyArray; … … 1480 1480 } 1481 1481 1482 publicfunction add($location, $tenant, $group, $room) {1482 function add($location, $tenant, $group, $room) { 1483 1483 1484 1484 global $conferenceRoomPermissionPropertyArray; … … 1542 1542 1543 1543 //Mode attributes 1544 public$mode_location = "";1545 public$mode_tenant = "";1546 public$mode_profile = "";1547 1548 //Property attributes 1549 public$call_voice_mail = "";1550 public$hold_calls = "";1551 public$transfer_call_to_voice_mail = "";1552 public$mute = "";1553 public$record = "";1554 public$hangup = "";1555 public$set_user_status_note = "";1556 public$call_cell_phone = "";1557 public$add_extension_directory = "";1558 public$set_user_status = "";1559 public$transfer_call_to_cell_phone = "";1560 public$agent_login = "";1561 public$add_temp_meetme_room = "";1562 1563 //Methods 1564 publicfunction update() {1544 var $mode_location = ""; 1545 var $mode_tenant = ""; 1546 var $mode_profile = ""; 1547 1548 //Property attributes 1549 var $call_voice_mail = ""; 1550 var $hold_calls = ""; 1551 var $transfer_call_to_voice_mail = ""; 1552 var $mute = ""; 1553 var $record = ""; 1554 var $hangup = ""; 1555 var $set_user_status_note = ""; 1556 var $call_cell_phone = ""; 1557 var $add_extension_directory = ""; 1558 var $set_user_status = ""; 1559 var $transfer_call_to_cell_phone = ""; 1560 var $agent_login = ""; 1561 var $add_temp_meetme_room = ""; 1562 1563 //Methods 1564 function update() { 1565 1565 1566 1566 global $localPermissionPropertyArray; … … 1602 1602 1603 1603 //Mode attributes 1604 public$mode_location = "";1605 public$mode_tenant = "";1606 public$mode_profilegroup = "";1607 1608 //Property attributes 1609 public$park_call = "";1610 public$set_parked_call_note = "";1611 public$unpark_call = "";1612 1613 //Methods 1614 publicfunction update() {1604 var $mode_location = ""; 1605 var $mode_tenant = ""; 1606 var $mode_profilegroup = ""; 1607 1608 //Property attributes 1609 var $park_call = ""; 1610 var $set_parked_call_note = ""; 1611 var $unpark_call = ""; 1612 1613 //Methods 1614 function update() { 1615 1615 1616 1616 global $parkPermissionPropertyArray; … … 1666 1666 1667 1667 //Mode attributes 1668 public$mode_location = "";1669 public$mode_tenant = "";1670 public$mode_proile = "";1671 public$mode_extension = "";1672 1673 //Property attributes 1674 public$call_voice_mail = "";1675 public$transfer_to = "";1676 public$transfer_call_to_voice_mail = "";1677 public$steal_call = "";1678 public$record = "";1679 public$originate_to = "";1680 public$email = "";1681 public$call_cell_phone = "";1682 public$barge = "";1683 public$transfer_call_to_cell_phone = "";1684 public$chat = "";1685 public$agent_login = "";1686 public$view_calls = "";1687 public$view_caller_id = "";1688 1689 //Methods 1690 publicfunction update() {1668 var $mode_location = ""; 1669 var $mode_tenant = ""; 1670 var $mode_proile = ""; 1671 var $mode_extension = ""; 1672 1673 //Property attributes 1674 var $call_voice_mail = ""; 1675 var $transfer_to = ""; 1676 var $transfer_call_to_voice_mail = ""; 1677 var $steal_call = ""; 1678 var $record = ""; 1679 var $originate_to = ""; 1680 var $email = ""; 1681 var $call_cell_phone = ""; 1682 var $barge = ""; 1683 var $transfer_call_to_cell_phone = ""; 1684 var $chat = ""; 1685 var $agent_login = ""; 1686 var $view_calls = ""; 1687 var $view_caller_id = ""; 1688 1689 //Methods 1690 function update() { 1691 1691 1692 1692 global $remotePermissionPropertyArray; … … 1712 1712 } 1713 1713 1714 publicfunction add($location, $tenant, $profile, $extension) {1714 function add($location, $tenant, $profile, $extension) { 1715 1715 1716 1716 global $remotePermissionPropertyArray; … … 1766 1766 1767 1767 //Mode attributes 1768 public$mode_location = "";1769 public$mode_tenant = "";1770 public$mode_profile = "";1771 public$mode_queue = "";1772 1773 //Property attributes 1774 public$transfer_to = "";1775 public$steal_call = "";1776 1777 //Methods 1778 publicfunction update() {1768 var $mode_location = ""; 1769 var $mode_tenant = ""; 1770 var $mode_profile = ""; 1771 var $mode_queue = ""; 1772 1773 //Property attributes 1774 var $transfer_to = ""; 1775 var $steal_call = ""; 1776 1777 //Methods 1778 function update() { 1779 1779 1780 1780 global $queuePermissionPropertyArray; … … 1800 1800 } 1801 1801 1802 publicfunction add($location, $tenant, $profile, $queue) {1802 function add($location, $tenant, $profile, $queue) { 1803 1803 1804 1804 global $queuePermissionPropertyArray; … … 1857 1857 1858 1858 //Mode attributes 1859 public$mode_location = "";1860 public$mode_tenant = "";1861 public$mode_profile = "";1862 public$mode_room = "";1863 1864 //Property attributes 1865 public$steal_call = "";1866 public$transfer_to = "";1867 public$originate_to = "";1868 public$mute_users = "";1869 public$kick_users = "";1870 1871 //Methods 1872 publicfunction update() {1859 var $mode_location = ""; 1860 var $mode_tenant = ""; 1861 var $mode_profile = ""; 1862 var $mode_room = ""; 1863 1864 //Property attributes 1865 var $steal_call = ""; 1866 var $transfer_to = ""; 1867 var $originate_to = ""; 1868 var $mute_users = ""; 1869 var $kick_users = ""; 1870 1871 //Methods 1872 function update() { 1873 1873 1874 1874 global $conferenceRoomPermissionPropertyArray; … … 1894 1894 } 1895 1895 1896 publicfunction add($location, $tenant, $profile, $room) {1896 function add($location, $tenant, $profile, $room) { 1897 1897 1898 1898 global $conferenceRoomPermissionPropertyArray; contributed_modules/modules/isymphony/module.xml
r6242 r6359 2 2 <rawname>isymphony</rawname> 3 3 <name>iSymphony</name> 4 <version>0. 5</version>4 <version>0.6</version> 5 5 <type>setup</type> 6 6 <category>Modules</category> … … 17 17 <md5sum>junk</md5sum> 18 18 <changelog> 19 0.6 Added support for PHP4 in library. 19 20 0.5 Modified core module code to be more efficient. 20 21 Removed disconnect call from post reload script.
